Changes between Version 3 and Version 4 of Ticket #56991, comment 88


Ignore:
Timestamp:
Oct 1, 2019, 10:21:07 PM (5 years ago)
Author:
Gcenx
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #56991, comment 88

    v3 v4  
    1818         # add extra flags that are conditional on whether we're building universal
    1919}}}
    20 I made a another version that works like the SDK change from upstream.
     20
     21The below patch does the required changes within a single patch
     22{{{
     23diff -u /opt/universal/etc/macports/macports.conf.orig /opt/universal/etc/macports/macports.conf
     24--- /opt/universal/etc/macports/macports.conf.orig                              2019-09-27 22:22:38.000000000 -0400
     25+++ /opt/universal/etc/macports/macports.conf                               2019-09-27 22:22:14.000000000 -0400
     26@@ -1,6 +1,9 @@
     27 # MacPorts system-wide configuration file.
     28 # Commented-out values are defaults unless otherwise noted.
     29 
     30+macosx_deployment_target     10.13
     31+macosx_sdk_version           10.13
     32+
     33 # Directory under which MacPorts should install ports. This must be
     34 # where MacPorts itself is installed.
     35 prefix                 /opt/universal
     36diff -u /opt/universal/libexec/macports/lib/port1.0/portutil.tcl.orig /opt/universal/libexec/macports/lib/port1.0/portutil.tcl
     37--- /opt/universal/libexec/macports/lib/port1.0/portutil.tcl.orig           2019-09-27 16:50:27.000000000 -0400
     38+++ /opt/universal/libexec/macports/lib/port1.0/portutil.tcl                2019-09-30 17:28:43.000000000 -0400
     39@@ -426,7 +426,11 @@
     40         set ${varprefix}.env_array(LIBRARY_PATH) [join [option compiler.library_path] :]
     41     }
     42     set ${varprefix}.env_array(DEVELOPER_DIR) [option configure.developer_dir]
     43-
     44+    if {[option configure.sdkroot] ne ""} {
     45+        set ${varprefix}.env_array(SDKROOT) [option configure.sdkroot]
     46+        set ${varprefix}.env_array(LDFLAGS) [option configure.ldflags -Wl,-w]
     47+    }
     48+
     49     # Debug that.
     50     ui_debug "Environment: [environment_array_to_string ${varprefix}.env_array]"
     51
     52}}}
    2153
    2254Also side note FAudio is now 19.10