mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-23 00:43:28 +00:00
Add WITH_LDAP - build xemacs with ldap support.
This commit is contained in:
parent
e07d98134d
commit
fa0f5bbf79
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=155640
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user