aboutsummaryrefslogtreecommitdiff
path: root/graphics/xfpovray
diff options
context:
space:
mode:
Diffstat (limited to 'graphics/xfpovray')
-rw-r--r--graphics/xfpovray/Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/graphics/xfpovray/Makefile b/graphics/xfpovray/Makefile
index 990321ed2573..f0ae038c851e 100644
--- a/graphics/xfpovray/Makefile
+++ b/graphics/xfpovray/Makefile
@@ -18,10 +18,11 @@ MAINTAINER= ports@FreeBSD.org
LIB_DEPENDS= forms.1:${PORTSDIR}/x11-toolkits/xforms
RUN_DEPENDS= povray:${PORTSDIR}/graphics/povray
+USE_REINPLACE= yes
USE_IMAKE= yes
USE_GMAKE= yes
post-patch:
- ${PERL} -pi -e "s|%%LOCALBASE%%|${LOCALBASE}|g;" ${WRKSRC}/src/xfpovray.h
+ @${REINPLACE_CMD} -e "s|%%LOCALBASE%%|${LOCALBASE}|g;" ${WRKSRC}/src/xfpovray.h
.include <bsd.port.mk>