summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorrichard <richard@pkgsrc.org>2015-09-25 01:57:56 +0000
committerrichard <richard@pkgsrc.org>2015-09-25 01:57:56 +0000
commit53a9e28a153d54ecedb40886090ebf13f1d28df4 (patch)
tree796bed43de3f13d886f06eb16197a415477f98f8
parentaf9aaea96322e9271dcaa9852fb7d8dfa6bf1133 (diff)
downloadpkgsrc-53a9e28a153d54ecedb40886090ebf13f1d28df4.tar.gz
define TOOLS_PLATFORM.ld in tools.SunOS.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