aboutsummaryrefslogtreecommitdiffstats
path: root/games
diff options
context:
space:
mode:
Diffstat (limited to 'games')
-rw-r--r--games/crafty-open-rock/Makefile6
-rw-r--r--games/crafty-open-rock/files/book-building2
2 files changed, 6 insertions, 2 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
diff --git a/games/crafty-open-rock/files/book-building b/games/crafty-open-rock/files/book-building
index 95b8a95c8397..bb0133295255 100644
--- a/games/crafty-open-rock/files/book-building
+++ b/games/crafty-open-rock/files/book-building
@@ -1,2 +1,2 @@
-book create /dev/fd/3 60 3
+book create gamefifo 60 3
quit