#44640: p5-wx: fails to upgrade on 10.8 and later -------------------------------+--------------------- Reporter: david.w.watson@… | Owner: mojca@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: Resolution: | Keywords: Port: p5-wx | -------------------------------+--------------------- Comment (by mojca@…): I need some help with this ticket. I would like to know why `RESTTOOLDIR` ends up being set with a weird value. On 10.7 it's `RESTOOLDIR='/Applications/Xcode.app/Contents/Developer/Tools'`. The file `build/Wx/build/MakeMaker/MacOSX_GCC.pm` contains: {{{ my $tools43 = '/Applications/Xcode.app/Contents/Developer/Tools'; my $restoolpath = ( -d $tools43 ) ? $tools43 : '/Developer/Tools'; }}} so apparently the value ends up being wrong as long as `/Applications/Xcode.app/Contents/Developer/Tools` doesn't exist? Can you please try the following patch: {{{ #!patch --- build/Wx/build/MakeMaker/MacOSX_GCC.pm.orig +++ build/Wx/build/MakeMaker/MacOSX_GCC.pm @@ -10,7 +10,7 @@ die "Please set MACOSX_DEPLOYMENT_TARGET to 10.3 or above" if $ENV{MACOSX_DEPLOYMENT_TARGET} && $ENV{MACOSX_DEPLOYMENT_TARGET} < 10.3; my $tools43 = '/Applications/Xcode.app/Contents/Developer/Tools'; -my $restoolpath = ( -d $tools43 ) ? $tools43 : '/Developer/Tools'; +my $restoolpath = '/usr/bin'; sub configure_core { my $this = shift; }}} -- Ticket URL: <https://trac.macports.org/ticket/44640#comment:7> MacPorts <http://www.macports.org/> Ports system for OS X