From 952c9705db60cb6cb3d59aa8a03ab822bc657d4c Mon Sep 17 00:00:00 2001 From: joerg Date: Thu, 8 Nov 2007 19:31:40 +0000 Subject: Allow both gzip and gzip-base to provide gzip. --- mk/tools/replace.mk | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) (limited to 'mk') diff --git a/mk/tools/replace.mk b/mk/tools/replace.mk index 67bbce3e98d..e2388f64037 100644 --- a/mk/tools/replace.mk +++ b/mk/tools/replace.mk @@ -1,4 +1,4 @@ -# $NetBSD: replace.mk,v 1.200 2007/09/30 12:22:44 rillig Exp $ +# $NetBSD: replace.mk,v 1.201 2007/11/08 19:31:40 joerg Exp $ # # Copyright (c) 2005 The NetBSD Foundation, Inc. # All rights reserved. @@ -403,35 +403,35 @@ TOOLS_PATH.gtar= ${TOOLS_PREFIX.gtar}/bin/${GNU_PROGRAM_PREFIX}tar .endif .if !defined(TOOLS_IGNORE.gunzip) && !empty(_USE_TOOLS:Mgunzip) -. if !empty(PKGPATH:Marchivers/gzip-base) +. if !empty(PKGPATH:Marchivers/gzip) MAKEFLAGS+= TOOLS_IGNORE.gunzip= . elif !empty(_TOOLS_USE_PKGSRC.gunzip:M[yY][eE][sS]) -TOOLS_DEPENDS.gunzip?= gzip-base>=1.2.4b:../../archivers/gzip-base +TOOLS_DEPENDS.gunzip?= {gzip>=1.2.4b,gzip-base>=1.2.4b}:../../archivers/gzip TOOLS_CREATE+= gunzip -TOOLS_FIND_PREFIX+= TOOLS_PREFIX.gunzip=gzip-base +TOOLS_FIND_PREFIX+= TOOLS_PREFIX.gunzip=gzip TOOLS_PATH.gunzip= ${TOOLS_PREFIX.gunzip}/bin/gunzip TOOLS_ARGS.gunzip= -f . endif .endif .if !defined(TOOLS_IGNORE.gzcat) && !empty(_USE_TOOLS:Mgzcat) -. if !empty(PKGPATH:Marchivers/gzip-base) +. if !empty(PKGPATH:Marchivers/gzip) MAKEFLAGS+= TOOLS_IGNORE.gzcat= . elif !empty(_TOOLS_USE_PKGSRC.gzcat:M[yY][eE][sS]) -TOOLS_DEPENDS.gzcat?= gzip-base>=1.2.4b:../../archivers/gzip-base +TOOLS_DEPENDS.gzcat?= {gzip>=1.2.4b,gzip-base>=1.2.4b}:../../archivers/gzip TOOLS_CREATE+= gzcat -TOOLS_FIND_PREFIX+= TOOLS_PREFIX.gzcat=gzip-base +TOOLS_FIND_PREFIX+= TOOLS_PREFIX.gzcat=gzip TOOLS_PATH.gzcat= ${TOOLS_PREFIX.gzcat}/bin/zcat . endif .endif .if !defined(TOOLS_IGNORE.gzip) && !empty(_USE_TOOLS:Mgzip) -. if !empty(PKGPATH:Marchivers/gzip-base) +. if !empty(PKGPATH:Marchivers/gzip) MAKEFLAGS+= TOOLS_IGNORE.gzip= . elif !empty(_TOOLS_USE_PKGSRC.gzip:M[yY][eE][sS]) -TOOLS_DEPENDS.gzip?= gzip-base>=1.2.4b:../../archivers/gzip-base +TOOLS_DEPENDS.gzip?= {gzip>=1.2.4b,gzip-base>=1.2.4b}:../../archivers/gzip TOOLS_CREATE+= gzip -TOOLS_FIND_PREFIX+= TOOLS_PREFIX.gzip=gzip-base +TOOLS_FIND_PREFIX+= TOOLS_PREFIX.gzip=gzip TOOLS_PATH.gzip= ${TOOLS_PREFIX.gzip}/bin/gzip TOOLS_ARGS.gzip= -nf ${GZIP} . endif -- cgit v1.2.3