diff options
author | ijliao <ijliao@FreeBSD.org> | 2002-06-22 17:23:30 +0000 |
---|---|---|
committer | ijliao <ijliao@FreeBSD.org> | 2002-06-22 17:23:30 +0000 |
commit | 8545a2e67fcd00c39e1d49278039599fde0a3c96 (patch) | |
tree | 93c69ec1765552a1e68bc7a639a178521cfdbd2e /math/goblin | |
parent | a05fa76323fffdebea8fa39b9c6b32db8f07f949 (diff) | |
download | FreeBSD-ports-8545a2e67fcd00c39e1d49278039599fde0a3c96.zip FreeBSD-ports-8545a2e67fcd00c39e1d49278039599fde0a3c96.tar.gz |
Replace ${PERL} with ${REINPLACE_CMD}
PR: 39665
Submitted by: Oliver Braun <obraun@informatik.unibw-muenchen.de>
Diffstat (limited to 'math/goblin')
-rw-r--r-- | math/goblin/Makefile | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/math/goblin/Makefile b/math/goblin/Makefile index fa8d24d..7435f6b 100644 --- a/math/goblin/Makefile +++ b/math/goblin/Makefile @@ -17,15 +17,17 @@ MAINTAINER= ports@FreeBSD.org LIB_DEPENDS= tcl83:${PORTSDIR}/lang/tcl83 \ tk83:${PORTSDIR}/x11-toolkits/tk83 +USE_REINPLACE= yes + CFLAGS+= -I${LOCALBASE}/include/tcl8.3 -I${LOCALBASE}/include/tk8.3 \ -I${X11BASE}/include LIBS= -L${LOCALBASE}/lib -L${X11BASE}/lib post-patch: - @${PERL} -pi -e "s,-lpthread,${PTHREAD_LIBS},g ; \ + @${REINPLACE_CMD} -e "s,-lpthread,${PTHREAD_LIBS},g ; \ s,g\+\+,${CXX},g ; \ s,%%CXXFLAGS%%,${CXXFLAGS},g ; s,%%LIBS%%,${LIBS},g ; \ s,%%PREFIX%%,${PREFIX},g" ${WRKSRC}/Makefile - @${PERL} -pi -e "s/malloc.h/stdlib.h/g" ${WRKSRC}/include/globals.h + @${REINPLACE_CMD} -e "s/malloc.h/stdlib.h/g" ${WRKSRC}/include/globals.h .include <bsd.port.mk> |