aboutsummaryrefslogtreecommitdiff
path: root/multimedia/pwcbsd/Makefile
diff options
context:
space:
mode:
authorLars Engels <lme@FreeBSD.org>2009-05-28 18:53:53 +0000
committerLars Engels <lme@FreeBSD.org>2009-05-28 18:53:53 +0000
commit3d642d5919a37532457845efe9cb9d5cb0b86fa9 (patch)
tree70f4f5d21f2e58fb18c03834811064cd4039354f /multimedia/pwcbsd/Makefile
parent609f6e00025d2caa0eb5b41bada2ba29fe9905b3 (diff)
downloadports-3d642d5919a37532457845efe9cb9d5cb0b86fa9.tar.gz
ports-3d642d5919a37532457845efe9cb9d5cb0b86fa9.zip
Notes
Diffstat (limited to 'multimedia/pwcbsd/Makefile')
-rw-r--r--multimedia/pwcbsd/Makefile14
1 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