summaryrefslogtreecommitdiff
path: root/mk
diff options
context:
space:
mode:
authorrichard <richard>2015-09-25 01:57:56 +0000
committerrichard <richard>2015-09-25 01:57:56 +0000
commit2feb63dca2bccfe9378344d595e67a1bc2594497 (patch)
tree796bed43de3f13d886f06eb16197a415477f98f8 /mk
parent3bd6a009ac16f99e367133c34b5cd2547f9f01c0 (diff)
downloadpkgsrc-2feb63dca2bccfe9378344d595e67a1bc2594497.tar.gz
define TOOLS_PLATFORM.ld in tools.SunOS.mk
Diffstat (limited to 'mk')
-rw-r--r--mk/tools/tools.SunOS.mk7
1 files changed, 6 insertions, 1 deletions
diff --git a/mk/tools/tools.SunOS.mk b/mk/tools/tools.SunOS.mk
index a705f3372df..000880cd318 100644
--- a/mk/tools/tools.SunOS.mk
+++ b/mk/tools/tools.SunOS.mk
@@ -1,4 +1,4 @@
-# $NetBSD: tools.SunOS.mk,v 1.48 2015/06/19 15:22:44 jperkin Exp $
+# $NetBSD: tools.SunOS.mk,v 1.49 2015/09/25 01:57:56 richard Exp $
#
# System-supplied tools for the Solaris operating system.
#
@@ -134,6 +134,11 @@ TOOLS_PLATFORM.install?= /usr/bin/ginstall
TOOLS_PLATFORM.install?= /usr/ucb/install
.endif
TOOLS_PLATFORM.ksh?= /bin/ksh
+.if exists(/usr/bin/ld)
+TOOLS_PLATFORM.ld?= /usr/bin/ld
+.elif exists(/usr/ccs/bin/ld)
+TOOLS_PLATFORM.ld?= /usr/ccs/bin/ld
+.endif
TOOLS_PLATFORM.ln?= /usr/bin/ln
TOOLS_PLATFORM.ls?= /usr/bin/ls
TOOLS_PLATFORM.m4?= /usr/ccs/bin/m4