summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDag-Erling Smørgrav <des@FreeBSD.org>2018-05-11 10:51:36 +0000
committerDag-Erling Smørgrav <des@FreeBSD.org>2018-05-11 10:51:36 +0000
commit41fa00b12b36990e4c48f95756cb22e962551579 (patch)
tree61320d9d635c05d86853073ce4cb78fe536b3657
parentNew port: devel/p5-Symbol-Get (diff)
Don't set USE_LDCONFIG for child ports. They will do so themselves if
they need it. Also, use PREFIX instead of LOCALBASE. Not bumping PORTREVISION as the only observable effect is the absence of a warning message caused by running ldconfig on a non-existent directory. Approved by: maintainer (mandree@)
Notes
Notes: svn path=/head/; revision=469624
-rw-r--r--sysutils/e2fsprogs/Makefile4
1 files changed, 3 insertions, 1 deletions
diff --git a/sysutils/e2fsprogs/Makefile b/sysutils/e2fsprogs/Makefile
index 7d36497cbf03..d5aaf01442fd 100644
--- a/sysutils/e2fsprogs/Makefile
+++ b/sysutils/e2fsprogs/Makefile
@@ -30,7 +30,9 @@ USE_CSTD= gnu99
# this seems a bit redundant to the --rpath below, but
# the latter should be more robust in case someone needs
# to deal with the file systems from a system not yet fully booted.
-USE_LDCONFIG= ${LOCALBASE}/lib/e2fsprogs
+.if !defined(PKGNAMESUFFIX)
+USE_LDCONFIG= ${PREFIX}/lib/e2fsprogs
+.endif
GNU_CONFIGURE= yes
LLD_UNSAFE= yes
CONFIGURE_ARGS?=--disable-fsck \