[MacPorts] #57137: xcode portgroup should set -derivedDataPath on Xcode versions that need it

MacPorts noreply at macports.org
Thu Apr 11 14:43:51 UTC 2019


#57137: xcode portgroup should set -derivedDataPath on Xcode versions that need it
----------------------------+--------------------
  Reporter:  ryandesign     |      Owner:  (none)
      Type:  enhancement    |     Status:  new
  Priority:  Normal         |  Milestone:
 Component:  ports          |    Version:
Resolution:                 |   Keywords:
      Port:  xcode-1.0.tcl  |
----------------------------+--------------------

Comment (by kencu):

 For those looking to get something built right now, this little block
 added to the Portfile will likely fix the xcode build for software that
 has not yet been updated to work with the new Xcode 10+ build system:
 {{{
 # this port has not yet been updated to build with the new build system
 Xcode 10+
 if {${os.platform} eq "darwin" && ([vercmp $xcodeversion 10.0] > 0)} {
     build.pre_args-append    -UseModernBuildSystem=NO
     destroot.pre_args-append -UseModernBuildSystem=NO
 }
 }}}

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


More information about the macports-tickets mailing list