pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/mk/tools Only pick up /sbin/ldconfig as ldconfig tool ...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/95c16447138b
branches:  trunk
changeset: 604226:95c16447138b
user:      obache <obache%pkgsrc.org@localhost>
date:      Sat May 26 13:09:54 2012 +0000

description:
Only pick up /sbin/ldconfig as ldconfig tool for the case OBJECT_FMT=="a.out".
Fixes PR 46445.

diffstat:

 mk/tools/tools.NetBSD.mk |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (18 lines):

diff -r de89a434f5c7 -r 95c16447138b mk/tools/tools.NetBSD.mk
--- a/mk/tools/tools.NetBSD.mk  Sat May 26 11:48:30 2012 +0000
+++ b/mk/tools/tools.NetBSD.mk  Sat May 26 13:09:54 2012 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: tools.NetBSD.mk,v 1.45 2012/01/14 07:44:34 obache Exp $
+# $NetBSD: tools.NetBSD.mk,v 1.46 2012/05/26 13:09:54 obache Exp $
 #
 # System-supplied tools for the NetBSD operating system.
 
@@ -53,7 +53,7 @@
 .if exists(/usr/bin/install-info)
 TOOLS_PLATFORM.install-info?=  /usr/bin/install-info
 .endif
-.if exists(/sbin/ldconfig)
+.if exists(/sbin/ldconfig) && ${OBJECT_FMT} == "a.out"
 TOOLS_PLATFORM.ldconfig?=      /sbin/ldconfig
 .endif
 TOOLS_PLATFORM.ksh?=           /bin/ksh



Home | Main Index | Thread Index | Old Index