aboutsummaryrefslogtreecommitdiffstats
path: root/x11
diff options
context:
space:
mode:
authormiwi <miwi@FreeBSD.org>2009-07-26 23:23:58 +0800
committermiwi <miwi@FreeBSD.org>2009-07-26 23:23:58 +0800
commit8d80ffe111d895fec3dfe85407f82054d18ea588 (patch)
tree3dd7308e6342b74552bfe2979fb3778958d04be8 /x11
parent07cbc4b101334d2610a733f63b2b865308ebbbcb (diff)
downloadfreebsd-ports-gnome-8d80ffe111d895fec3dfe85407f82054d18ea588.tar.gz
freebsd-ports-gnome-8d80ffe111d895fec3dfe85407f82054d18ea588.tar.zst
freebsd-ports-gnome-8d80ffe111d895fec3dfe85407f82054d18ea588.zip
- Fix build after usb_revision.h removal
Diffstat (limited to 'x11')
-rw-r--r--x11/kde4-baseapps/Makefile4
-rw-r--r--x11/kdebase4/Makefile4
2 files changed, 8 insertions, 0 deletions
diff --git a/x11/kde4-baseapps/Makefile b/x11/kde4-baseapps/Makefile
index d9ef48815688..115aebef0601 100644
--- a/x11/kde4-baseapps/Makefile
+++ b/x11/kde4-baseapps/Makefile
@@ -50,5 +50,9 @@ post-patch:
.if ${OSVERSION} > 800090
@${PATCH} ${PATCH_ARGS} < ${PATCHDIR}/extra-patch-libusb20
.endif
+.if ${OSVERSION} >= 800100
+ @${REINPLACE_CMD} -e 's,usb_revision.h,usbdi.h,g' \
+ ${WRKSRC}/../apps/kinfocenter/usbview/usbdevices.h
+.endif
.include <bsd.port.post.mk>
diff --git a/x11/kdebase4/Makefile b/x11/kdebase4/Makefile
index d9ef48815688..115aebef0601 100644
--- a/x11/kdebase4/Makefile
+++ b/x11/kdebase4/Makefile
@@ -50,5 +50,9 @@ post-patch:
.if ${OSVERSION} > 800090
@${PATCH} ${PATCH_ARGS} < ${PATCHDIR}/extra-patch-libusb20
.endif
+.if ${OSVERSION} >= 800100
+ @${REINPLACE_CMD} -e 's,usb_revision.h,usbdi.h,g' \
+ ${WRKSRC}/../apps/kinfocenter/usbview/usbdevices.h
+.endif
.include <bsd.port.post.mk>