aboutsummaryrefslogtreecommitdiff
path: root/sysutils/am-utils
diff options
context:
space:
mode:
authorDag-Erling Smørgrav <des@FreeBSD.org>2005-04-21 13:46:25 +0000
committerDag-Erling Smørgrav <des@FreeBSD.org>2005-04-21 13:46:25 +0000
commitdf65b389c9e3cd50429417a4162436cc95f11a91 (patch)
tree11c6953ae4d65d33bb27f6c57b72943d9277bc57 /sysutils/am-utils
parent4b5bb63afbebe63135ecfaf147e6bf4192f13540 (diff)
downloadports-df65b389c9e3cd50429417a4162436cc95f11a91.tar.gz
ports-df65b389c9e3cd50429417a4162436cc95f11a91.zip
Considering that this software is in the base system, most people installing
it from ports or packages probably do so because they need LDAP support. Therefore, turn it on by default when PACKAGE_BUILDING.
Notes
Notes: svn path=/head/; revision=133850
Diffstat (limited to 'sysutils/am-utils')
-rw-r--r--sysutils/am-utils/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/sysutils/am-utils/Makefile b/sysutils/am-utils/Makefile
index 57ceba643003..3da2e25a3169 100644
--- a/sysutils/am-utils/Makefile
+++ b/sysutils/am-utils/Makefile
@@ -17,7 +17,7 @@ COMMENT= The Berkeley Automounter Suite of Utilities
INSTALLS_SHLIB= yes
USE_LIBTOOL_VER=15
-.if defined(WITH_OPENLDAP)
+.if defined(WITH_OPENLDAP) || defined(PACKAGE_BUILDING)
USE_OPENLDAP= yes
CONFIGURE_ARGS+= --with-ldap=yes --enable-ldflags=-L${LOCALBASE}/lib --enable-cppflags=-I${LOCALBASE}/include
.endif