summaryrefslogtreecommitdiff
path: root/graphics/xfig-devel
diff options
context:
space:
mode:
Diffstat (limited to 'graphics/xfig-devel')
-rw-r--r--graphics/xfig-devel/Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/graphics/xfig-devel/Makefile b/graphics/xfig-devel/Makefile
index a5c4c5ca87b2..179dcc666c3a 100644
--- a/graphics/xfig-devel/Makefile
+++ b/graphics/xfig-devel/Makefile
@@ -22,6 +22,7 @@ RUN_DEPENDS= fig2dev:${PORTSDIR}/print/transfig
WRKSRC= ${WRKDIR}/${PORTNAME}.${PORTVERSION}
+USE_REINPLACE= yes
USE_IMAKE= yes
USE_XPM= yes
MAN1= xfig.1
@@ -41,7 +42,7 @@ post-extract:
post-patch:
.if defined(WITHOUT_GHOSTSCRIPT)
- @${PERL} -pi -e 's|-DGSBIT ||g' ${WRKSRC}/Imakefile
+ @${REINPLACE_CMD} -e 's|-DGSBIT ||g' ${WRKSRC}/Imakefile
.endif
.include <bsd.port.mk>