diff options
Diffstat (limited to 'editors/xemacs')
-rw-r--r-- | editors/xemacs/Makefile | 8 |
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 |