From e42ee064c5640f8511562f1aaf09cc07cf3971ce Mon Sep 17 00:00:00 2001 From: joerg Date: Fri, 2 Jun 2006 13:32:35 +0000 Subject: 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. --- games/heretic2-demo/Makefile | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) 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 -- cgit v1.2.3