aboutsummaryrefslogtreecommitdiff
path: root/games/3dc
diff options
context:
space:
mode:
authorAndrej Zverev <az@FreeBSD.org>2013-07-26 05:33:51 +0000
committerAndrej Zverev <az@FreeBSD.org>2013-07-26 05:33:51 +0000
commita4fc6158f566f3061d1acce1ef519be9cd17a69a (patch)
treeeb22256c13100460a384a64ae5d3fbefbaab9ab7 /games/3dc
parentf720ee1568631cec981d47b6deaf26f18bc44159 (diff)
downloadports-a4fc6158f566f3061d1acce1ef519be9cd17a69a.tar.gz
ports-a4fc6158f566f3061d1acce1ef519be9cd17a69a.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@)
Notes
Notes: svn path=/head/; revision=323680
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: