[71992] trunk/dports/perl/p5-inline

ricci at macports.org ricci at macports.org
Wed Sep 29 09:54:42 PDT 2010


Revision: 71992
          http://trac.macports.org/changeset/71992
Author:   ricci at macports.org
Date:     2010-09-29 09:54:40 -0700 (Wed, 29 Sep 2010)
Log Message:
-----------
re-work patchfile 'patch-C-Makefile.PL' for SL and gcc-4.2 so p5-inline can find it, and enable patch-C-Makefile.PL

Modified Paths:
--------------
    trunk/dports/perl/p5-inline/Portfile
    trunk/dports/perl/p5-inline/files/patch-C-Makefile.PL

Modified: trunk/dports/perl/p5-inline/Portfile
===================================================================
--- trunk/dports/perl/p5-inline/Portfile	2010-09-29 16:14:06 UTC (rev 71991)
+++ trunk/dports/perl/p5-inline/Portfile	2010-09-29 16:54:40 UTC (rev 71992)
@@ -21,3 +21,4 @@
 
 supported_archs noarch
 
+patchfiles		patch-C-Makefile.PL

Modified: trunk/dports/perl/p5-inline/files/patch-C-Makefile.PL
===================================================================
--- trunk/dports/perl/p5-inline/files/patch-C-Makefile.PL	2010-09-29 16:14:06 UTC (rev 71991)
+++ trunk/dports/perl/p5-inline/files/patch-C-Makefile.PL	2010-09-29 16:54:40 UTC (rev 71992)
@@ -1,10 +1,11 @@
---- C/Makefile.PL.orig	2007-04-03 11:22:47.000000000 -0700
-+++ C/Makefile.PL	2007-04-03 11:33:06.000000000 -0700
-@@ -5,6 +5,7 @@
+--- C/Makefile.PL.orig	2010-01-27 03:03:44.000000000 -0800
++++ C/Makefile.PL	2010-09-29 09:48:46.000000000 -0700
+@@ -5,7 +5,7 @@
  
  my ($cc, $exe) = @Config{'cc', '_exe'};
  $cc =~ s/\s+-.+$//; #remove possible trailing options
-+(undef, undef, $cc) = File::Spec->splitpath($cc); # we only want the compiler filename
+-my $comp = (split /\./, $cc)[0];
++my $comp = $cc;
  
  my $found = 0;
- my $delim = $^O eq 'MSWin32' ? ';' : ':';
+ my $delim = $Config::Config{path_sep};
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20100929/6c6eb6c5/attachment-0001.html>


More information about the macports-changes mailing list