[MacPorts] #59360: libvpx: configure.sdkroot: command not found

MacPorts noreply at macports.org
Thu Oct 17 23:22:50 UTC 2019


#59360: libvpx: configure.sdkroot: command not found
-------------------------+----------------------
  Reporter:  ryandesign  |      Owner:  dbevans
      Type:  defect      |     Status:  assigned
  Priority:  Normal      |  Milestone:
 Component:  ports       |    Version:  2.6.1
Resolution:              |   Keywords:
      Port:  libvpx      |
-------------------------+----------------------

Comment (by Gcenx):

 Replying to [comment:6 kencu]:
 > didn't your first version of this use $(SDKROOT) in the shell script?
 >
 > That should be set up right. Let me test that.

 I got home and tested that same issue
 {{{
 :info:configure ./build/make/configure.sh: line 857: SDKROOT: command not
 found
 }}}
 as you pointed out the script won't know what $(SDKROOT) is since it's a
 shell script, unless its injected as an env variable.
 \\
 Yet `libvpx` still builds (stock macports), the only time I see
 `-isysroot` being visible injected is when forcing an SDK version. (to
 enable +universal)
 \\
 \\
 So the only way to be on the safe side is adding a new env variable that's
 passed onto configure.sh to ensure -isysroot flag is passed.
 \\
 \\
 I would like some feedback on what's best since it compiles with the newer
 patch I provided above also with the older patch that give the error but
 still builds.

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


More information about the macports-tickets mailing list