diff options
author | obache <obache@pkgsrc.org> | 2012-05-26 13:09:54 +0000 |
---|---|---|
committer | obache <obache@pkgsrc.org> | 2012-05-26 13:09:54 +0000 |
commit | e06b34d7309a8f2e04a89a4421d056e6c437dfea (patch) | |
tree | 0b4feb63d4f4331d416f7ec59075931adb54620e /mk/tools/tools.NetBSD.mk | |
parent | 6b7f579b30bf9c6b1702f5a0c824c683bd6df8c5 (diff) | |
download | pkgsrc-e06b34d7309a8f2e04a89a4421d056e6c437dfea.tar.gz |
Only pick up /sbin/ldconfig as ldconfig tool for the case OBJECT_FMT=="a.out".
Fixes PR 46445.
Diffstat (limited to 'mk/tools/tools.NetBSD.mk')
-rw-r--r-- | mk/tools/tools.NetBSD.mk | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/mk/tools/tools.NetBSD.mk b/mk/tools/tools.NetBSD.mk index b9f3ba45667..90a435bd7db 100644 --- a/mk/tools/tools.NetBSD.mk +++ b/mk/tools/tools.NetBSD.mk @@ -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 @@ TOOLS_PLATFORM.install?= ${TOOLDIR}/bin/${MACHINE_GNU_PLATFORM}-install .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 |