diff options
author | joerg <joerg> | 2008-10-08 15:38:46 +0000 |
---|---|---|
committer | joerg <joerg> | 2008-10-08 15:38:46 +0000 |
commit | 61c714c84b675af136352c6ed92693d98cda8d4a (patch) | |
tree | d8a9c5ebd5958783ebea5cbffe98614d64b58e54 /mk | |
parent | 34527c7612bc27c1fda6c1214bef0081ae1ec04a (diff) | |
download | pkgsrc-61c714c84b675af136352c6ed92693d98cda8d4a.tar.gz |
Allow use of fetch as tool.
Diffstat (limited to 'mk')
-rw-r--r-- | mk/tools/replace.mk | 12 |
1 files changed, 11 insertions, 1 deletions
diff --git a/mk/tools/replace.mk b/mk/tools/replace.mk index ecd14ec0285..30721f193e7 100644 --- a/mk/tools/replace.mk +++ b/mk/tools/replace.mk @@ -1,4 +1,4 @@ -# $NetBSD: replace.mk,v 1.213 2008/05/25 16:55:32 joerg Exp $ +# $NetBSD: replace.mk,v 1.214 2008/10/08 15:38:46 joerg Exp $ # # Copyright (c) 2005 The NetBSD Foundation, Inc. # All rights reserved. @@ -329,6 +329,16 @@ TOOLS_PATH.csh= ${TOOLS_PREFIX.csh}/bin/tcsh . endif .endif +.if !defined(TOOLS_IGNORE.fetch) && !empty(_USE_TOOLS:Mfetch) +. if !empty(PKGPATH:Mnet/fetch) +MAKEFLAGS+= TOOLS_IGNORE.fetch= +. elif !empty(_TOOLS_USE_PKGSRC.fetch:M[yY][eE][sS]) +TOOLS_DEPENDS.fetch?= fetch-[0-9]*:../../net/fetch +TOOLS_FIND_PREFIX+= TOOLS_PREFIX.fetch=fetch +TOOLS_PATH.fetch= ${TOOLS_PREFIX.fetch}/bin/fetch +. endif +.endif + .if !defined(TOOLS_IGNORE.file) && !empty(_USE_TOOLS:Mfile) . if !empty(PKGPATH:Msysutils/file) MAKEFLAGS+= TOOLS_IGNORE.file= |