aboutsummaryrefslogtreecommitdiffstats
path: root/multimedia
diff options
context:
space:
mode:
authoredwin <edwin@FreeBSD.org>2005-12-03 10:18:48 +0800
committeredwin <edwin@FreeBSD.org>2005-12-03 10:18:48 +0800
commit9bc1dccf424f61304fa05a77dedb4bf6f5e85600 (patch)
tree23415c8c21e60a451a6ff25117b60ccb02791d54 /multimedia
parent648e0af6537e126f2b49b42c66c668d656e5f5a9 (diff)
downloadfreebsd-ports-gnome-9bc1dccf424f61304fa05a77dedb4bf6f5e85600.tar.gz
freebsd-ports-gnome-9bc1dccf424f61304fa05a77dedb4bf6f5e85600.tar.zst
freebsd-ports-gnome-9bc1dccf424f61304fa05a77dedb4bf6f5e85600.zip
Fix post-patch target
PR: ports/87518 Submitted by: Simun Mikecin <numisemis@yahoo.com>
Diffstat (limited to 'multimedia')
-rw-r--r--multimedia/pvr250/Makefile4
-rw-r--r--multimedia/pvrxxx/Makefile4
2 files changed, 4 insertions, 4 deletions
diff --git a/multimedia/pvr250/Makefile b/multimedia/pvr250/Makefile
index 6bdfc1c6b1d9..c392167cccf3 100644
--- a/multimedia/pvr250/Makefile
+++ b/multimedia/pvr250/Makefile
@@ -50,14 +50,14 @@ IGNORE= You need the kernel sources installed to build this module.
patch-iicbb:
.if ${OSVERSION} < 500000
@if [ -z "`${GREP} cxm_iic /usr/src/sys/dev/iicbus/iicbb.c`" ]; then \
- ${PATCH} /usr/src/sys/dev/iicbus/iicbb.c ${WRKDIR}/dev/cxm/Patch.iicbb-fbsd4; \
+ ${PATCH} -d/sys <${WRKDIR}/dev/cxm/Patch.iicbb-fbsd4; \
${ECHO_CMD} "Patched /usr/src/sys/dev/iicbus/iicbb.c"; \
else \
${ECHO_CMD} "/usr/src/sys/dev/iicbus/iicbb.c was already patched"; \
fi
.else
@if [ -z "`${GREP} cxm_iic /usr/src/sys/dev/iicbus/iicbb.c`" ]; then \
- ${PATCH} /usr/src/sys/dev/iicbus/iicbb.c ${WRKDIR}/dev/cxm/Patch.iicbb-fbsd5; \
+ ${PATCH} -d/sys <${WRKDIR}/dev/cxm/Patch.iicbb-fbsd5; \
${ECHO_CMD} "Patched /usr/src/sys/dev/iicbus/iicbb.c"; \
else \
${ECHO_CMD} "/usr/src/sys/dev/iicbus/iicbb.c was already patched"; \
diff --git a/multimedia/pvrxxx/Makefile b/multimedia/pvrxxx/Makefile
index 6bdfc1c6b1d9..c392167cccf3 100644
--- a/multimedia/pvrxxx/Makefile
+++ b/multimedia/pvrxxx/Makefile
@@ -50,14 +50,14 @@ IGNORE= You need the kernel sources installed to build this module.
patch-iicbb:
.if ${OSVERSION} < 500000
@if [ -z "`${GREP} cxm_iic /usr/src/sys/dev/iicbus/iicbb.c`" ]; then \
- ${PATCH} /usr/src/sys/dev/iicbus/iicbb.c ${WRKDIR}/dev/cxm/Patch.iicbb-fbsd4; \
+ ${PATCH} -d/sys <${WRKDIR}/dev/cxm/Patch.iicbb-fbsd4; \
${ECHO_CMD} "Patched /usr/src/sys/dev/iicbus/iicbb.c"; \
else \
${ECHO_CMD} "/usr/src/sys/dev/iicbus/iicbb.c was already patched"; \
fi
.else
@if [ -z "`${GREP} cxm_iic /usr/src/sys/dev/iicbus/iicbb.c`" ]; then \
- ${PATCH} /usr/src/sys/dev/iicbus/iicbb.c ${WRKDIR}/dev/cxm/Patch.iicbb-fbsd5; \
+ ${PATCH} -d/sys <${WRKDIR}/dev/cxm/Patch.iicbb-fbsd5; \
${ECHO_CMD} "Patched /usr/src/sys/dev/iicbus/iicbb.c"; \
else \
${ECHO_CMD} "/usr/src/sys/dev/iicbus/iicbb.c was already patched"; \