summaryrefslogtreecommitdiff
path: root/comms/mwavem
diff options
context:
space:
mode:
authorEdwin Groothuis <edwin@FreeBSD.org>2002-11-23 23:15:11 +0000
committerEdwin Groothuis <edwin@FreeBSD.org>2002-11-23 23:15:11 +0000
commit672b7b1d92d3b3453dee20992b8ca01f0a234dce (patch)
treea72a7fab5bb58776fdad781999b1bcb0534c198e /comms/mwavem
parentAdd libgringotts, a library for encapsulating/safekeeping data in (diff)
PERL -> REINPLACE for this port too!
Noticed on: bento
Notes
Notes: svn path=/head/; revision=70913
Diffstat (limited to 'comms/mwavem')
-rw-r--r--comms/mwavem/Makefile6
1 files changed, 4 insertions, 2 deletions
diff --git a/comms/mwavem/Makefile b/comms/mwavem/Makefile
index 3df75588168e..eea12b4fe554 100644
--- a/comms/mwavem/Makefile
+++ b/comms/mwavem/Makefile
@@ -21,6 +21,7 @@ GNU_CONFIGURE= yes
STARTUP= mwavem.sh
USE_GMAKE= yes
SLEEP= /bin/sleep
+USE_REINPLACE= yes
.include <bsd.port.pre.mk>
@@ -40,8 +41,9 @@ LTHREADVERSION= 3
LIB_DEPENDS= lthread.${LTHREADVERSION}:${PORTSDIR}/devel/linuxthreads
pre-build:
- ${PERL} -pi.orig -e "s@ /modules@ ${PREFIX}/share/mwavem@g" ${WRKSRC}/src/drivers/Makefile
- ${PERL} -pi.orig -e "s@#include <malloc.h>\n@@g" \
+ ${REINPACE_CMD} -e "s@ /modules@ ${PREFIX}/share/mwavem@g" \
+ ${WRKSRC}/src/drivers/Makefile
+ ${REINPLACE_CMD} -e "s@#include .malloc.h.@@g" \
${WRKSRC}/src/mwmbl/mwblapi.c \
${WRKSRC}/src/mwwtt32/mwwttbl.c