summaryrefslogtreecommitdiffstats
path: root/audio/rawrec/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'audio/rawrec/Makefile')
-rw-r--r--audio/rawrec/Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/audio/rawrec/Makefile b/audio/rawrec/Makefile
index 5875d3a..2c2da8c 100644
--- a/audio/rawrec/Makefile
+++ b/audio/rawrec/Makefile
@@ -21,6 +21,7 @@ LIB_DEPENDS= gnugetopt.1:${PORTSDIR}/devel/libgnugetopt
WRKSRC= ${WRKDIR}/${DISTNAME}/src
+USE_REINPLACE= yes
USE_GMAKE= yes
MAKE_ARGS= CC="${CC}" \
CFLAGS="${CFLAGS} ${PTHREAD_CFLAGS} -I${LOCALBASE}/include" \
@@ -30,7 +31,7 @@ MAN1= rawrec.1
MLINKS= rawrec.1 rawplay.1
post-patch:
- @${FIND} ${WRKSRC} -name '*.[ch]' | ${XARGS} ${PERL} -pi -e \
+ @${FIND} ${WRKSRC} -name '*.[ch]' | ${XARGS} ${REINPLACE_CMD} -e \
's|<linux/soundcard.h>|<sys/soundcard.h>|g'
do-install:
OpenPOWER on IntegriCloud