summaryrefslogtreecommitdiffstats
path: root/x11/kdebase4
diff options
context:
space:
mode:
authorarved <arved@FreeBSD.org>2003-06-02 18:12:01 +0000
committerarved <arved@FreeBSD.org>2003-06-02 18:12:01 +0000
commit28526a7508fb9d69d0d1656a204497ee5e9a6095 (patch)
tree54f4d00a5ca4f5b84ede24031f91411910289f4b /x11/kdebase4
parent6bdc25163d33c46453da732c7838f09c41a22ee0 (diff)
downloadFreeBSD-ports-28526a7508fb9d69d0d1656a204497ee5e9a6095.zip
FreeBSD-ports-28526a7508fb9d69d0d1656a204497ee5e9a6095.tar.gz
- Conditional ldap support
- Remove some ancient configure args - Bump PORTREVISION Submitted by: Michael Nottebrock <michaelnottebrock@gmx.net>
Diffstat (limited to 'x11/kdebase4')
-rw-r--r--x11/kdebase4/Makefile13
-rw-r--r--x11/kdebase4/files/plist.ldap3
2 files changed, 11 insertions, 5 deletions
diff --git a/x11/kdebase4/Makefile b/x11/kdebase4/Makefile
index 1ae4170..e551153 100644
--- a/x11/kdebase4/Makefile
+++ b/x11/kdebase4/Makefile
@@ -8,7 +8,7 @@
PORTNAME= kdebase
PORTVERSION= ${KDE_VERSION}
-PORTREVISION= 0
+PORTREVISION= 1
CATEGORIES= x11 kde
MASTER_SITES= ${MASTER_SITE_KDE}
MASTER_SITE_SUBDIR= stable/${KDE_VERSION}/src
@@ -33,16 +33,19 @@ INSTALLS_SHLIB= yes
LDCONFIG_DIRS+= %%PREFIX%%/lib %%PREFIX%%/lib/kde3
CONFIGURE_ENV+= RUN_KAPPFINDER=no
-CONFIGURE_ARGS+=--disable-ltdl-install \
- --without-ldap \
- --disable-closure \
- --without-java \
+CONFIGURE_ARGS+=--without-java \
--with-qt-dir=${X11BASE} \
--with-xdmdir=${X11BASE}/lib/X11/xdm
.include "${.CURDIR}/../../x11/kde3/Makefile.kde"
.include <bsd.port.pre.mk>
+# This enables kio_ldap (needed by kaddresbook).
+.if defined(WITH_LDAP) || exists($(LOCALBASE)/lib/libldap.so)
+LIB_DEPENDS+= ldap:${PORTSDIR}/net/openldap21
+PLIST_APPEND+= plist.ldap
+.endif
+
.if exists(${X11BASE}/include/Xm/Xm.h)
WITH_MOTIF= yes
.endif # exists(${X11BASE}/include/Xm/Xm.h)
diff --git a/x11/kdebase4/files/plist.ldap b/x11/kdebase4/files/plist.ldap
new file mode 100644
index 0000000..082395f
--- /dev/null
+++ b/x11/kdebase4/files/plist.ldap
@@ -0,0 +1,3 @@
+lib/kde3/kio_ldap.la
+lib/kde3/kio_ldap.so
+share/services/ldap.protocol
OpenPOWER on IntegriCloud