summaryrefslogtreecommitdiff
path: root/math/spar/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'math/spar/Makefile')
-rw-r--r--math/spar/Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/math/spar/Makefile b/math/spar/Makefile
index 4df9d44d36c3..e0e18ffdbde0 100644
--- a/math/spar/Makefile
+++ b/math/spar/Makefile
@@ -16,6 +16,7 @@ MAINTAINER= ports@FreeBSD.org
LIB_DEPENDS= gnugetopt:${PORTSDIR}/devel/libgnugetopt
+USE_REINPLACE= yes
GNU_CONFIGURE= yes
CONFIGURE_ENV= LDFLAGS="-L${LOCALBASE}/lib -lgnugetopt"
INSTALLS_SHLIB= yes
@@ -23,6 +24,6 @@ INSTALLS_SHLIB= yes
MAN1= spar.1
post-patch:
- @${PERL} -pi -e "s,-ldl,,g" ${WRKSRC}/lib/Makefile.in
+ @${REINPLACE_CMD} -e "s,-ldl,,g" ${WRKSRC}/lib/Makefile.in
.include <bsd.port.mk>