From 56e938ff5ec5bd8160cc76c2f73d714cf5afd17d Mon Sep 17 00:00:00 2001 From: jperkin Date: Tue, 22 Nov 2022 09:09:19 +0000 Subject: 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. --- mk/tools/tools.SunOS.mk | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'mk/tools') 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) -- cgit v1.2.3