- Fix build on 7.x

- Mark BROKEN for older 8-CURRENT
- Bump PORTREVISION
This commit is contained in:
Lars Engels 2009-05-28 18:53:53 +00:00
parent 609f6e0002
commit 3d642d5919
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=234709
6 changed files with 13 additions and 1 deletions

View File

@ -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