diff options
author | joerg <joerg@pkgsrc.org> | 2006-06-02 13:32:35 +0000 |
---|---|---|
committer | joerg <joerg@pkgsrc.org> | 2006-06-02 13:32:35 +0000 |
commit | e42ee064c5640f8511562f1aaf09cc07cf3971ce (patch) | |
tree | ade77ba55c05802190d861a7c5eed45dcf1cc865 | |
parent | 42dc218eb039f99c7f6134fdeb65a5fa335d68a2 (diff) | |
download | pkgsrc-e42ee064c5640f8511562f1aaf09cc07cf3971ce.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.
-rw-r--r-- | games/heretic2-demo/Makefile | 9 |
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 |