summaryrefslogtreecommitdiff
path: root/games
diff options
context:
space:
mode:
authorjoerg <joerg>2006-06-02 13:32:35 +0000
committerjoerg <joerg>2006-06-02 13:32:35 +0000
commit21d1712d890a3482d270238ae237e1b20b585d73 (patch)
treeade77ba55c05802190d861a7c5eed45dcf1cc865 /games
parent4a937b4596889c719566d8e6ebdc70b04829ebb7 (diff)
downloadpkgsrc-21d1712d890a3482d270238ae237e1b20b585d73.tar.gz
Hack around a strange difference in the compressed file format:
DragonFly's system gzip rejects the input due to bad magic number, but bsdtar can understand it with the help of zlib. So just use bsdtar as gtar on DragonFly for now.
Diffstat (limited to 'games')
-rw-r--r--games/heretic2-demo/Makefile9
1 files changed, 8 insertions, 1 deletions
diff --git a/games/heretic2-demo/Makefile b/games/heretic2-demo/Makefile
index b6bca848b86..36339b15a51 100644
--- a/games/heretic2-demo/Makefile
+++ b/games/heretic2-demo/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.16 2006/02/05 23:09:16 joerg Exp $
+# $NetBSD: Makefile,v 1.17 2006/06/02 13:32:35 joerg Exp $
#
DISTNAME= heretic2-demo-x86
@@ -19,6 +19,13 @@ EXTRACT_CMD= ${SED} '1,/^END_OF_STUB$$/d' ${DOWNLOADED_DISTFILE} | \
${GTAR} xzf -
USE_TOOLS+= gtar
+.include "../../mk/bsd.prefs.mk"
+
+.if ${OPSYS} == "DragonFly"
+# system gzip doesn't like the file, but zlib does.
+TOOLS_PLATFORM.gtar= /usr/bin/bsdtar
+.endif
+
ONLY_FOR_PLATFORM=*-*-i386
DISTBINNAME= heretic2_demo.x86