aboutsummaryrefslogtreecommitdiff
path: root/devel/byaccj
diff options
context:
space:
mode:
authorEdwin Groothuis <edwin@FreeBSD.org>2002-11-04 02:18:21 +0000
committerEdwin Groothuis <edwin@FreeBSD.org>2002-11-04 02:18:21 +0000
commita6429924fc57a145369eb5b2d3d0f45c65656b19 (patch)
treea7703a1b06cbba057e160e6f7af6e66d74cfc940 /devel/byaccj
parent31bf3a3efffb2842e5c1ffda6275830a3e3c8ae5 (diff)
downloadports-a6429924fc57a145369eb5b2d3d0f45c65656b19.tar.gz
ports-a6429924fc57a145369eb5b2d3d0f45c65656b19.zip
Notes
Diffstat (limited to 'devel/byaccj')
-rw-r--r--devel/byaccj/Makefile3
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