diff options
author | edwin <edwin@FreeBSD.org> | 2005-05-09 11:14:09 +0800 |
---|---|---|
committer | edwin <edwin@FreeBSD.org> | 2005-05-09 11:14:09 +0800 |
commit | 491cf1a5b44f2a12133ae445d0c2dda5c231003b (patch) | |
tree | 6b90f34acfc2395808030c36bdae7bc2d945bc8f /multimedia/pvrxxx | |
parent | aae3216628cbbcb886592850d1845c689844505b (diff) | |
download | freebsd-ports-gnome-491cf1a5b44f2a12133ae445d0c2dda5c231003b.tar.gz freebsd-ports-gnome-491cf1a5b44f2a12133ae445d0c2dda5c231003b.tar.zst freebsd-ports-gnome-491cf1a5b44f2a12133ae445d0c2dda5c231003b.zip |
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/pvrxxx')
-rw-r--r-- | multimedia/pvrxxx/Makefile | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/multimedia/pvrxxx/Makefile b/multimedia/pvrxxx/Makefile index 39834c7f9bf7..51ef18f1e039 100644 --- a/multimedia/pvrxxx/Makefile +++ b/multimedia/pvrxxx/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 |