summaryrefslogtreecommitdiff
path: root/mk
diff options
context:
space:
mode:
authorjperkin <jperkin@pkgsrc.org>2022-11-22 09:09:19 +0000
committerjperkin <jperkin@pkgsrc.org>2022-11-22 09:09:19 +0000
commit56e938ff5ec5bd8160cc76c2f73d714cf5afd17d (patch)
tree454bc765b76f06c5405885a99cd5f69d5a745824 /mk
parenta9af7126ad5fb314744046ed17c7e2d637742a10 (diff)
downloadpkgsrc-56e938ff5ec5bd8160cc76c2f73d714cf5afd17d.tar.gz
mk/tools: Switch to pwd builtin on SunOS.
pkgsrc switched to using /bin/pwd back in 2003 due to some undocumented errors in buildlink2, but I don't see any failures with this in bulk builds and it avoids a large number of unnecessary execs. Limited to SunOS for now as that's all I've tested, but other platforms are more than welcome to follow suit.
Diffstat (limited to 'mk')
-rw-r--r--mk/tools/tools.SunOS.mk4
1 files changed, 2 insertions, 2 deletions
diff --git a/mk/tools/tools.SunOS.mk b/mk/tools/tools.SunOS.mk
index 10a06197379..3d9ac856b5d 100644
--- a/mk/tools/tools.SunOS.mk
+++ b/mk/tools/tools.SunOS.mk
@@ -1,4 +1,4 @@
-# $NetBSD: tools.SunOS.mk,v 1.53 2022/11/22 09:06:08 jperkin Exp $
+# $NetBSD: tools.SunOS.mk,v 1.54 2022/11/22 09:09:19 jperkin Exp $
#
# System-supplied tools for the Solaris and illumos operating systems.
#
@@ -171,7 +171,7 @@ TOOLS_PLATFORM.openssl?= /usr/bin/openssl
#TOOLS_PLATFORM.pod2man?= /usr/perl5/bin/pod2man
#.endif
TOOLS_PLATFORM.printf?= /bin/printf
-TOOLS_PLATFORM.pwd?= /bin/pwd
+TOOLS_PLATFORM.pwd?= pwd # shell builtin
.if exists(/usr/gnu/bin/readelf)
TOOLS_PLATFORM.readelf?= /usr/gnu/bin/readelf
.elif exists(/usr/sfw/bin/greadelf)