summaryrefslogtreecommitdiff
path: root/games/heretic2-demo
diff options
context:
space:
mode:
authorjoerg <joerg@pkgsrc.org>2006-06-02 13:32:35 +0000
committerjoerg <joerg@pkgsrc.org>2006-06-02 13:32:35 +0000
commitcca753968e75d6fec48b4474186db992146e11dd (patch)
treeade77ba55c05802190d861a7c5eed45dcf1cc865 /games/heretic2-demo
parent94ae9af5bdc2a2b6fc78f59fc611d32e9a3cd306 (diff)
downloadpkgsrc-cca753968e75d6fec48b4474186db992146e11dd.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/heretic2-demo')
-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