diff options
author | Ying-Chieh Liao <ijliao@FreeBSD.org> | 2002-06-25 18:36:39 +0000 |
---|---|---|
committer | Ying-Chieh Liao <ijliao@FreeBSD.org> | 2002-06-25 18:36:39 +0000 |
commit | c2e96a6fd15ffeb729ad724a29f33c91d1eafc84 (patch) | |
tree | 5163ba03df5b625ecccf34756ce8597ed008cfd5 /devel/pcre++ | |
parent | Use REINPLACE_CMD (diff) |
Replace ${PERL} with ${REINPLACE_CMD}
PR: 39842
Submitted by: Oliver Braun <obraun@informatik.unibw-muenchen.de>
Diffstat (limited to 'devel/pcre++')
-rw-r--r-- | devel/pcre++/Makefile | 5 |
1 files changed, 3 insertions, 2 deletions
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) |