From c2e96a6fd15ffeb729ad724a29f33c91d1eafc84 Mon Sep 17 00:00:00 2001 From: Ying-Chieh Liao Date: Tue, 25 Jun 2002 18:36:39 +0000 Subject: Replace ${PERL} with ${REINPLACE_CMD} PR: 39842 Submitted by: Oliver Braun --- devel/pcre++/Makefile | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'devel/pcre++') diff --git a/devel/pcre++/Makefile b/devel/pcre++/Makefile index 38f807be7961..681f7eea28cf 100644 --- a/devel/pcre++/Makefile +++ b/devel/pcre++/Makefile @@ -17,6 +17,7 @@ LIB_DEPENDS= pcre.0:${PORTSDIR}/devel/pcre PCRE_CONFIG?= ${LOCALBASE}/bin/pcre-config +USE_REINPLACE= yes USE_GMAKE= yes USE_LIBTOOL= yes CONFIGURE_ENV= CPPFLAGS="`${PCRE_CONFIG} --cflags`" \ @@ -26,9 +27,9 @@ INSTALLS_SHLIB= yes MAN3= Pcre.3 post-patch: - @${PERL} -pi -e 's|-I/usr/local/include||g ; \ + @${REINPLACE_CMD} -e 's|-I/usr/local/include||g ; \ s|-L/usr/local/lib||g' ${WRKSRC}/configure - @${PERL} -pi -e 's|-O -g|\@CXXFLAGS\@|g' ${WRKSRC}/Makefile.in + @${REINPLACE_CMD} -e 's|-O -g|\@CXXFLAGS\@|g' ${WRKSRC}/Makefile.in post-install: .if !defined(NOPORTDOCS) -- cgit v1.2.3