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 10 09:23:54 UTC 2023

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

Log Message:
mk: Limit Darwin ECHO_N hack to /bin/sh.


To generate a diff of this commit:
cvs rdiff -u -r1.124 -r1.125 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.124 pkgsrc/mk/platform/Darwin.mk:1.125
--- pkgsrc/mk/platform/Darwin.mk:1.124  Thu Feb  2 21:24:43 2023
+++ pkgsrc/mk/platform/Darwin.mk        Wed May 10 09:23:54 2023
@@ -1,4 +1,4 @@
-# $NetBSD: Darwin.mk,v 1.124 2023/02/02 21:24:43 jklos Exp $
+# $NetBSD: Darwin.mk,v 1.125 2023/05/10 09:23:54 jperkin Exp $
 #
 # Variable definitions for the Darwin operating system.
 
@@ -39,7 +39,7 @@ 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
+.if ${OPSYS_VERSION} >= 100500 && ${TOOLS_PLATFORM.sh} == "/bin/sh"
 ECHO_N?=       /bin/echo -n
 .else
 ECHO_N?=       ${ECHO} -n



Home | Main Index | Thread Index | Old Index