aboutsummaryrefslogtreecommitdiffstats
path: root/games/crafty-open-rock/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'games/crafty-open-rock/Makefile')
-rw-r--r--games/crafty-open-rock/Makefile6
1 files changed, 5 insertions, 1 deletions
diff --git a/games/crafty-open-rock/Makefile b/games/crafty-open-rock/Makefile
index 3690a154ac2d..a44eaa5c54b5 100644
--- a/games/crafty-open-rock/Makefile
+++ b/games/crafty-open-rock/Makefile
@@ -22,11 +22,15 @@ DIST_SUBDIR= crafty
NO_WRKSUBDIR= yes
EXTRACT_ONLY=
+MKFIFO= /usr/bin/mkfifo
+GAMEFIFO= ${WRKDIR}/gamefifo
+
do-build:
@${ECHO_MSG} '================================================================'
@${ECHO_MSG} 'Ignore warnings about illegal moves. These warnings are normal.'
@${ECHO_MSG} '================================================================'
- (cd ${DISTDIR}/${DIST_SUBDIR} && ${CAT} ${DISTFILES} | ${GUNZIP_CMD}) | (cd ${WRKDIR}; crafty 3<&0 < ${FILESDIR}/book-building)
+ ${MKFIFO} ${GAMEFIFO}
+ (cd ${DISTDIR}/${DIST_SUBDIR} && ${CAT} ${DISTFILES} | ${GUNZIP_CMD} > ${GAMEFIFO}) & (cd ${WRKDIR}; crafty < ${FILESDIR}/book-building)
do-install:
${MKDIR} ${PREFIX}/lib/crafty