summaryrefslogtreecommitdiff
path: root/lang/dis
diff options
context:
space:
mode:
authorOliver Braun <obraun@FreeBSD.org>2002-10-27 13:03:50 +0000
committerOliver Braun <obraun@FreeBSD.org>2002-10-27 13:03:50 +0000
commit818e269408f4b0400716c7c598376630dcc2e8c4 (patch)
treecf0b19c7f57a07763b6f7b0525da92d580d6816e /lang/dis
parentPERL -> REINPLACE (diff)
PERL -> REINPLACE
PR: 44524 Submitted by: maintainer
Notes
Notes: svn path=/head/; revision=68922
Diffstat (limited to 'lang/dis')
-rw-r--r--lang/dis/Makefile4
1 files changed, 3 insertions, 1 deletions
diff --git a/lang/dis/Makefile b/lang/dis/Makefile
index ab208c5b4e21..33e9d8e2283e 100644
--- a/lang/dis/Makefile
+++ b/lang/dis/Makefile
@@ -13,8 +13,10 @@ DISTNAME= dis
MAINTAINER= simond@irrelevant.org
+USE_REINPLACE= yes
+
post-patch:
- ${PERL} -pi -e "s|<malloc.h>|<stdlib.h>|g" ${WRKSRC}/dis.c
+ @${REINPLACE_CMD} -e 's|<malloc.h>|<stdlib.h>|g' ${WRKSRC}/dis.c
do-build:
${CC} ${CFLAGS} ${WRKSRC}/dis.c -o ${WRKSRC}/dis