diff options
author | pat <pat@FreeBSD.org> | 2002-01-02 04:16:51 +0000 |
---|---|---|
committer | pat <pat@FreeBSD.org> | 2002-01-02 04:16:51 +0000 |
commit | 543e1c0b8a134ffa7d237cb4a9eabdd8739ac01e (patch) | |
tree | 09358f3b37255b97a358ba5c645a6ba3d61f221c /games/xmastermind | |
parent | e14aab3c1c36a15c1f30e7bdda043c0b3ab152b4 (diff) | |
download | FreeBSD-ports-543e1c0b8a134ffa7d237cb4a9eabdd8739ac01e.zip FreeBSD-ports-543e1c0b8a134ffa7d237cb4a9eabdd8739ac01e.tar.gz |
Fix for -CURRENT, malloc.h->stdlib.h
Spotted by: Bento
Diffstat (limited to 'games/xmastermind')
-rw-r--r-- | games/xmastermind/Makefile | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/games/xmastermind/Makefile b/games/xmastermind/Makefile index 75d34d4f..6db089b 100644 --- a/games/xmastermind/Makefile +++ b/games/xmastermind/Makefile @@ -17,6 +17,10 @@ LIB_DEPENDS= xforms.0:${PORTSDIR}/x11-toolkits/xforms USE_X_PREFIX= yes +pre-patch: + @${PERL} -pi.orig -e 's|malloc.h|stdlib.h|' \ + ${WRKSRC}/list.h + do-install: @ ${INSTALL_PROGRAM} ${WRKSRC}/xmastermind ${PREFIX}/bin @ ${MKDIR} ${PREFIX}/share/doc/xmastermind |