summaryrefslogtreecommitdiff
path: root/editors/xemacs
diff options
context:
space:
mode:
authorVolker Stolz <vs@FreeBSD.org>2006-03-17 15:08:39 +0000
committerVolker Stolz <vs@FreeBSD.org>2006-03-17 15:08:39 +0000
commit456bbaed3b423d15772f5625346630a69ec9064b (patch)
tree98f73bb4480db8a99fccbd40ae6e52c2e6a6f779 /editors/xemacs
parentUpdate to 0.4.10 (diff)
Optionally enable OpenLDAP through knob WITH_LDAP
Notes
Notes: svn path=/head/; revision=157497
Diffstat (limited to 'editors/xemacs')
-rw-r--r--editors/xemacs/Makefile8
1 files changed, 7 insertions, 1 deletions
diff --git a/editors/xemacs/Makefile b/editors/xemacs/Makefile
index cdde74bd5d6c..d83ae1ee0433 100644
--- a/editors/xemacs/Makefile
+++ b/editors/xemacs/Makefile
@@ -34,7 +34,6 @@ CONFIGURE_ARGS?=--with-clash-detection \
--with-sound=native,nonas,noesd \
--site-includes=${LOCALBASE}/include \
--site-libraries=${LOCALBASE}/lib \
- --with-ldap=no \
--with-site-lisp \
--with-database=berkdb \
${WITH_SCROLLBARS} ${WITH_DIALOGS} ${WITH_WIDGETS} \
@@ -57,6 +56,13 @@ PLIST_SUB+= PDUMP=""
PLIST_SUB+= PDUMP="@comment "
.endif
+.if defined(WITH_LDAP)
+USE_OPENLDAP= yes
+CONFIGURE_ARGS+= --with-ldap
+.else
+CONFIGURE_ARGS+= --with-ldap=no
+.endif
+
.if !defined(WITHOUT_XEMACS_PACKAGES)
RUN_DEPENDS+= ${LOCALBASE}/lib/xemacs/xemacs-packages/etc/enriched.doc:${PORTSDIR}/editors/xemacs-packages
.endif