diff options
author | az <az@FreeBSD.org> | 2013-07-26 13:33:51 +0800 |
---|---|---|
committer | az <az@FreeBSD.org> | 2013-07-26 13:33:51 +0800 |
commit | c1e6f9b1282b29ade869dbab3f1768fbcc2443a6 (patch) | |
tree | eb22256c13100460a384a64ae5d3fbefbaab9ab7 /games/3dc | |
parent | d52530844c122dbe12c5c32217f4ffdae83fe830 (diff) | |
download | freebsd-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/Makefile | 3 |
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: |