summaryrefslogtreecommitdiff
path: root/x11-toolkits/plib
diff options
context:
space:
mode:
Diffstat (limited to 'x11-toolkits/plib')
-rw-r--r--x11-toolkits/plib/Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/x11-toolkits/plib/Makefile b/x11-toolkits/plib/Makefile
index a8d2b69f0aee..d51f1eeb01dd 100644
--- a/x11-toolkits/plib/Makefile
+++ b/x11-toolkits/plib/Makefile
@@ -12,6 +12,7 @@ MASTER_SITES= http://plib.sourceforge.net/dist/
MAINTAINER= ports@FreeBSD.org
+USE_REINPLACE= yes
USE_X_PREFIX= yes
USE_MESA= yes
USE_GMAKE= yes
@@ -20,6 +21,6 @@ CONFIGURE_ENV= LIBS="-L${X11BASE}/lib ${PTHREAD_LIBS}"
CONFIGURE_ARGS= --with-GL=${X11BASE} --with-x
post-patch:
- @${PERL} -pi -e "s| -O6 -Wall||g" ${WRKSRC}/configure
+ @${REINPLACE_CMD} -e "s| -O6 -Wall||g" ${WRKSRC}/configure
.include <bsd.port.mk>