diff options
author | Patrick Li <pat@FreeBSD.org> | 2002-01-02 04:16:51 +0000 |
---|---|---|
committer | Patrick Li <pat@FreeBSD.org> | 2002-01-02 04:16:51 +0000 |
commit | b50c44981d13d21fa7acbcd57908a0fbd663b054 (patch) | |
tree | ed1663d82eb627c5d6bbdbfa52f7eb978d7e3cfa /games/xmastermind | |
parent | 27d4bf81121a3da5af90914796392ee0170915c1 (diff) |
Fix for -CURRENT, malloc.h->stdlib.h
Spotted by: Bento
Notes
Notes:
svn path=/head/; revision=52482
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 75d34d4f8147..6db089b6caf4 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 |