aboutsummaryrefslogtreecommitdiff
path: root/x11/kdebase4-workspace
diff options
context:
space:
mode:
authorMartin Wilke <miwi@FreeBSD.org>2009-04-24 09:42:19 +0000
committerMartin Wilke <miwi@FreeBSD.org>2009-04-24 09:42:19 +0000
commita0f921c9fa9624eb4f9b58125e71b5fb0842f034 (patch)
tree7da12109e569348af2633ca9fc6ded2aceb8d429 /x11/kdebase4-workspace
parent399146fc99fe761e34bdb8af54d90d60d2ebfc32 (diff)
downloadports-a0f921c9fa9624eb4f9b58125e71b5fb0842f034.tar.gz
ports-a0f921c9fa9624eb4f9b58125e71b5fb0842f034.zip
Notes
Diffstat (limited to 'x11/kdebase4-workspace')
-rw-r--r--x11/kdebase4-workspace/Makefile11
1 files changed, 8 insertions, 3 deletions
diff --git a/x11/kdebase4-workspace/Makefile b/x11/kdebase4-workspace/Makefile
index d1e36773d3fe..2cd1ac64310c 100644
--- a/x11/kdebase4-workspace/Makefile
+++ b/x11/kdebase4-workspace/Makefile
@@ -17,8 +17,7 @@ DIST_SUBDIR= KDE
MAINTAINER= kde@FreeBSD.org
COMMENT= Basic applications for the KDE system
-LIB_DEPENDS= usb-0.1.8:${PORTSDIR}/devel/libusb \
- qimageblitz.4:${PORTSDIR}/x11/qimageblitz\
+LIB_DEPENDS= qimageblitz.4:${PORTSDIR}/x11/qimageblitz\
dbus-1.3:${PORTSDIR}/devel/dbus \
hal.1:${PORTSDIR}/sysutils/hal \
xklavier.12:${PORTSDIR}/x11/libxklavier
@@ -55,6 +54,12 @@ CMAKE_ARGS+= -DCMAKE_REQUIRED_FLAGS:STRING="-L${LOCALBASE}/lib" \
#Xmms and Googlegadgets could be enabled,
#QEdje has not been ported yet.
+.include <bsd.port.pre.mk>
+
+.if ${OSVERSION} < 800069
+LIB_DEPENDS+= usb-0.1.8:${PORTSDIR}/devel/libusb
+.endif
+
post-extract:
${MKDIR} ${WRKSRC}
@@ -77,4 +82,4 @@ post-install:
@${MV} ${PREFIX}/lib/kde4/libexec/kdm_greet ${PREFIX}/lib/kde4/libexec/kdm-bin_greet
@${INSTALL_SCRIPT} ${WRKDIR}/kdm ${PREFIX}/bin
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>