diff options
author | edwin <edwin@FreeBSD.org> | 2002-11-04 10:18:21 +0800 |
---|---|---|
committer | edwin <edwin@FreeBSD.org> | 2002-11-04 10:18:21 +0800 |
commit | ae62427d6d6725d1b89cb124a2b9df1780c3a6c0 (patch) | |
tree | f0efb79e0c88be76c10e56726918e912cd25d55e /devel/re2c | |
parent | f05d483448ee76fcaf403ea38e32d322986c8073 (diff) | |
download | freebsd-ports-gnome-ae62427d6d6725d1b89cb124a2b9df1780c3a6c0.tar.gz freebsd-ports-gnome-ae62427d6d6725d1b89cb124a2b9df1780c3a6c0.tar.zst freebsd-ports-gnome-ae62427d6d6725d1b89cb124a2b9df1780c3a6c0.zip |
PERL -> REINPLACE
Noticed on: bento
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 |