aboutsummaryrefslogtreecommitdiffstats
path: root/audio
diff options
context:
space:
mode:
authortrevor <trevor@FreeBSD.org>2002-09-26 00:04:55 +0800
committertrevor <trevor@FreeBSD.org>2002-09-26 00:04:55 +0800
commit2d6622a8174c4532fcd3346849ff99ceb7cc01ec (patch)
treebd9ba708acf2534b79048e9462731326704c31b7 /audio
parent174fe769e6d8def1f6d8af4caf3e3a2d751c4a02 (diff)
downloadfreebsd-ports-gnome-2d6622a8174c4532fcd3346849ff99ceb7cc01ec.tar.gz
freebsd-ports-gnome-2d6622a8174c4532fcd3346849ff99ceb7cc01ec.tar.zst
freebsd-ports-gnome-2d6622a8174c4532fcd3346849ff99ceb7cc01ec.zip
s/perl/sed/
Diffstat (limited to 'audio')
-rw-r--r--audio/autozen/Makefile10
1 files changed, 6 insertions, 4 deletions
diff --git a/audio/autozen/Makefile b/audio/autozen/Makefile
index 89e865c7de4d..47890067ee5e 100644
--- a/audio/autozen/Makefile
+++ b/audio/autozen/Makefile
@@ -17,9 +17,11 @@ WRKSRC= ${WRKDIR}/AutoZen-${PORTVERSION}
MAKE_ENV+= PTHREAD_CFLAGS=${PTHREAD_CFLAGS} PTHREAD_LIBS=${PTHREAD_LIBS}
-USE_X_PREFIX= yes
-USE_GNOMENG= yes
USE_GNOME= gtk12
+USE_GNOMENG= yes
+USE_X_PREFIX= yes
+USE_REINPLACE= yes
+REINPLACE_ARGS= -i'' -E
DOC_FILES= CHANGES COPYING
DATA_FILES= deep-relax.seq deep_delta_slide.seq delta_slide.seq \
@@ -28,10 +30,10 @@ PLIST= ${WRKDIR}/pkg-plist
post-patch:
@if [ -f /usr/include/sys/soundcard.h ]; then \
- ${PERL} -pi -e "s=machine/soundcard.h=sys/soundcard.h=g" \
+ ${REINPLACE_CMD} "s=machine/soundcard.h=sys/soundcard.h=g" \
${WRKSRC}/autozen.c; \
fi
- @${PERL} -pi -e "s=X11BASE=${X11BASE}=g" ${WRKSRC}/autozen.c
+ ${REINPLACE_CMD} "s=X11BASE=${X11BASE}=g" ${WRKSRC}/autozen.c
cd ${WRKSRC} && ${RM} autozen seq2wav
pre-install: