summaryrefslogtreecommitdiff
path: root/games/xmastermind
diff options
context:
space:
mode:
authorPatrick Li <pat@FreeBSD.org>2002-01-02 04:16:51 +0000
committerPatrick Li <pat@FreeBSD.org>2002-01-02 04:16:51 +0000
commitb50c44981d13d21fa7acbcd57908a0fbd663b054 (patch)
treeed1663d82eb627c5d6bbdbfa52f7eb978d7e3cfa /games/xmastermind
parent- PORTVERSION 0.4.3 => 0.4.4. (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/Makefile4
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