pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/mk/tools Teach the new tools framework about ldconfig....



details:   https://anonhg.NetBSD.org/pkgsrc/rev/b7d71f9642c0
branches:  trunk
changeset: 493268:b7d71f9642c0
user:      jlam <jlam%pkgsrc.org@localhost>
date:      Mon May 02 04:42:08 2005 +0000

description:
Teach the new tools framework about ldconfig.  This must be provided by
tools.${OPSYS}.mk, so at the very worst, it must be set to "true".

diffstat:

 mk/tools/defaults.mk        |  3 ++-
 mk/tools/tools.AIX.mk       |  3 ++-
 mk/tools/tools.BSDOS.mk     |  3 ++-
 mk/tools/tools.Darwin.mk    |  3 ++-
 mk/tools/tools.DragonFly.mk |  3 ++-
 mk/tools/tools.FreeBSD.mk   |  3 ++-
 mk/tools/tools.IRIX.mk      |  3 ++-
 mk/tools/tools.Interix.mk   |  3 ++-
 mk/tools/tools.Linux.mk     |  3 ++-
 mk/tools/tools.NetBSD.mk    |  7 ++++++-
 mk/tools/tools.OSF1.mk      |  3 ++-
 mk/tools/tools.OpenBSD.mk   |  3 ++-
 mk/tools/tools.SunOS.mk     |  3 ++-
 mk/tools/tools.UnixWare.mk  |  3 ++-
 14 files changed, 32 insertions(+), 14 deletions(-)

diffs (242 lines):

diff -r 75a2f3d0d54c -r b7d71f9642c0 mk/tools/defaults.mk
--- a/mk/tools/defaults.mk      Mon May 02 04:35:59 2005 +0000
+++ b/mk/tools/defaults.mk      Mon May 02 04:42:08 2005 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: defaults.mk,v 1.2 2005/05/02 02:50:34 jlam Exp $
+# $NetBSD: defaults.mk,v 1.3 2005/05/02 04:42:08 jlam Exp $
 
 .if !defined(TOOLS_DEFAULTS_MK)
 TOOLS_DEFAULTS_MK=     defined
@@ -47,6 +47,7 @@
 _TOOLS_VARNAME.head=           HEAD
 _TOOLS_VARNAME.hostname=       HOSTNAME_CMD
 _TOOLS_VARNAME.id=             ID
+_TOOLS_VARNAME.ldconfig=       LDCONFIG
 _TOOLS_VARNAME.lex=            LEX
 _TOOLS_VARNAME.ln=             LN
 _TOOLS_VARNAME.ls=             LS
diff -r 75a2f3d0d54c -r b7d71f9642c0 mk/tools/tools.AIX.mk
--- a/mk/tools/tools.AIX.mk     Mon May 02 04:35:59 2005 +0000
+++ b/mk/tools/tools.AIX.mk     Mon May 02 04:42:08 2005 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: tools.AIX.mk,v 1.3 2005/04/28 17:30:24 jlam Exp $
+# $NetBSD: tools.AIX.mk,v 1.4 2005/05/02 04:42:08 jlam Exp $
 #
 # System-supplied tools for the AIX operating system.
 
@@ -26,6 +26,7 @@
 TOOLS_PLATFORM.head?=          /usr/bin/head
 TOOLS_PLATFORM.hostname?=      /bin/hostname
 TOOLS_PLATFORM.id?=            /usr/bin/id
+TOOLS_PLATFORM.ldconfig?=      /sbin/ldconfig
 TOOLS_PLATFORM.ln?=            /bin/ln
 TOOLS_PLATFORM.ls?=            /bin/ls
 TOOLS_PLATFORM.m4?=            /usr/bin/m4
diff -r 75a2f3d0d54c -r b7d71f9642c0 mk/tools/tools.BSDOS.mk
--- a/mk/tools/tools.BSDOS.mk   Mon May 02 04:35:59 2005 +0000
+++ b/mk/tools/tools.BSDOS.mk   Mon May 02 04:42:08 2005 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: tools.BSDOS.mk,v 1.4 2005/04/28 17:30:24 jlam Exp $
+# $NetBSD: tools.BSDOS.mk,v 1.5 2005/05/02 04:42:08 jlam Exp $
 #
 # System-supplied tools for the BSD/OS operating system.
 
@@ -30,6 +30,7 @@
 TOOLS_PLATFORM.head?=          /usr/bin/head
 TOOLS_PLATFORM.hostname?=      /bin/hostname
 TOOLS_PLATFORM.id?=            /usr/bin/id
+TOOLS_PLATFORM.ldconfig?=      /sbin/ldconfig
 TOOLS_PLATFORM.ln?=            /bin/ln
 TOOLS_PLATFORM.ls?=            /bin/ls
 TOOLS_PLATFORM.m4?=            /usr/bin/m4
diff -r 75a2f3d0d54c -r b7d71f9642c0 mk/tools/tools.Darwin.mk
--- a/mk/tools/tools.Darwin.mk  Mon May 02 04:35:59 2005 +0000
+++ b/mk/tools/tools.Darwin.mk  Mon May 02 04:42:08 2005 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: tools.Darwin.mk,v 1.3 2005/04/28 17:30:24 jlam Exp $
+# $NetBSD: tools.Darwin.mk,v 1.4 2005/05/02 04:42:08 jlam Exp $
 #
 # System-supplied tools for the Darwin (Mac OS X) operating system.
 
@@ -31,6 +31,7 @@
 TOOLS_PLATFORM.head?=          /usr/bin/head
 TOOLS_PLATFORM.hostname?=      /bin/hostname
 TOOLS_PLATFORM.id?=            /usr/bin/id
+TOOLS_PLATFORM.ldconfig?=      /sbin/ldconfig
 TOOLS_PLATFORM.ln?=            /bin/ln
 TOOLS_PLATFORM.ls?=            /bin/ls
 TOOLS_PLATFORM.m4?=            /usr/bin/m4
diff -r 75a2f3d0d54c -r b7d71f9642c0 mk/tools/tools.DragonFly.mk
--- a/mk/tools/tools.DragonFly.mk       Mon May 02 04:35:59 2005 +0000
+++ b/mk/tools/tools.DragonFly.mk       Mon May 02 04:42:08 2005 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: tools.DragonFly.mk,v 1.5 2005/05/02 02:50:34 jlam Exp $
+# $NetBSD: tools.DragonFly.mk,v 1.6 2005/05/02 04:42:08 jlam Exp $
 #
 # System-supplied tools for the DragonFly operating system.
 
@@ -31,6 +31,7 @@
 TOOLS_PLATFORM.head?=          /usr/bin/head
 TOOLS_PLATFORM.hostname?=      /bin/hostname
 TOOLS_PLATFORM.id?=            /usr/bin/id
+TOOLS_PLATFORM.ldconfig?=      /sbin/ldconfig
 TOOLS_PLATFORM.lex?=           /usr/bin/lex
 TOOLS_PLATFORM.ln?=            /bin/ln
 TOOLS_PLATFORM.ls?=            /bin/ls
diff -r 75a2f3d0d54c -r b7d71f9642c0 mk/tools/tools.FreeBSD.mk
--- a/mk/tools/tools.FreeBSD.mk Mon May 02 04:35:59 2005 +0000
+++ b/mk/tools/tools.FreeBSD.mk Mon May 02 04:42:08 2005 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: tools.FreeBSD.mk,v 1.5 2005/05/02 02:50:34 jlam Exp $
+# $NetBSD: tools.FreeBSD.mk,v 1.6 2005/05/02 04:42:08 jlam Exp $
 #
 # System-supplied tools for the FreeBSD operating system.
 
@@ -33,6 +33,7 @@
 TOOLS_PLATFORM.head?=          /usr/bin/head
 TOOLS_PLATFORM.hostname?=      /bin/hostname
 TOOLS_PLATFORM.id?=            /usr/bin/id
+TOOLS_PLATFORM.ldconfig?=      /sbin/ldconfig
 TOOLS_PLATFORM.lex?=           /usr/bin/lex
 TOOLS_PLATFORM.ln?=            /bin/ln
 TOOLS_PLATFORM.ls?=            /bin/ls
diff -r 75a2f3d0d54c -r b7d71f9642c0 mk/tools/tools.IRIX.mk
--- a/mk/tools/tools.IRIX.mk    Mon May 02 04:35:59 2005 +0000
+++ b/mk/tools/tools.IRIX.mk    Mon May 02 04:42:08 2005 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: tools.IRIX.mk,v 1.3 2005/04/28 17:30:24 jlam Exp $
+# $NetBSD: tools.IRIX.mk,v 1.4 2005/05/02 04:42:08 jlam Exp $
 #
 # System-supplied tools for the IRIX operating system.
 
@@ -33,6 +33,7 @@
 TOOLS_PLATFORM.head?=          /usr/bsd/head
 TOOLS_PLATFORM.hostname?=      /usr/bsd/hostname
 TOOLS_PLATFORM.id?=            /usr/bin/id
+TOOLS_PLATFORM.ldconfig?=      ${TOOLS_PLATFORM.true}
 TOOLS_PLATFORM.ln?=            /sbin/ln
 TOOLS_PLATFORM.ls?=            /sbin/ls
 TOOLS_PLATFORM.m4?=            /sbin/m4
diff -r 75a2f3d0d54c -r b7d71f9642c0 mk/tools/tools.Interix.mk
--- a/mk/tools/tools.Interix.mk Mon May 02 04:35:59 2005 +0000
+++ b/mk/tools/tools.Interix.mk Mon May 02 04:42:08 2005 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: tools.Interix.mk,v 1.3 2005/04/28 17:30:24 jlam Exp $
+# $NetBSD: tools.Interix.mk,v 1.4 2005/05/02 04:42:08 jlam Exp $
 #
 # System-supplied tools for the Interix operating system.
 
@@ -29,6 +29,7 @@
 TOOLS_PLATFORM.head?=          /bin/head
 TOOLS_PLATFORM.hostname?=      /bin/hostname
 TOOLS_PLATFORM.id?=            /bin/id
+TOOLS_PLATFORM.ldconfig?=      /bin/true
 TOOLS_PLATFORM.ln?=            /bin/ln
 TOOLS_PLATFORM.ls?=            /bin/ls
 TOOLS_PLATFORM.m4?=            /bin/m4
diff -r 75a2f3d0d54c -r b7d71f9642c0 mk/tools/tools.Linux.mk
--- a/mk/tools/tools.Linux.mk   Mon May 02 04:35:59 2005 +0000
+++ b/mk/tools/tools.Linux.mk   Mon May 02 04:42:08 2005 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: tools.Linux.mk,v 1.6 2005/04/28 17:30:24 jlam Exp $
+# $NetBSD: tools.Linux.mk,v 1.7 2005/05/02 04:42:08 jlam Exp $
 #
 # System-supplied tools for the Linux operating system.
 
@@ -83,6 +83,7 @@
 .elif exists(/usr/bin/id)
 TOOLS_PLATFORM.id?=            /usr/bin/id
 .endif
+TOOLS_PLATFORM.ldconfig?=      /sbin/ldconfig
 TOOLS_PLATFORM.ln?=            /bin/ln
 TOOLS_PLATFORM.ls?=            /bin/ls
 TOOLS_PLATFORM.m4?=            ${TOOLS_PLATFORM.gm4}
diff -r 75a2f3d0d54c -r b7d71f9642c0 mk/tools/tools.NetBSD.mk
--- a/mk/tools/tools.NetBSD.mk  Mon May 02 04:35:59 2005 +0000
+++ b/mk/tools/tools.NetBSD.mk  Mon May 02 04:42:08 2005 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: tools.NetBSD.mk,v 1.5 2005/05/02 02:50:34 jlam Exp $
+# $NetBSD: tools.NetBSD.mk,v 1.6 2005/05/02 04:42:08 jlam Exp $
 #
 # System-supplied tools for the NetBSD operating system.
 
@@ -41,6 +41,11 @@
 TOOLS_PLATFORM.head?=          /usr/bin/head
 TOOLS_PLATFORM.hostname?=      /bin/hostname
 TOOLS_PLATFORM.id?=            /usr/bin/id
+.if exists(/sbin/ldconfig)
+TOOLS_PLATFORM.ldconfig?=      /sbin/ldconfig
+.else
+TOOLS_PLATFORM.ldconfig?=      ${TOOLS_PLATFORM.true}
+.endif
 TOOLS_PLATFORM.lex?=           /usr/bin/lex
 TOOLS_PLATFORM.ln?=            /bin/ln
 TOOLS_PLATFORM.ls?=            /bin/ls
diff -r 75a2f3d0d54c -r b7d71f9642c0 mk/tools/tools.OSF1.mk
--- a/mk/tools/tools.OSF1.mk    Mon May 02 04:35:59 2005 +0000
+++ b/mk/tools/tools.OSF1.mk    Mon May 02 04:42:08 2005 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: tools.OSF1.mk,v 1.3 2005/04/28 17:30:24 jlam Exp $
+# $NetBSD: tools.OSF1.mk,v 1.4 2005/05/02 04:42:08 jlam Exp $
 #
 # System-supplied tools for the OSF/1 operating system.
 
@@ -29,6 +29,7 @@
 TOOLS_PLATFORM.head?=          /usr/bin/head
 TOOLS_PLATFORM.hostname?=      /bin/hostname
 TOOLS_PLATFORM.id?=            /usr/bin/id
+TOOLS_PLATFORM.ldconfig?=      ${TOOLS_PLATFORM.true}
 TOOLS_PLATFORM.ln?=            /bin/ln
 TOOLS_PLATFORM.ls?=            /bin/ls
 TOOLS_PLATFORM.m4?=            /usr/bin/m4
diff -r 75a2f3d0d54c -r b7d71f9642c0 mk/tools/tools.OpenBSD.mk
--- a/mk/tools/tools.OpenBSD.mk Mon May 02 04:35:59 2005 +0000
+++ b/mk/tools/tools.OpenBSD.mk Mon May 02 04:42:08 2005 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: tools.OpenBSD.mk,v 1.4 2005/04/28 17:30:24 jlam Exp $
+# $NetBSD: tools.OpenBSD.mk,v 1.5 2005/05/02 04:42:08 jlam Exp $
 #
 # System-supplied tools for the OpenBSD operating system.
 
@@ -34,6 +34,7 @@
 TOOLS_PLATFORM.head?=          /usr/bin/head
 TOOLS_PLATFORM.hostname?=      /bin/hostname
 TOOLS_PLATFORM.id?=            /usr/bin/id
+TOOLS_PLATFORM.ldconfig?=      /sbin/ldconfig
 TOOLS_PLATFORM.lex?=           /usr/bin/lex
 TOOLS_PLATFORM.ln?=            /bin/ln
 TOOLS_PLATFORM.ls?=            /bin/ls
diff -r 75a2f3d0d54c -r b7d71f9642c0 mk/tools/tools.SunOS.mk
--- a/mk/tools/tools.SunOS.mk   Mon May 02 04:35:59 2005 +0000
+++ b/mk/tools/tools.SunOS.mk   Mon May 02 04:42:08 2005 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: tools.SunOS.mk,v 1.5 2005/05/02 02:50:34 jlam Exp $
+# $NetBSD: tools.SunOS.mk,v 1.6 2005/05/02 04:42:08 jlam Exp $
 #
 # System-supplied tools for the Solaris operating system.
 
@@ -38,6 +38,7 @@
 TOOLS_PLATFORM.head?=          /usr/bin/head
 TOOLS_PLATFORM.hostname?=      /bin/hostname
 TOOLS_PLATFORM.id?=            /usr/xpg4/bin/id
+TOOLS_PLATFORM.ldconfig?=      ${TOOLS_PLATFORM.true}
 TOOLS_PLATFORM.ln?=            /usr/bin/ln
 TOOLS_PLATFORM.ls?=            /usr/bin/ls
 TOOLS_PLATFORM.m4?=            /usr/ccs/bin/m4
diff -r 75a2f3d0d54c -r b7d71f9642c0 mk/tools/tools.UnixWare.mk
--- a/mk/tools/tools.UnixWare.mk        Mon May 02 04:35:59 2005 +0000
+++ b/mk/tools/tools.UnixWare.mk        Mon May 02 04:42:08 2005 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: tools.UnixWare.mk,v 1.3 2005/04/28 17:30:24 jlam Exp $
+# $NetBSD: tools.UnixWare.mk,v 1.4 2005/05/02 04:42:08 jlam Exp $
 #
 # System-supplied tools for the UnixWare 7 operating system.
 
@@ -26,6 +26,7 @@
 TOOLS_PLATFORM.head?=          /usr/bin/head
 TOOLS_PLATFORM.hostname?=      /usr/bin/hostname
 TOOLS_PLATFORM.id?=            /usr/bin/id
+TOOLS_PLATFORM.ldconfig?=      ${TOOLS_PLATFORM.true}
 TOOLS_PLATFORM.ln?=            /usr/bin/ln
 TOOLS_PLATFORM.ls?=            /usr/bin/ls
 TOOLS_PLATFORM.m4?=            /usr/ccs/bin/m4



Home | Main Index | Thread Index | Old Index