pkgsrc-Changes archive

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

CVS commit: pkgsrc/mk/platform



Module Name:    pkgsrc
Committed By:   jperkin
Date:           Wed May 24 17:51:24 UTC 2023

Modified Files:
        pkgsrc/mk/platform: Darwin.mk

Log Message:
mk: Handle case where a shell wasn't bootstrapped.


To generate a diff of this commit:
cvs rdiff -u -r1.126 -r1.127 pkgsrc/mk/platform/Darwin.mk

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/mk/platform/Darwin.mk
diff -u pkgsrc/mk/platform/Darwin.mk:1.126 pkgsrc/mk/platform/Darwin.mk:1.127
--- pkgsrc/mk/platform/Darwin.mk:1.126  Mon May 22 14:55:04 2023
+++ pkgsrc/mk/platform/Darwin.mk        Wed May 24 17:51:24 2023
@@ -1,4 +1,4 @@
-# $NetBSD: Darwin.mk,v 1.126 2023/05/22 14:55:04 tnn Exp $
+# $NetBSD: Darwin.mk,v 1.127 2023/05/24 17:51:24 jperkin Exp $
 #
 # Variable definitions for the Darwin operating system.
 
@@ -39,7 +39,8 @@ X11_TYPE?=    native
 CPP=           ${CC} -E ${CPP_PRECOMP_FLAGS}
 .endif
 # bash invoked as /bin/sh on Leopard and newer does not support echo -n.
-.if ${OPSYS_VERSION} >= 100500 && ${TOOLS_PLATFORM.sh} == "/bin/sh"
+.if ${OPSYS_VERSION} >= 100500 && \
+  (!defined(TOOLS_PLATFORM.sh) || ${TOOLS_PLATFORM.sh} == "/bin/sh")
 ECHO_N?=       /bin/echo -n
 .else
 ECHO_N?=       ${ECHO} -n



Home | Main Index | Thread Index | Old Index