summaryrefslogtreecommitdiff
path: root/math/plplot
diff options
context:
space:
mode:
Diffstat (limited to 'math/plplot')
-rw-r--r--math/plplot/Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/math/plplot/Makefile b/math/plplot/Makefile
index 299ee13fe870..77d309d7d18b 100644
--- a/math/plplot/Makefile
+++ b/math/plplot/Makefile
@@ -16,6 +16,7 @@ MAINTAINER= ports@FreeBSD.org
LIB_DEPENDS= gd.2:${PORTSDIR}/graphics/gd
BUILD_DEPENDS= gm4:${PORTSDIR}/devel/m4
+USE_REINPLACE= yes
USE_XLIB= yes
GNU_CONFIGURE= yes
CONFIGURE_ENV= F77="${FC}" FFLAGS="${FFLAGS}" \
@@ -54,7 +55,7 @@ PLIST_SUB+= TCLTK="@comment "
post-patch:
.for file in scripts/mktclIndex
- @${PERL} -pi -e 's|tclsh|${LOCALBASE}/bin/tclsh8.3|g' ${WRKSRC}/${file}
+ @${REINPLACE_CMD} -e 's|tclsh|${LOCALBASE}/bin/tclsh8.3|g' ${WRKSRC}/${file}
.endfor
.include <bsd.port.mk>