aboutsummaryrefslogtreecommitdiffstats
path: root/multimedia
diff options
context:
space:
mode:
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"; \