[MacPorts] #58779: base: ports cannot use SDK inside of Developer dir unless using Xcode build type

MacPorts noreply at macports.org
Tue Jan 28 18:32:11 UTC 2020


#58779: base: ports cannot use SDK inside of Developer dir unless using Xcode build
type
---------------------+-----------------------
  Reporter:  Ionic   |      Owner:  (none)
      Type:  defect  |     Status:  closed
  Priority:  Normal  |  Milestone:
 Component:  base    |    Version:  2.5.99
Resolution:  fixed   |   Keywords:  tracemode
      Port:          |
---------------------+-----------------------

Comment (by kencu):

 I would guess this test in `portmain.tcl` <https://github.com/macports
 /macports-base/commit/6b27854906b3c19d209c50ff59a4fa78d42f3a03> might
 benefit from incorporating something further regarding the fix in this
 ticket.

 Would that also fix #59157 (and probably others that have not been rebuilt
 since base 2.6 came out)?

 {{{
 default use_xcode {[expr {[option build.type] eq "xcode" || ![file exists
 /usr/lib/libxcselect.dylib] || ![file executable [file join $cltpath usr
 bin make]]}]}
 }}}

 should be?:
 {{{
 default use_xcode {[expr {[option build.type] eq "xcode" || ![file exists
 ${developer_dir}/SDKs] || ![file exists /usr/lib/libxcselect.dylib] ||
 ![file executable [file join $cltpath usr bin make]]}]}
 }}}

-- 
Ticket URL: <https://trac.macports.org/ticket/58779#comment:27>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list