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

MacPorts noreply at macports.org
Thu Oct 17 02:03:21 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
 Keywords:              |       Port:  libvpx
------------------------+----------------------
 [changeset:269797300cb7b1f249301b0bfa423bfc71af0d34/macports-ports libvpx
 was patched to find the right sdk], but the patch is wrong. The patch
 makes this change to configure.sh

 {{{
 #!diff
 -      osx_sdk_dir="$(show_darwin_sdk_path macosx)"
 +      osx_sdk_dir="$(configure.sdkroot)"
 }}}

 This makes no sense: configure.sh is a shell script, and
 `${configure.sdkroot}` is a MacPorts Tcl variable. Shell scripts do not
 have access to Tcl variables, nor is that the syntax for accessing a shell
 variable; that's the syntax for running a shell function or command, and
 there is no shell command called `configure.sdkroot`, which configure.sh
 tells us if we run it:

 {{{
 ./build/make/configure.sh: line 857: configure.sdkroot: command not found
 }}}

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


More information about the macports-tickets mailing list