summaryrefslogtreecommitdiff
path: root/x11
diff options
context:
space:
mode:
authorMartin Wilke <miwi@FreeBSD.org>2009-07-26 15:23:58 +0000
committerMartin Wilke <miwi@FreeBSD.org>2009-07-26 15:23:58 +0000
commita9cffccdf924daa45bc719d1910b9eb0e27b3910 (patch)
tree6be2ee72a373b03b542c7f80f3e345afee9f87ef /x11
parent- Update to 2.4.3 (diff)
- Fix build after usb_revision.h removal
Notes
Notes: svn path=/head/; revision=238390
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>