I think I have this clean enough to present for the curious…here are the 
(minor) tweaks.


put the MacOSX10.13.sdk in the proper location in your active Xcode.app

put this in macports.conf

macosx_deployment_target     10.13
macosx_sdk_version           10.13


and in portconfigure.tcl


change line 213 to:
default configure.ldflags       {-L${prefix}/lib 
-Wl,-headerpad_max_install_names -Wl,-syslibroot,/ -Wl,-w}

change line 895 to:
            append_to_environment_value configure "LDFLAGS" -Wl,-syslibroot,/ 
-Wl,-w


and other than stumbling over a few minor tweaks in ports that don’t plumb in 
isysroot, you should be good to go.

Ken

Reply via email to