summaryrefslogtreecommitdiff
path: root/x11/kdebase4-runtime
diff options
context:
space:
mode:
authorTilman Keskinoz <arved@FreeBSD.org>2003-06-02 18:12:01 +0000
committerTilman Keskinoz <arved@FreeBSD.org>2003-06-02 18:12:01 +0000
commit76b38a67a41227eebb8dacb58d1ae66eafdd3b4d (patch)
tree525d2e1686504ce7c6b81a0423417ce88ad76313 /x11/kdebase4-runtime
parentUpdate to 0.12 (diff)
- Conditional ldap support
- Remove some ancient configure args - Bump PORTREVISION Submitted by: Michael Nottebrock <michaelnottebrock@gmx.net>
Notes
Notes: svn path=/head/; revision=82032
Diffstat (limited to 'x11/kdebase4-runtime')
-rw-r--r--x11/kdebase4-runtime/Makefile13
-rw-r--r--x11/kdebase4-runtime/files/plist.ldap3
2 files changed, 11 insertions, 5 deletions
diff --git a/x11/kdebase4-runtime/Makefile b/x11/kdebase4-runtime/Makefile
index 1ae4170f6ed5..e551153728dc 100644
--- a/x11/kdebase4-runtime/Makefile
+++ b/x11/kdebase4-runtime/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-runtime/files/plist.ldap b/x11/kdebase4-runtime/files/plist.ldap
new file mode 100644
index 000000000000..082395fd0498
--- /dev/null
+++ b/x11/kdebase4-runtime/files/plist.ldap
@@ -0,0 +1,3 @@
+lib/kde3/kio_ldap.la
+lib/kde3/kio_ldap.so
+share/services/ldap.protocol