diff options
author | Edwin Groothuis <edwin@FreeBSD.org> | 2005-05-09 03:14:09 +0000 |
---|---|---|
committer | Edwin Groothuis <edwin@FreeBSD.org> | 2005-05-09 03:14:09 +0000 |
commit | b964c2c28e9d42c4f65009d4fdf026c072ff75e8 (patch) | |
tree | b0406df8cb1059d97cb90fa134b0250cb3023a0c /multimedia/pvr250 | |
parent | 6c1f7b15e21cf40368949c3fd8a2c55d14807d1d (diff) | |
download | ports-b964c2c28e9d42c4f65009d4fdf026c072ff75e8.tar.gz ports-b964c2c28e9d42c4f65009d4fdf026c072ff75e8.zip |
On FreeBSD 4.x: rename cxm0 to bktr0 in setchannel.c
On all: rename tuner0 into cxm0/bktr0 in setchannel.c
Notes
Notes:
svn path=/head/; revision=134906
Diffstat (limited to 'multimedia/pvr250')
-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 39834c7f9bf7..51ef18f1e039 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 |