pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/mk/tools Add ident as tool and use /usr/bin/ident on t...
details: https://anonhg.NetBSD.org/pkgsrc/rev/67799359ef8b
branches: trunk
changeset: 530224:67799359ef8b
user: joerg <joerg%pkgsrc.org@localhost>
date: Tue Jun 19 14:21:18 2007 +0000
description:
Add ident as tool and use /usr/bin/ident on those platforms I know to
have it. Fallback to devel/rcs otherwise.
Commited during freeze as it is a dependency of pbulk.
diffstat:
mk/tools/replace.mk | 13 ++++++++++++-
mk/tools/tools.Darwin.mk | 3 ++-
mk/tools/tools.DragonFly.mk | 3 ++-
mk/tools/tools.FreeBSD.mk | 3 ++-
mk/tools/tools.Linux.mk | 5 ++++-
mk/tools/tools.NetBSD.mk | 3 ++-
mk/tools/tools.OpenBSD.mk | 3 ++-
7 files changed, 26 insertions(+), 7 deletions(-)
diffs (131 lines):
diff -r 3bbf5047cdfa -r 67799359ef8b mk/tools/replace.mk
--- a/mk/tools/replace.mk Tue Jun 19 14:19:03 2007 +0000
+++ b/mk/tools/replace.mk Tue Jun 19 14:21:18 2007 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: replace.mk,v 1.190 2007/05/29 03:00:44 dmcmahill Exp $
+# $NetBSD: replace.mk,v 1.191 2007/06/19 14:21:18 joerg Exp $
#
# Copyright (c) 2005 The NetBSD Foundation, Inc.
# All rights reserved.
@@ -435,6 +435,17 @@
. endif
.endif
+.if !defined(TOOLS_IGNORE.ident) && !empty(_USE_TOOLS:Mident)
+. if !empty(PKGPATH:Mdevel/rcs)
+MAKEFLAGS+= TOOLS_IGNORE.ident=
+. elif !empty(_TOOLS_USE_PKGSRC.ident:M[yY][eE][sS])
+TOOLS_DEPENDS.ident?= rcs-[0-9]*:../../devel/rcs
+TOOLS_CREATE+= ident
+TOOLS_FIND_PREFIX+= TOOLS_PREFIX.ident=rcs
+TOOLS_PATH.ident= ${TOOLS_PREFIX.ident}/bin/ident
+. endif
+.endif
+
.if !defined(TOOLS_IGNORE.install-info) && !empty(_USE_TOOLS:Minstall-info)
. if !empty(PKGPATH:Mpkgtools/pkg_install-info)
MAKEFLAGS+= TOOLS_IGNORE.install-info=
diff -r 3bbf5047cdfa -r 67799359ef8b mk/tools/tools.Darwin.mk
--- a/mk/tools/tools.Darwin.mk Tue Jun 19 14:19:03 2007 +0000
+++ b/mk/tools/tools.Darwin.mk Tue Jun 19 14:21:18 2007 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: tools.Darwin.mk,v 1.31 2006/12/13 01:03:14 minskim Exp $
+# $NetBSD: tools.Darwin.mk,v 1.32 2007/06/19 14:21:19 joerg Exp $
#
# System-supplied tools for the Darwin (Mac OS X) operating system.
@@ -43,6 +43,7 @@
TOOLS_PLATFORM.head?= /usr/bin/head
TOOLS_PLATFORM.hostname?= /bin/hostname
TOOLS_PLATFORM.id?= /usr/bin/id
+TOOLS_PLATFORM.ident?= /usr/bin/ident
TOOLS_PLATFORM.install?= /usr/bin/install
.if exists(/usr/bin/install-info)
TOOLS_PLATFORM.install-info?= /usr/bin/install-info
diff -r 3bbf5047cdfa -r 67799359ef8b mk/tools/tools.DragonFly.mk
--- a/mk/tools/tools.DragonFly.mk Tue Jun 19 14:19:03 2007 +0000
+++ b/mk/tools/tools.DragonFly.mk Tue Jun 19 14:21:18 2007 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: tools.DragonFly.mk,v 1.28 2007/02/07 19:25:33 joerg Exp $
+# $NetBSD: tools.DragonFly.mk,v 1.29 2007/06/19 14:21:19 joerg Exp $
#
# System-supplied tools for the DragonFly operating system.
@@ -39,6 +39,7 @@
TOOLS_PLATFORM.head?= /usr/bin/head
TOOLS_PLATFORM.hostname?= /bin/hostname
TOOLS_PLATFORM.id?= /usr/bin/id
+TOOLS_PLATFORM.ident?= /usr/bin/ident
TOOLS_PLATFORM.install?= /usr/bin/install
.if exists(/usr/bin/install-info)
TOOLS_PLATFORM.install-info?= /usr/bin/install-info
diff -r 3bbf5047cdfa -r 67799359ef8b mk/tools/tools.FreeBSD.mk
--- a/mk/tools/tools.FreeBSD.mk Tue Jun 19 14:19:03 2007 +0000
+++ b/mk/tools/tools.FreeBSD.mk Tue Jun 19 14:21:18 2007 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: tools.FreeBSD.mk,v 1.28 2006/07/05 04:32:10 jlam Exp $
+# $NetBSD: tools.FreeBSD.mk,v 1.29 2007/06/19 14:21:19 joerg Exp $
#
# System-supplied tools for the FreeBSD operating system.
@@ -38,6 +38,7 @@
TOOLS_PLATFORM.head?= /usr/bin/head
TOOLS_PLATFORM.hostname?= /bin/hostname
TOOLS_PLATFORM.id?= /usr/bin/id
+TOOLS_PLATFORM.ident?= /usr/bin/ident
TOOLS_PLATFORM.install?= /usr/bin/install
.if exists(/usr/bin/install-info)
TOOLS_PLATFORM.install-info?= /usr/bin/install-info
diff -r 3bbf5047cdfa -r 67799359ef8b mk/tools/tools.Linux.mk
--- a/mk/tools/tools.Linux.mk Tue Jun 19 14:19:03 2007 +0000
+++ b/mk/tools/tools.Linux.mk Tue Jun 19 14:21:18 2007 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: tools.Linux.mk,v 1.40 2007/03/17 00:14:50 reed Exp $
+# $NetBSD: tools.Linux.mk,v 1.41 2007/06/19 14:21:19 joerg Exp $
#
# System-supplied tools for the Linux operating system.
@@ -117,6 +117,9 @@
.elif exists(/usr/bin/id)
TOOLS_PLATFORM.id?= /usr/bin/id
.endif
+.if exists(/usr/bin/ident)
+TOOLS_PLATFORM.ident?= /usr/bin/ident
+.endif
.if exists(/bin/install)
TOOLS_PLATFORM.install?= /bin/install
.else
diff -r 3bbf5047cdfa -r 67799359ef8b mk/tools/tools.NetBSD.mk
--- a/mk/tools/tools.NetBSD.mk Tue Jun 19 14:19:03 2007 +0000
+++ b/mk/tools/tools.NetBSD.mk Tue Jun 19 14:21:18 2007 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: tools.NetBSD.mk,v 1.33 2006/07/05 04:32:10 jlam Exp $
+# $NetBSD: tools.NetBSD.mk,v 1.34 2007/06/19 14:21:19 joerg Exp $
#
# System-supplied tools for the NetBSD operating system.
@@ -43,6 +43,7 @@
TOOLS_PLATFORM.head?= /usr/bin/head
TOOLS_PLATFORM.hostname?= /bin/hostname
TOOLS_PLATFORM.id?= /usr/bin/id
+TOOLS_PLATFORM.ident?= /usr/bin/ident
TOOLS_PLATFORM.install?= /usr/bin/install
.if exists(/usr/bin/install-info)
TOOLS_PLATFORM.install-info?= /usr/bin/install-info
diff -r 3bbf5047cdfa -r 67799359ef8b mk/tools/tools.OpenBSD.mk
--- a/mk/tools/tools.OpenBSD.mk Tue Jun 19 14:19:03 2007 +0000
+++ b/mk/tools/tools.OpenBSD.mk Tue Jun 19 14:21:18 2007 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: tools.OpenBSD.mk,v 1.27 2007/04/13 06:56:20 hiramatsu Exp $
+# $NetBSD: tools.OpenBSD.mk,v 1.28 2007/06/19 14:21:19 joerg Exp $
#
# System-supplied tools for the OpenBSD operating system.
@@ -42,6 +42,7 @@
TOOLS_PLATFORM.head?= /usr/bin/head
TOOLS_PLATFORM.hostname?= /bin/hostname
TOOLS_PLATFORM.id?= /usr/bin/id
+TOOLS_PLATFORM.ident?= /usr/bin/ident
TOOLS_PLATFORM.install?= /usr/bin/install
.if exists(/usr/bin/install-info)
TOOLS_PLATFORM.install-info?= /usr/bin/install-info
Home |
Main Index |
Thread Index |
Old Index