summaryrefslogtreecommitdiff
path: root/math
diff options
context:
space:
mode:
Diffstat (limited to 'math')
-rw-r--r--math/nauty/Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/math/nauty/Makefile b/math/nauty/Makefile
index ef79cfa3e398..1335f2262418 100644
--- a/math/nauty/Makefile
+++ b/math/nauty/Makefile
@@ -17,9 +17,10 @@ WRKSRC= ${WRKDIR}/${PORTNAME}20
MAKEFILE= makefile
ALL_TARGET= nauty
NO_INSTALL_MANPAGES=yes
+USE_REINPLACE= yes
post-patch:
- @${PERL} -pi -e "s,^CFLAGS,#CFLAGS,g" ${WRKSRC}/${MAKEFILE}
+ @${REINPLACE_CMD} -e "s,^CFLAGS,#CFLAGS,g" ${WRKSRC}/${MAKEFILE}
do-install:
cd ${WRKSRC}; ${INSTALL_PROGRAM} dreadnaut dreadnaut1 \