aboutsummaryrefslogtreecommitdiff
path: root/cad/xcircuit
diff options
context:
space:
mode:
Diffstat (limited to 'cad/xcircuit')
-rw-r--r--cad/xcircuit/Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/cad/xcircuit/Makefile b/cad/xcircuit/Makefile
index 802b8461b8ff..c8e6286c4fd5 100644
--- a/cad/xcircuit/Makefile
+++ b/cad/xcircuit/Makefile
@@ -19,12 +19,13 @@ BUILD_DEPENDS= gm4:${PORTSDIR}/devel/m4
USE_BZIP2= yes
USE_XPM= yes
USE_IMAKE= yes
+USE_REINPLACE= yes
XMKMF= xmkmf
MAN1= xcircuit.1
post-patch:
- @find ${WRKSRC} -name '*.[ch]' | xargs ${PERL} -pi -e \
+ @find ${WRKSRC} -name '*.[ch]' | xargs ${REINPLACE_CMD} -e \
's|<malloc.h>|<stdlib.h>|g'
post-install: