diff options
Diffstat (limited to 'x11-toolkits')
-rw-r--r-- | x11-toolkits/plib/Makefile | 3 | ||||
-rw-r--r-- | x11-toolkits/viewklass/Makefile | 3 |
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: |