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


Ignore:
Timestamp:
Oct 2, 2019, 1:47:07 AM (5 years ago)
Author:
Gcenx
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #56991, comment 92

    v3 v4  
    1212
    1313Yeah I was using the new patch, ~~look over the diff of my comment you will see I even added in the new patch plus the LDFLAGS also but ncurses was a no go for some reason~~ seems I could have made a mistake with my own patch in an earlier edit
     14
     15Rebooted and it now works I have no idea what that was all about Ken sorry about that.
     16
     17Here is a complete patch
     18{{{
     19diff -u /opt/universal/etc/macports/macports.conf.orig /opt/universal/etc/macports/macports.conf
     20--- /opt/universal/etc/macports/macports.conf.orig                              2019-09-27 22:22:38.000000000 -0400
     21+++ /opt/universal/etc/macports/macports.conf                               2019-09-27 22:22:14.000000000 -0400
     22@@ -1,6 +1,9 @@
     23 # MacPorts system-wide configuration file.
     24 # Commented-out values are defaults unless otherwise noted.
     25 
     26+macosx_deployment_target     10.13
     27+macosx_sdk_version           10.13
     28+
     29 # Directory under which MacPorts should install ports. This must be
     30 # where MacPorts itself is installed.
     31 prefix                 /opt/universal
     32diff -u /opt/universal/libexec/macports/lib/port1.0/portconfigure.tcl.orig /opt/universal/libexec/macports/lib/port1.0/portconfigure.tcl
     33--- /opt/universal/libexec/macports/lib/port1.0/portconfigure.tcl.orig     2019-09-21 16:25:24.000000000 -0700
     34+++ /opt/universal/libexec/macports/lib/port1.0/portconfigure.tcl          2019-09-21 16:26:20.000000000 -0700
     35@@ -1477,6 +1477,7 @@
     36                 append_to_environment_value configure $env_var -isysroot${configure.sdkroot}
     37             }
     38             append_to_environment_value configure "LDFLAGS" -Wl,-syslibroot,${configure.sdkroot}
     39+            append_to_environment_value configure "LDFLAGS" -Wl,-w
     40         }
     41 
     42         # add extra flags that are conditional on whether we're building universal
     43diff -u /opt/universal/libexec/macports/lib/port1.0/portutil.tcl.orig /opt/universal/libexec/macports/lib/port1.0/portutil.tcl
     44--- /opt/universal/libexec/macports/lib/port1.0/portutil.tcl.orig           2019-09-27 16:50:27.000000000 -0400
     45+++ /opt/universal/libexec/macports/lib/port1.0/portutil.tcl                2019-09-30 17:28:43.000000000 -0400
     46@@ -426,7 +426,10 @@
     47         set ${varprefix}.env_array(LIBRARY_PATH) [join [option compiler.library_path] :]
     48     }
     49     set ${varprefix}.env_array(DEVELOPER_DIR) [option configure.developer_dir]
     50-
     51+    if {[option configure.sdkroot] ne ""} {
     52+        set ${varprefix}.env_array(SDKROOT) [option configure.sdkroot]
     53+    }
     54+
     55     # Debug that.
     56     ui_debug "Environment: [environment_array_to_string ${varprefix}.env_array]"
     57}}}