Ticket #44640: p5-wx-resttool.diff

File p5-wx-resttool.diff, 1.1 KB (added by mojca (Mojca Miklavec), 10 years ago)
  • Portfile

     
    2929if {${perl5.major} != ""} {
    3030wxWidgets.use       wxWidgets-3.0
    3131
     32patchfiles          patch-resttoolpath.diff
     33
    3234depends_build-append \
    3335                    port:p${perl5.major}-extutils-xspp
    3436
  • files/patch-resttoolpath.diff

     
     1https://trac.macports.org/ticket/44640
     2
     3--- build/Wx/build/MakeMaker/MacOSX_GCC.pm.orig
     4+++ build/Wx/build/MakeMaker/MacOSX_GCC.pm
     5@@ -10,7 +10,7 @@ die "Please set MACOSX_DEPLOYMENT_TARGET to 10.3 or above"
     6     if $ENV{MACOSX_DEPLOYMENT_TARGET} && $ENV{MACOSX_DEPLOYMENT_TARGET} < 10.3;
     7 
     8 my $tools43 = '/Applications/Xcode.app/Contents/Developer/Tools';
     9-my $restoolpath = ( -d $tools43 ) ? $tools43 : '/Developer/Tools';
     10+my $restoolpath = '/usr/bin';
     11 
     12 sub configure_core {
     13   my $this = shift;