diff options
author | edwin <edwin@FreeBSD.org> | 2007-10-04 10:01:29 +0800 |
---|---|---|
committer | edwin <edwin@FreeBSD.org> | 2007-10-04 10:01:29 +0800 |
commit | 30692bcf95616dd19481e08304ab4b7d2b142b8c (patch) | |
tree | 9d39f9a71f224f7ed908a4d37231bb94a3f01b5c /multimedia/pvrxxx | |
parent | 95e1b4adc3c217295ee0fb10edc368df8849ce34 (diff) | |
download | freebsd-ports-gnome-30692bcf95616dd19481e08304ab4b7d2b142b8c.tar.gz freebsd-ports-gnome-30692bcf95616dd19481e08304ab4b7d2b142b8c.tar.zst freebsd-ports-gnome-30692bcf95616dd19481e08304ab4b7d2b142b8c.zip |
Remove always-false/true conditions based on OSVERSION 500000
Diffstat (limited to 'multimedia/pvrxxx')
-rw-r--r-- | multimedia/pvrxxx/Makefile | 24 |
1 files changed, 0 insertions, 24 deletions
diff --git a/multimedia/pvrxxx/Makefile b/multimedia/pvrxxx/Makefile index 09ec8dd73877..03e2705771d6 100644 --- a/multimedia/pvrxxx/Makefile +++ b/multimedia/pvrxxx/Makefile @@ -33,11 +33,7 @@ MAN1= pvr250-setchannel.1 .include <bsd.port.pre.mk> -.if ${OSVERSION} < 500000 -MODULESDIR= /modules -.else MODULESDIR= /boot/modules -.endif PLIST_SUB= MODULESDIR=${MODULESDIR} .if !exists(${DISTDIR}/hcwPVRP2.sys) @@ -54,21 +50,12 @@ IGNORE= You need the kernel sources installed to build this module. .endif patch-iicbb: -.if ${OSVERSION} < 500000 - @if [ -z "`${GREP} cxm_iic /usr/src/sys/dev/iicbus/iicbb.c`" ]; then \ - ${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} -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"; \ fi -.endif do-extract: ${MKDIR} ${WRKDIR} @@ -79,15 +66,8 @@ do-extract: ${EXTRACT_CMD} ${EXTRACT_BEFORE_ARGS} ${_DISTDIR}/pvrxxx_gpl.tgz ${EXTRACT_AFTER_ARGS}; post-patch: -.if ${OSVERSION} < 500000 - ${REINPLACE_CMD} -e 's/cxm0/bktr0/' \ - ${WRKDIR}/${PVRTOOLS}/setchannel.c - ${REINPLACE_CMD} -e 's/tuner0/bktr0/' \ - ${WRKDIR}/${PVRTOOLS}/setchannel.c -.else ${REINPLACE_CMD} -e 's/tuner0/cxm0/' \ ${WRKDIR}/${PVRTOOLS}/setchannel.c -.endif do-configure: cd ${WRKDIR}/dev/cxm; \ @@ -106,10 +86,6 @@ do-install: ${INSTALL_MAN} ${WRKDIR}/${PVRTOOLS}/cxm.4 ${PREFIX}/man/man4/cxm.4 ${INSTALL_MAN} ${WRKDIR}/${PVRTOOLS}/pvr250-setchannel.1 ${PREFIX}/man/man1/pvr250-setchannel.1 ${INSTALL_PROGRAM} ${WRKDIR}/${PVRTOOLS}/setchannel ${PREFIX}/bin/pvr250-setchannel -.if ${OSVERSION} < 500000 - cd /dev; \ - ./MAKEDEV bktr0 -.endif post-install: @${CAT} ${PKGMESSAGE} |