You've already forked macports-ports
mirror of
https://github.com/macports/macports-ports.git
synced 2026-07-12 18:20:25 -07:00
python314: fix universal2 build on Intel
Closes: https://trac.macports.org/ticket/73956
This commit is contained in:
@@ -205,6 +205,7 @@ post-destroot {
|
||||
}
|
||||
|
||||
variant universal {
|
||||
patchfiles-append hacl_universal2.patch
|
||||
post-patch {
|
||||
set universal_arch_flags {}
|
||||
set arch_run_32bit {}
|
||||
|
||||
@@ -0,0 +1,11 @@
|
||||
--- configure.orig 2026-05-03 06:30:45
|
||||
+++ configure 2026-05-03 06:52:57
|
||||
@@ -32155,7 +32155,7 @@
|
||||
LIBHACL_LDFLAGS= # for now, no specific linker flags are needed
|
||||
|
||||
|
||||
-if test "$UNIVERSAL_ARCHS" = "universal2" -o \
|
||||
+if test \( "${UNIVERSALSDK}" != "/" -a "$dep_target_major" -ge 11 \) -o \
|
||||
\( "$build_cpu" = "aarch64" -a "$build_vendor" = "apple" \)
|
||||
then
|
||||
use_hacl_universal2_impl=yes
|
||||
Reference in New Issue
Block a user