1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-23 04:23:08 +00:00

PERL -> REINPLACE for this port too!

Noticed on: bento
This commit is contained in:
Edwin Groothuis 2002-11-23 23:15:11 +00:00
parent bc92f7aa9a
commit 672b7b1d92
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=70913

View File

@ -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