aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--multimedia/pwcbsd/Makefile14
-rw-r--r--multimedia/pwcbsd/files/extra-patch-Makefile.kld (renamed from multimedia/pwcbsd/files/patch-Makefile.kld)0
-rw-r--r--multimedia/pwcbsd/files/extra-patch-pwc-ctrl.c (renamed from multimedia/pwcbsd/files/patch-pwc-ctrl.c)0
-rw-r--r--multimedia/pwcbsd/files/extra-patch-pwc-v4l.c (renamed from multimedia/pwcbsd/files/patch-pwc-v4l.c)0
-rw-r--r--multimedia/pwcbsd/files/extra-patch-pwc.c (renamed from multimedia/pwcbsd/files/patch-pwc.c)0
-rw-r--r--multimedia/pwcbsd/files/extra-patch-pwc.h (renamed from multimedia/pwcbsd/files/patch-pwc.h)0
6 files changed, 13 insertions, 1 deletions
diff --git a/multimedia/pwcbsd/Makefile b/multimedia/pwcbsd/Makefile
index 1e45945d991c..cee615e07596 100644
--- a/multimedia/pwcbsd/Makefile
+++ b/multimedia/pwcbsd/Makefile
@@ -7,7 +7,7 @@
PORTNAME= pwcbsd
PORTVERSION= 1.4.1
-PORTREVISION= 2
+PORTREVISION= 3
CATEGORIES= multimedia sysutils kld
MASTER_SITES= http://raaf.atspace.org/ \
http://www.bsd-geek.de/FreeBSD/distfiles/ \
@@ -27,6 +27,18 @@ OPTIONS= PROGRAMS "Build the programs" on \
.include <bsd.port.pre.mk>
+.if (${OSVERSION} > 800063) && (${OSVERSION} < 800090)
+BROKEN= Please update to a newer version of FreeBSD 8-CURRENT
+.endif
+
+.if ${OSVERSION} >= 800090
+EXTRA_PATCHES= ${FILESDIR}/extra-patch-Makefile.kld \
+ ${FILESDIR}/extra-patch-pwc-ctrl.c \
+ ${FILESDIR}/extra-patch-pwc-v4l.c \
+ ${FILESDIR}/extra-patch-pwc.c \
+ ${FILESDIR}/extra-patch-pwc.h
+.endif
+
.if !exists(/usr/src/sys/Makefile)
IGNORE= requires kernel source files
.endif
diff --git a/multimedia/pwcbsd/files/patch-Makefile.kld b/multimedia/pwcbsd/files/extra-patch-Makefile.kld
index b614f0bb891f..b614f0bb891f 100644
--- a/multimedia/pwcbsd/files/patch-Makefile.kld
+++ b/multimedia/pwcbsd/files/extra-patch-Makefile.kld
diff --git a/multimedia/pwcbsd/files/patch-pwc-ctrl.c b/multimedia/pwcbsd/files/extra-patch-pwc-ctrl.c
index 73bd0e74c71e..73bd0e74c71e 100644
--- a/multimedia/pwcbsd/files/patch-pwc-ctrl.c
+++ b/multimedia/pwcbsd/files/extra-patch-pwc-ctrl.c
diff --git a/multimedia/pwcbsd/files/patch-pwc-v4l.c b/multimedia/pwcbsd/files/extra-patch-pwc-v4l.c
index 35ae7c2dfa31..35ae7c2dfa31 100644
--- a/multimedia/pwcbsd/files/patch-pwc-v4l.c
+++ b/multimedia/pwcbsd/files/extra-patch-pwc-v4l.c
diff --git a/multimedia/pwcbsd/files/patch-pwc.c b/multimedia/pwcbsd/files/extra-patch-pwc.c
index a0dea9ab5594..a0dea9ab5594 100644
--- a/multimedia/pwcbsd/files/patch-pwc.c
+++ b/multimedia/pwcbsd/files/extra-patch-pwc.c
diff --git a/multimedia/pwcbsd/files/patch-pwc.h b/multimedia/pwcbsd/files/extra-patch-pwc.h
index 5c514ba7f8fc..5c514ba7f8fc 100644
--- a/multimedia/pwcbsd/files/patch-pwc.h
+++ b/multimedia/pwcbsd/files/extra-patch-pwc.h