summaryrefslogtreecommitdiff
path: root/lang/malbolge
diff options
context:
space:
mode:
authorOliver Braun <obraun@FreeBSD.org>2002-10-27 13:01:21 +0000
committerOliver Braun <obraun@FreeBSD.org>2002-10-27 13:01:21 +0000
commite799d2ee908a89bdb6dff566539fee7ca2e04ddd (patch)
treeb2b73ef6a220d5e318dc7ad943b724c60b16d455 /lang/malbolge
parentPatch with sed. (diff)
PERL -> REINPLACE
PR: 44523 Submitted by: maintainer
Diffstat (limited to 'lang/malbolge')
-rw-r--r--lang/malbolge/Makefile4
1 files changed, 3 insertions, 1 deletions
diff --git a/lang/malbolge/Makefile b/lang/malbolge/Makefile
index 675c15c52164..8ddf30698d92 100644
--- a/lang/malbolge/Makefile
+++ b/lang/malbolge/Makefile
@@ -13,8 +13,10 @@ DISTNAME= malbolge
MAINTAINER= simond@irrelevant.org
+USE_REINPLACE= yes
+
post-patch:
- ${PERL} -pi -e "s|<malloc.h>|<stdlib.h>|g" ${WRKSRC}/malbolge.c
+ @${REINPLACE_CMD} -e 's|<malloc.h>|<stdlib.h>|g' ${WRKSRC}/malbolge.c
do-build:
${CC} ${CFLAGS} ${WRKSRC}/malbolge.c -o ${WRKSRC}/malbolge