aboutsummaryrefslogtreecommitdiffstats
path: root/multimedia/pwcbsd
diff options
context:
space:
mode:
authorlme <lme@FreeBSD.org>2009-05-29 02:53:53 +0800
committerlme <lme@FreeBSD.org>2009-05-29 02:53:53 +0800
commit4edc56c51a002dd58f290f471451c5549e0ab134 (patch)
treeffc99bdc142caaedc2f45c6e130e95e8ac79c276 /multimedia/pwcbsd
parentb10d42b76b884b60dbe4fbb08908327fcb76bb0c (diff)
downloadfreebsd-ports-gnome-4edc56c51a002dd58f290f471451c5549e0ab134.tar.gz
freebsd-ports-gnome-4edc56c51a002dd58f290f471451c5549e0ab134.tar.zst
freebsd-ports-gnome-4edc56c51a002dd58f290f471451c5549e0ab134.zip
- Fix build on 7.x
- Mark BROKEN for older 8-CURRENT - Bump PORTREVISION
Diffstat (limited to 'multimedia/pwcbsd')
-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