From 672b7b1d92d3b3453dee20992b8ca01f0a234dce Mon Sep 17 00:00:00 2001 From: Edwin Groothuis Date: Sat, 23 Nov 2002 23:15:11 +0000 Subject: [PATCH] PERL -> REINPLACE for this port too! Noticed on: bento --- comms/mwavem/Makefile | 6 ++++-- 1 file 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 @@ -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 \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