pkgsrc-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: [pkgsrc-2024Q4] pkgsrc/mk/platform
Module Name: pkgsrc
Committed By: gdt
Date: Sun Jan 12 02:10:25 UTC 2025
Modified Files:
pkgsrc/mk/platform [pkgsrc-2024Q4]: Darwin.mk
Log Message:
Darwin.mk: Extend explanation of MACOSX_DEPLOYMENT_TARGET
It was too hard to figure out. One needs to pass e.g. just 14.5.
To generate a diff of this commit:
cvs rdiff -u -r1.140.6.1 -r1.140.6.2 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.140.6.1 pkgsrc/mk/platform/Darwin.mk:1.140.6.2
--- pkgsrc/mk/platform/Darwin.mk:1.140.6.1 Sun Jan 12 01:06:41 2025
+++ pkgsrc/mk/platform/Darwin.mk Sun Jan 12 02:10:25 2025
@@ -1,4 +1,4 @@
-# $NetBSD: Darwin.mk,v 1.140.6.1 2025/01/12 01:06:41 gdt Exp $
+# $NetBSD: Darwin.mk,v 1.140.6.2 2025/01/12 02:10:25 gdt Exp $
#
# Variable definitions for the Darwin operating system.
@@ -100,9 +100,13 @@ MAKEFLAGS+= OSX_VERSION=${OSX_VERSION:Q
.endif
#
-# If the user has set MACOSX_DEPLOYMENT_TARGET (ideally at bootstrap time) to
-# select a specific SDK then we prefer that.
-#
+# If the user has set MACOSX_DEPLOYMENT_TARGET (ideally at bootstrap
+# time) to select a specific SDK then we prefer that. An example of
+# an sdk name acceptable to xcrun is "macosx15.1". Because the code
+# prepends macosx, one would invoke
+# bmake MACOSX_DEPLOYMENT_TARGET=14.5 package
+# (SDK names are not directory names, and need to be the full version,
+# rather than major only; "MacOSX15" will fail.)
.if defined(MACOSX_DEPLOYMENT_TARGET)
. if !defined(OSX_SDK_PATH)
OSX_SDK_PATH!= /usr/bin/xcrun --sdk macosx${MACOSX_DEPLOYMENT_TARGET} \
Home |
Main Index |
Thread Index |
Old Index