pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/mk/tools mk/tools: Switch to pwd builtin on SunOS.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/e66ae3c918e0
branches:  trunk
changeset: 388525:e66ae3c918e0
user:      jperkin <jperkin%pkgsrc.org@localhost>
date:      Tue Nov 22 09:09:19 2022 +0000

description:
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:

 mk/tools/tools.SunOS.mk |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (18 lines):

diff -r 18e3dd42f047 -r e66ae3c918e0 mk/tools/tools.SunOS.mk
--- a/mk/tools/tools.SunOS.mk   Tue Nov 22 09:06:08 2022 +0000
+++ b/mk/tools/tools.SunOS.mk   Tue Nov 22 09:09:19 2022 +0000
@@ -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.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)



Home | Main Index | Thread Index | Old Index