diff options
author | ijliao <ijliao@FreeBSD.org> | 2002-06-23 01:23:30 +0800 |
---|---|---|
committer | ijliao <ijliao@FreeBSD.org> | 2002-06-23 01:23:30 +0800 |
commit | 8545a2e67fcd00c39e1d49278039599fde0a3c96 (patch) | |
tree | 93c69ec1765552a1e68bc7a639a178521cfdbd2e /math | |
parent | a05fa76323fffdebea8fa39b9c6b32db8f07f949 (diff) | |
download | freebsd-ports-gnome-8545a2e67fcd00c39e1d49278039599fde0a3c96.tar.gz freebsd-ports-gnome-8545a2e67fcd00c39e1d49278039599fde0a3c96.tar.zst freebsd-ports-gnome-8545a2e67fcd00c39e1d49278039599fde0a3c96.zip |
Replace ${PERL} with ${REINPLACE_CMD}
PR: 39665
Submitted by: Oliver Braun <obraun@informatik.unibw-muenchen.de>
Diffstat (limited to 'math')
-rw-r--r-- | math/goblin/Makefile | 6 | ||||
-rw-r--r-- | math/gretl/Makefile | 5 |
2 files changed, 7 insertions, 4 deletions
diff --git a/math/goblin/Makefile b/math/goblin/Makefile index fa8d24deb732..7435f6b99250 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> diff --git a/math/gretl/Makefile b/math/gretl/Makefile index 2401d5a0ec68..6e168f6580b8 100644 --- a/math/gretl/Makefile +++ b/math/gretl/Makefile @@ -21,6 +21,7 @@ LIB_DEPENDS= gnomeole2.0:${PORTSDIR}/devel/libole2 \ gtkextra.17:${PORTSDIR}/x11-toolkits/gtkextra RUN_DEPENDS= gnuplot:${PORTSDIR}/math/gnuplot +USE_REINPLACE= yes USE_X_PREFIX= yes USE_GTK= yes WANT_GNOME= yes @@ -43,8 +44,8 @@ CONFIGURE_ARGS+= --without-gnome .endif pre-patch: - @${PERL} -pi -e 's|`glib-config|`\$$GLIB_CONFIG|g ; \ + @${REINPLACE_CMD} -e 's|`glib-config|`\$$GLIB_CONFIG|g ; \ s|/share/gretl/|/lib/gretl/|g' ${WRKSRC}/configure - @${PERL} -pi -e 's|SIGCLD|SIGCHLD|g' ${WRKSRC}/gui/gretl.c + @${REINPLACE_CMD} -e 's|SIGCLD|SIGCHLD|g' ${WRKSRC}/gui/gretl.c .include <bsd.port.post.mk> |