diff options
author | joerg <joerg@pkgsrc.org> | 2008-05-25 16:55:32 +0000 |
---|---|---|
committer | joerg <joerg@pkgsrc.org> | 2008-05-25 16:55:32 +0000 |
commit | 695e87e307b946e3ff84821706a5c39e827bc5e1 (patch) | |
tree | 4c98aad183777accb7128baad3ee400b75ac865b /mk/tools | |
parent | ca3497fe64bccf418645dd222efed911addb71a8 (diff) | |
download | pkgsrc-695e87e307b946e3ff84821706a5c39e827bc5e1.tar.gz |
Add bsdtar to the tools list.
Diffstat (limited to 'mk/tools')
-rw-r--r-- | mk/tools/replace.mk | 13 |
1 files changed, 12 insertions, 1 deletions
diff --git a/mk/tools/replace.mk b/mk/tools/replace.mk index 7b23cb88744..ecd14ec0285 100644 --- a/mk/tools/replace.mk +++ b/mk/tools/replace.mk @@ -1,4 +1,4 @@ -# $NetBSD: replace.mk,v 1.212 2008/05/25 16:27:05 joerg Exp $ +# $NetBSD: replace.mk,v 1.213 2008/05/25 16:55:32 joerg Exp $ # # Copyright (c) 2005 The NetBSD Foundation, Inc. # All rights reserved. @@ -258,6 +258,17 @@ TOOLS_CMD.bison-yacc= ${TOOLS_DIR}/bin/yacc TOOLS_VALUE_GNU.bison-yacc= ${TOOLS_CMDLINE.bison-yacc} .endif +.if !defined(TOOLS_IGNORE.bsdtar) && !empty(_USE_TOOLS:Mbsdtar) +. if !empty(PKGPATH:Marchivers/bsdtar) +MAKEFLAGS+= TOOLS_IGNORE.bsdtar= +. elif !empty(_TOOLS_USE_PKGSRC.bsdtar:M[yY][eE][sS]) +TOOLS_DEPENDS.bsdtar?= bsdtar-[0-9]*:../../archivers/bsdtar +TOOLS_CREATE+= bsdtar +TOOLS_FIND_PREFIX+= TOOLS_PREFIX.bsdtar=bsdtar +TOOLS_PATH.bsdtar= ${TOOLS_PREFIX.bsdtar}/bin/bsdtar +. endif +.endif + .if !defined(TOOLS_IGNORE.byacc) && !empty(_USE_TOOLS:Mbyacc) . if !empty(PKGPATH:Mdevel/byacc) MAKEFLAGS+= TOOLS_IGNORE.byacc= |