summaryrefslogtreecommitdiff
path: root/audio/wmtune
diff options
context:
space:
mode:
authorChris D. Faulhaber <jedgar@FreeBSD.org>2002-07-19 17:34:47 +0000
committerChris D. Faulhaber <jedgar@FreeBSD.org>2002-07-19 17:34:47 +0000
commit7a1fcb907a4a2c6431f7c20a15c8176a87c36581 (patch)
treee028acefc1bd02cef4e5e67c2ae9884f288b8644 /audio/wmtune
parentUse USE_GNOMENG. (diff)
o SED -> REINPLACE
o s|machine/soundcard.h|sys/soundcard.h|
Notes
Notes: svn path=/head/; revision=63254
Diffstat (limited to 'audio/wmtune')
-rw-r--r--audio/wmtune/Makefile8
1 files changed, 5 insertions, 3 deletions
diff --git a/audio/wmtune/Makefile b/audio/wmtune/Makefile
index 568c9913b695..e5fafab6aa62 100644
--- a/audio/wmtune/Makefile
+++ b/audio/wmtune/Makefile
@@ -20,6 +20,7 @@ MAINTAINER= jedgar@FreeBSD.org
USE_GMAKE= yes
USE_X_PREFIX= yes
USE_XPM= yes
+USE_REINPLACE= yes
PATCH_ARGS =-p0 -d ${WRKDIR}
@@ -39,9 +40,10 @@ WMTUNE_DIFF= wmtune.radiotrack.diff.gz
post-patch:
@${GUNZIP_CMD} -c ${DISTDIR}/${WMTUNE_DIFF} | ${PATCH} ${PATCH_ARGS}
- @${MV} ${WRKSRC}/Makefile ${WRKSRC}/Makefile.orig
- @${SED} -e 's|-O2|${CFLAGS}|' -e 's|cc|${CC}|' \
- < ${WRKSRC}/Makefile.orig > ${WRKSRC}/Makefile
+ @${REINPLACE_CMD} -e 's|-O2|${CFLAGS}|' -e 's|cc|${CC}|' \
+ ${WRKSRC}/Makefile
+ @${REINPLACE_CMD} -e 's|machine/soundcard.h|sys/soundcard.h|' \
+ ${WRKSRC}/src/wmtune.c
do-configure:
@${PERL} -pi.orig -e 's|/etc|${PREFIX}/etc|' ${WRKSRC}/src/wmtune.c