aboutsummaryrefslogtreecommitdiff
path: root/editors/xemacs-devel-mule
diff options
context:
space:
mode:
authorAndrey Slusar <anray@FreeBSD.org>2006-02-10 11:35:02 +0000
committerAndrey Slusar <anray@FreeBSD.org>2006-02-10 11:35:02 +0000
commitfa0f5bbf794013baccd505eda42fdc60e987b0b8 (patch)
treee1b7a26a975f9fa62fdf295c56df692f210308a0 /editors/xemacs-devel-mule
parente07d98134d523ef243d5d2b5e01888cf34835328 (diff)
downloadports-fa0f5bbf794013baccd505eda42fdc60e987b0b8.tar.gz
ports-fa0f5bbf794013baccd505eda42fdc60e987b0b8.zip
Notes
Diffstat (limited to 'editors/xemacs-devel-mule')
-rw-r--r--editors/xemacs-devel-mule/Makefile12
-rw-r--r--editors/xemacs-devel-mule/pkg-plist1
-rw-r--r--editors/xemacs-devel-mule/pkg-plist.arch-dep1
3 files changed, 12 insertions, 2 deletions
diff --git a/editors/xemacs-devel-mule/Makefile b/editors/xemacs-devel-mule/Makefile
index 2b2cb56629b9..c6217f79e1ee 100644
--- a/editors/xemacs-devel-mule/Makefile
+++ b/editors/xemacs-devel-mule/Makefile
@@ -64,7 +64,6 @@ CONFIGURE_ARGS= --enable-mule \
--enable-sound=native \
--with-site-lisp \
--with-pop \
- --with-ldap=no \
--with-infopath=${LOCALBASE}/lib/xemacs/info:${LOCALBASE}/info:${X11BASE}/info:/usr/info:${LOCALBASE}/lib/texmf/doc/info:/usr/lib/texmf/doc:/usr/share/info \
--enable-clash-detection \
--enable-database=berkdb \
@@ -162,7 +161,6 @@ CONFIGURE_ARGS+=--with-athena=xaw
.if exists(${LOCALBASE}/include/libpq-fe.h)
WITH_PGSQL= yes
.endif
-
.if defined(WITH_PGSQL)
USE_PGSQL= yes
PLIST_SUB+= WITH_PGSQL=""
@@ -170,6 +168,16 @@ PLIST_SUB+= WITH_PGSQL=""
PLIST_SUB+= WITH_PGSQL="@comment "
.endif
+.if exists(${LOCALBASE}/include/ldap.h)
+WITH_LDAP= yes
+.endif
+.if defined(WITH_LDAP)
+USE_OPENLDAP= yes
+PLIST_SUB+= WITH_LDAP=""
+.else
+PLIST_SUB+= WITH_LDAP="@comment "
+.endif
+
BINNAMEEXT= -mule
.if defined(CANNA) && defined(FREEWNN)
CONFIGURE_ARGS+= --with-canna --with-wnn --with-wnn6=no
diff --git a/editors/xemacs-devel-mule/pkg-plist b/editors/xemacs-devel-mule/pkg-plist
index acad3206728e..84bdc42c686e 100644
--- a/editors/xemacs-devel-mule/pkg-plist
+++ b/editors/xemacs-devel-mule/pkg-plist
@@ -847,6 +847,7 @@ lib/xemacs-%%XEMACS_VER%%/%%XEMACS_ARCH%%/mmencode
lib/xemacs-%%XEMACS_VER%%/%%XEMACS_ARCH%%/modules/auto-autoloads.el
lib/xemacs-%%XEMACS_VER%%/%%XEMACS_ARCH%%/modules/auto-autoloads.elc
%%WITH_PGSQL%%lib/xemacs-%%XEMACS_VER%%/%%XEMACS_ARCH%%/modules/postgresql.ell
+%%WITH_LDAP%%lib/xemacs-%%XEMACS_VER%%/%%XEMACS_ARCH%%/modules/eldap.ell
%%CANNA%%lib/xemacs-%%XEMACS_VER%%/%%XEMACS_ARCH%%/modules/canna_api.ell
lib/xemacs-%%XEMACS_VER%%/%%XEMACS_ARCH%%/movemail
lib/xemacs-%%XEMACS_VER%%/%%XEMACS_ARCH%%/profile
diff --git a/editors/xemacs-devel-mule/pkg-plist.arch-dep b/editors/xemacs-devel-mule/pkg-plist.arch-dep
index 9d817ea16c1e..379068611b7a 100644
--- a/editors/xemacs-devel-mule/pkg-plist.arch-dep
+++ b/editors/xemacs-devel-mule/pkg-plist.arch-dep
@@ -396,6 +396,7 @@ lib/xemacs-%%XEMACS_VER%%/%%XEMACS_ARCH%%/mmencode
lib/xemacs-%%XEMACS_VER%%/%%XEMACS_ARCH%%/modules/auto-autoloads.el
lib/xemacs-%%XEMACS_VER%%/%%XEMACS_ARCH%%/modules/auto-autoloads.elc
%%WITH_PGSQL%%lib/xemacs-%%XEMACS_VER%%/%%XEMACS_ARCH%%/modules/postgresql.ell
+%%WITH_LDAP%%lib/xemacs-%%XEMACS_VER%%/%%XEMACS_ARCH%%/modules/eldap.ell
%%CANNA%%lib/xemacs-%%XEMACS_VER%%/%%XEMACS_ARCH%%/modules/canna_api.ell
lib/xemacs-%%XEMACS_VER%%/%%XEMACS_ARCH%%/movemail
lib/xemacs-%%XEMACS_VER%%/%%XEMACS_ARCH%%/profile