diff options
author | edwin <edwin@FreeBSD.org> | 2005-05-09 03:14:09 +0000 |
---|---|---|
committer | edwin <edwin@FreeBSD.org> | 2005-05-09 03:14:09 +0000 |
commit | 491cf1a5b44f2a12133ae445d0c2dda5c231003b (patch) | |
tree | 6b90f34acfc2395808030c36bdae7bc2d945bc8f /multimedia/pvr250/Makefile | |
parent | aae3216628cbbcb886592850d1845c689844505b (diff) | |
download | FreeBSD-ports-491cf1a5b44f2a12133ae445d0c2dda5c231003b.zip FreeBSD-ports-491cf1a5b44f2a12133ae445d0c2dda5c231003b.tar.gz |
On FreeBSD 4.x: rename cxm0 to bktr0 in setchannel.c
On all: rename tuner0 into cxm0/bktr0 in setchannel.c
Diffstat (limited to 'multimedia/pvr250/Makefile')
-rw-r--r-- | multimedia/pvr250/Makefile | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/multimedia/pvr250/Makefile b/multimedia/pvr250/Makefile index 39834c7..51ef18f 100644 --- a/multimedia/pvr250/Makefile +++ b/multimedia/pvr250/Makefile @@ -8,6 +8,7 @@ PORTNAME= pvr250 PORTVERSION= 20050412 +PORTREVISION= 1 CATEGORIES= multimedia MASTER_SITES= http://www.mavetju.org/download/adopted/ DISTFILES= ${CXMSHAR} hcwPVRP2.sys ${PVRTOOLS}.tar.gz @@ -71,8 +72,13 @@ do-extract: ${EXTRACT_CMD} ${EXTRACT_BEFORE_ARGS} ${_DISTDIR}/${PVRTOOLS}.tar.gz ${EXTRACT_AFTER_ARGS}; post-patch: -.if ${OSVERSION} > 500000 - ${REINPLACE_CMD} -e 's/bktr0/cxm0/' \ +.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 |