aboutsummaryrefslogtreecommitdiffstats
path: root/comms/mwavem/Makefile
diff options
context:
space:
mode:
authoredwin <edwin@FreeBSD.org>2002-11-24 07:15:11 +0800
committeredwin <edwin@FreeBSD.org>2002-11-24 07:15:11 +0800
commitd57297f5975cfd8e8c0e8b3f2d6735a53ea4fb80 (patch)
tree1f555a4e8eef74fcc9bc652846f7cf9a6e7d9916 /comms/mwavem/Makefile
parente292a02c00a6c265c7213a29c4dd2f7a888dc727 (diff)
downloadfreebsd-ports-gnome-d57297f5975cfd8e8c0e8b3f2d6735a53ea4fb80.tar.gz
freebsd-ports-gnome-d57297f5975cfd8e8c0e8b3f2d6735a53ea4fb80.tar.zst
freebsd-ports-gnome-d57297f5975cfd8e8c0e8b3f2d6735a53ea4fb80.zip
PERL -> REINPLACE for this port too!
Noticed on: bento
Diffstat (limited to 'comms/mwavem/Makefile')
-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