diff options
Diffstat (limited to 'games/xmastermind/Makefile')
-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 |