summaryrefslogtreecommitdiff
path: root/sysutils/am-utils/Makefile
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/Makefile
parentUpgrade to 3.62 (diff)
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.
Diffstat (limited to 'sysutils/am-utils/Makefile')
-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