pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/games/heretic2-demo Hack around a strange difference i...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/3c83641f099e
branches:  trunk
changeset: 513726:3c83641f099e
user:      joerg <joerg%pkgsrc.org@localhost>
date:      Fri Jun 02 13:32:35 2006 +0000

description:
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:

 games/heretic2-demo/Makefile |  9 ++++++++-
 1 files changed, 8 insertions(+), 1 deletions(-)

diffs (23 lines):

diff -r 2c6aa78e7f6d -r 3c83641f099e games/heretic2-demo/Makefile
--- a/games/heretic2-demo/Makefile      Fri Jun 02 13:21:28 2006 +0000
+++ b/games/heretic2-demo/Makefile      Fri Jun 02 13:32:35 2006 +0000
@@ -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 @@
                                                                ${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



Home | Main Index | Thread Index | Old Index