[MacPorts] #33283: libvpx @0.9.7-p1 Build error due to wrong SDK path for Xcode 4.3 in patch-build-make-configure.sh.diff

MacPorts noreply at macports.org
Fri Feb 17 07:06:29 PST 2012


#33283: libvpx @0.9.7-p1 Build error due to wrong SDK path for Xcode 4.3 in patch-
build-make-configure.sh.diff
-------------------------------+--------------------------------------------
 Reporter:  m.haller@…         |       Owner:  macports-tickets@…                   
     Type:  defect             |      Status:  new                                  
 Priority:  Normal             |   Milestone:                                       
Component:  ports              |     Version:  2.0.3                                
 Keywords:                     |        Port:                                       
-------------------------------+--------------------------------------------
 info: Mac OS X 10.7.3 / Xcode 4.3 / Xcode command line tools installed

 build phase for libvpx fails due to wrong SDK path setting in patch file
 patch-build-make-configure.sh.diff

 Currently the patch adds

 {{{
 +        *-darwin11-*)
 +            add_cflags  "-isysroot @DEVELOPER_DIR@/SDKs/MacOSX10.7.sdk"
 +            add_cflags  "-mmacosx-version-min=10.7"
 +            add_ldflags "-isysroot @DEVELOPER_DIR@/SDKs/MacOSX10.7.sdk"
 +            add_ldflags "-mmacosx-version-min=10.7"
 +            ;;
 }}}

 BUT, the Xcode 4.3 SDK path for 10.7 is
 {{{
 /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.7.sdk
 }}}

 Similar problem occurs in portconfigure.tcl where the sdk directory is
 set.

-- 
Ticket URL: <https://trac.macports.org/ticket/33283>
MacPorts <http://www.macports.org/>
Ports system for Mac OS


More information about the macports-tickets mailing list