summaryrefslogtreecommitdiffstats
path: root/x11/kdebase4
diff options
context:
space:
mode:
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