aboutsummaryrefslogtreecommitdiffstats
path: root/x11/kde4-workspace
diff options
context:
space:
mode:
authormiwi <miwi@FreeBSD.org>2009-04-24 17:42:19 +0800
committermiwi <miwi@FreeBSD.org>2009-04-24 17:42:19 +0800
commit56cd5dc259867e0406663090079f240436cf4572 (patch)
treeddbd1b652ad0287ccc73529611a7b90f0f495e8f /x11/kde4-workspace
parent15ce705dfe16b26dbec89247834e7ea9853318b1 (diff)
downloadfreebsd-ports-gnome-56cd5dc259867e0406663090079f240436cf4572.tar.gz
freebsd-ports-gnome-56cd5dc259867e0406663090079f240436cf4572.tar.zst
freebsd-ports-gnome-56cd5dc259867e0406663090079f240436cf4572.zip
- Fix build with new USB2
Diffstat (limited to 'x11/kde4-workspace')
-rw-r--r--x11/kde4-workspace/Makefile11
1 files changed, 8 insertions, 3 deletions
diff --git a/x11/kde4-workspace/Makefile b/x11/kde4-workspace/Makefile
index d1e36773d3fe..2cd1ac64310c 100644
--- a/x11/kde4-workspace/Makefile
+++ b/x11/kde4-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>