aboutsummaryrefslogtreecommitdiffstats
path: root/editors/xemacs-devel-mule
diff options
context:
space:
mode:
authoranray <anray@FreeBSD.org>2006-02-10 19:35:02 +0800
committeranray <anray@FreeBSD.org>2006-02-10 19:35:02 +0800
commit2e769390a901c9fead56ff69aeb2c9c623484d19 (patch)
tree2aa66c4190cd97fe325e78381005064aacd252b3 /editors/xemacs-devel-mule
parente2d8a29fc09c6d7a81d2526849441e53a1cf46f3 (diff)
downloadfreebsd-ports-gnome-2e769390a901c9fead56ff69aeb2c9c623484d19.tar.gz
freebsd-ports-gnome-2e769390a901c9fead56ff69aeb2c9c623484d19.tar.zst
freebsd-ports-gnome-2e769390a901c9fead56ff69aeb2c9c623484d19.zip
Add WITH_LDAP - build xemacs with ldap support.
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