diff options
author | Edwin Groothuis <edwin@FreeBSD.org> | 2002-11-04 02:18:21 +0000 |
---|---|---|
committer | Edwin Groothuis <edwin@FreeBSD.org> | 2002-11-04 02:18:21 +0000 |
commit | a6429924fc57a145369eb5b2d3d0f45c65656b19 (patch) | |
tree | a7703a1b06cbba057e160e6f7af6e66d74cfc940 /devel/re2c | |
parent | 31bf3a3efffb2842e5c1ffda6275830a3e3c8ae5 (diff) | |
download | ports-a6429924fc57a145369eb5b2d3d0f45c65656b19.tar.gz ports-a6429924fc57a145369eb5b2d3d0f45c65656b19.zip |
PERL -> REINPLACE
Noticed on: bento
Notes
Notes:
svn path=/head/; revision=69423
Diffstat (limited to 'devel/re2c')
-rw-r--r-- | devel/re2c/Makefile | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/devel/re2c/Makefile b/devel/re2c/Makefile index 8ef1ce76dd0d..58119049fc9d 100644 --- a/devel/re2c/Makefile +++ b/devel/re2c/Makefile @@ -14,14 +14,15 @@ MASTER_SITES= http://www.tildeslash.org/re2c/ \ MAINTAINER= eivind@FreeBSD.org USE_GMAKE= yes +USE_REINPLACE= yes MAN1= re2c.1 ALL_TARGET= default pre-patch: - @${PERL} -pi -e 's|^CFLAGS.*$$|CFLAGS+=-Wall -I. -Wno-unused -Wno-parentheses|' ${WRKSRC}/Makefile - @${PERL} -pi -e 's|<malloc.h>|<stdlib.h>|' ${WRKSRC}/parser.cc ${WRKSRC}/parser.y + @${REINPLACE_CMD} -e 's|^CFLAGS.*$$|CFLAGS+=-Wall -I. -Wno-unused -Wno-parentheses|' ${WRKSRC}/Makefile + @${REINPLACE_CMD} -e 's|<malloc.h>|<stdlib.h>|' ${WRKSRC}/parser.cc ${WRKSRC}/parser.y do-install: ${INSTALL_PROGRAM} ${WRKSRC}/re2c ${PREFIX}/bin |