diff options
author | Chris D. Faulhaber <jedgar@FreeBSD.org> | 2002-07-19 17:34:47 +0000 |
---|---|---|
committer | Chris D. Faulhaber <jedgar@FreeBSD.org> | 2002-07-19 17:34:47 +0000 |
commit | 7a1fcb907a4a2c6431f7c20a15c8176a87c36581 (patch) | |
tree | e028acefc1bd02cef4e5e67c2ae9884f288b8644 | |
parent | 44f8e7ea912efb478183f4d6b6a3a81ef8cf1351 (diff) |
Notes
-rw-r--r-- | audio/wmtune/Makefile | 8 |
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 |