[124467] trunk/dports/perl/p5-wx

mojca at macports.org mojca at macports.org
Sun Aug 24 02:46:47 PDT 2014


Revision: 124467
          https://trac.macports.org/changeset/124467
Author:   mojca at macports.org
Date:     2014-08-24 02:46:47 -0700 (Sun, 24 Aug 2014)
Log Message:
-----------
p5-wx: allow building when Xcode is installed at some nonstandard location (#44640)

Modified Paths:
--------------
    trunk/dports/perl/p5-wx/Portfile

Added Paths:
-----------
    trunk/dports/perl/p5-wx/files/
    trunk/dports/perl/p5-wx/files/patch-resttoolpath.diff

Modified: trunk/dports/perl/p5-wx/Portfile
===================================================================
--- trunk/dports/perl/p5-wx/Portfile	2014-08-24 09:21:21 UTC (rev 124466)
+++ trunk/dports/perl/p5-wx/Portfile	2014-08-24 09:46:47 UTC (rev 124467)
@@ -29,6 +29,8 @@
 if {${perl5.major} != ""} {
 wxWidgets.use       wxWidgets-3.0
 
+patchfiles          patch-resttoolpath.diff
+
 depends_build-append \
                     port:p${perl5.major}-extutils-xspp
 

Added: trunk/dports/perl/p5-wx/files/patch-resttoolpath.diff
===================================================================
--- trunk/dports/perl/p5-wx/files/patch-resttoolpath.diff	                        (rev 0)
+++ trunk/dports/perl/p5-wx/files/patch-resttoolpath.diff	2014-08-24 09:46:47 UTC (rev 124467)
@@ -0,0 +1,13 @@
+https://trac.macports.org/ticket/44640
+
+--- 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;
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20140824/4096ea13/attachment.html>


More information about the macports-changes mailing list