diff options
Diffstat (limited to 'devel/byaccj/Makefile')
-rw-r--r-- | devel/byaccj/Makefile | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/devel/byaccj/Makefile b/devel/byaccj/Makefile index 2b3cd28119ea..a2aa74a127e5 100644 --- a/devel/byaccj/Makefile +++ b/devel/byaccj/Makefile @@ -15,9 +15,10 @@ DISTNAME= byaccj1.1 MAINTAINER= davidxu@viatech.com.cn WRKSRC= $(WRKDIR)/byaccj1.1/src +USE_REINPLACE= yes post-patch: - @${PERL} -pi -e 's#<malloc.h>#<stdlib.h>#' ${WRKSRC}/defs.h ${WRKSRC}/*c + @${REINPLACE_CMD} -e 's#<malloc.h>#<stdlib.h>#' ${WRKSRC}/defs.h ${WRKSRC}/*c do-install: ${INSTALL_PROGRAM} ${WRKSRC}/yacc ${PREFIX}/bin/byaccj |