aboutsummaryrefslogtreecommitdiff
path: root/x11-toolkits
diff options
context:
space:
mode:
authorDavid W. Chapman Jr. <dwcjr@FreeBSD.org>2002-09-01 16:07:59 +0000
committerDavid W. Chapman Jr. <dwcjr@FreeBSD.org>2002-09-01 16:07:59 +0000
commit534fffca27bb18f7529d548c46ee3326505a89c7 (patch)
treea09ac440edd299d85a3517dea62caa2b115543fc /x11-toolkits
parent5bc499ce47fa1a8da853b36cc61cddf06075d203 (diff)
downloadports-534fffca27bb18f7529d548c46ee3326505a89c7.tar.gz
ports-534fffca27bb18f7529d548c46ee3326505a89c7.zip
Notes
Diffstat (limited to 'x11-toolkits')
-rw-r--r--x11-toolkits/plib/Makefile3
-rw-r--r--x11-toolkits/viewklass/Makefile3
2 files changed, 4 insertions, 2 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>
diff --git a/x11-toolkits/viewklass/Makefile b/x11-toolkits/viewklass/Makefile
index 961d26fed377..56dd977cff7f 100644
--- a/x11-toolkits/viewklass/Makefile
+++ b/x11-toolkits/viewklass/Makefile
@@ -15,11 +15,12 @@ DISTNAME= ViewKlass-${PORTVERSION}
MAINTAINER= ports@FreeBSD.org
+USE_REINPLACE= yes
USE_MOTIF= yes
GNU_CONFIGURE= yes
post-patch:
- @${PERL} -pi -e "s/^CFLAGS=/CFLAGS+=/g ; s/^CXXFLAGS=/CXXFLAGS+=/g ; \
+ @${REINPLACE_CMD} -e "s/^CFLAGS=/CFLAGS+=/g ; s/^CXXFLAGS=/CXXFLAGS+=/g ; \
s/-g -Wall//g" ${WRKSRC}/Makefile.in
post-install: