pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/mk/tools Add bsdtar to the tools list.
details: https://anonhg.NetBSD.org/pkgsrc/rev/7971a516755b
branches: trunk
changeset: 542698:7971a516755b
user: joerg <joerg%pkgsrc.org@localhost>
date: Sun May 25 16:55:32 2008 +0000
description:
Add bsdtar to the tools list.
diffstat:
mk/tools/replace.mk | 13 ++++++++++++-
1 files changed, 12 insertions(+), 1 deletions(-)
diffs (27 lines):
diff -r 5921e672c1cc -r 7971a516755b mk/tools/replace.mk
--- a/mk/tools/replace.mk Sun May 25 16:27:05 2008 +0000
+++ b/mk/tools/replace.mk Sun May 25 16:55:32 2008 +0000
@@ -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_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=
Home |
Main Index |
Thread Index |
Old Index