Changes between Version 1 and Version 2 of Ticket #56991, comment 92


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

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #56991, comment 92

    v1 v2  
    1111> I will try the others.
    1212
    13 Yeah 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 you can't see before a comment was edited blah
     13Yeah 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
     15My version of the patch should have been;
     16{{{
     17diff -u /opt/universal/etc/macports/macports.conf.orig /opt/universal/etc/macports/macports.conf
     18--- /opt/universal/etc/macports/macports.conf.orig                              2019-09-27 22:22:38.000000000 -0400
     19+++ /opt/universal/etc/macports/macports.conf                               2019-09-27 22:22:14.000000000 -0400
     20@@ -1,6 +1,9 @@
     21 # MacPorts system-wide configuration file.
     22 # Commented-out values are defaults unless otherwise noted.
     23 
     24+macosx_deployment_target     10.13
     25+macosx_sdk_version           10.13
     26+
     27 # Directory under which MacPorts should install ports. This must be
     28 # where MacPorts itself is installed.
     29 prefix                 /opt/universal
     30diff -u /opt/universal/libexec/macports/lib/port1.0/portutil.tcl.orig /opt/universal/libexec/macports/lib/port1.0/portutil.tcl
     31--- /opt/universal/libexec/macports/lib/port1.0/portutil.tcl.orig           2019-09-27 16:50:27.000000000 -0400
     32+++ /opt/universal/libexec/macports/lib/port1.0/portutil.tcl                2019-09-30 17:28:43.000000000 -0400
     33@@ -426,7 +426,11 @@
     34         set ${varprefix}.env_array(LIBRARY_PATH) [join [option compiler.library_path] :]
     35     }
     36     set ${varprefix}.env_array(DEVELOPER_DIR) [option configure.developer_dir]
     37-
     38+    if {[option configure.sdkroot] ne ""} {
     39+        set ${varprefix}.env_array(SDKROOT) [option configure.sdkroot]
     40+        set ${varprefix}.env_array(LDFLAGS) [option -Wl,-w]
     41+    }
     42+
     43     # Debug that.
     44     ui_debug "Environment: [environment_array_to_string ${varprefix}.env_array]"
     45}}}
     46
     47I'll let edit this comment or comment again if it works correctly.