aboutsummaryrefslogtreecommitdiffstats
path: root/x11/kdebase4-runtime
diff options
context:
space:
mode:
authorarved <arved@FreeBSD.org>2003-06-03 02:12:01 +0800
committerarved <arved@FreeBSD.org>2003-06-03 02:12:01 +0800
commit28526a7508fb9d69d0d1656a204497ee5e9a6095 (patch)
tree54f4d00a5ca4f5b84ede24031f91411910289f4b /x11/kdebase4-runtime
parent6bdc25163d33c46453da732c7838f09c41a22ee0 (diff)
downloadfreebsd-ports-gnome-28526a7508fb9d69d0d1656a204497ee5e9a6095.tar.gz
freebsd-ports-gnome-28526a7508fb9d69d0d1656a204497ee5e9a6095.tar.zst
freebsd-ports-gnome-28526a7508fb9d69d0d1656a204497ee5e9a6095.zip
- Conditional ldap support
- Remove some ancient configure args - Bump PORTREVISION Submitted by: Michael Nottebrock <michaelnottebrock@gmx.net>
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