aboutsummaryrefslogtreecommitdiffstats
path: root/games/3dc
diff options
context:
space:
mode:
authoraz <az@FreeBSD.org>2013-07-26 13:33:51 +0800
committeraz <az@FreeBSD.org>2013-07-26 13:33:51 +0800
commitc1e6f9b1282b29ade869dbab3f1768fbcc2443a6 (patch)
treeeb22256c13100460a384a64ae5d3fbefbaab9ab7 /games/3dc
parentd52530844c122dbe12c5c32217f4ffdae83fe830 (diff)
downloadfreebsd-ports-gnome-c1e6f9b1282b29ade869dbab3f1768fbcc2443a6.tar.gz
freebsd-ports-gnome-c1e6f9b1282b29ade869dbab3f1768fbcc2443a6.tar.zst
freebsd-ports-gnome-c1e6f9b1282b29ade869dbab3f1768fbcc2443a6.zip
- switch simple inline replacement from perl to sed
and remove where is no need in this anymore. - trim Makefile header Approved by: bapt@ (portmrg@)
Diffstat (limited to 'games/3dc')
-rw-r--r--games/3dc/Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/games/3dc/Makefile b/games/3dc/Makefile
index f9d0790949ef..095e16faf548 100644
--- a/games/3dc/Makefile
+++ b/games/3dc/Makefile
@@ -22,7 +22,8 @@ WRKSRC= ${WRKDIR}/3Dc/src
post-patch:
.for file in init.c main.c piece.c stack.c xif.c
- @${PERL} -pi -e "s/malloc.h/stdlib.h/g" ${WRKSRC}/${file}
+ @${REINPLACE_CMD} -i '' -e 's|malloc.h|stdlib.h|' \
+ ${WRKSRC}/${file}
.endfor
do-install: