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

source_changes at macosforge.org source_changes at macosforge.org
Tue Apr 3 11:37:50 PDT 2007


Revision: 23517
          http://trac.macosforge.org/projects/macports/changeset/23517
Author:   ricci at macports.org
Date:     2007-04-03 11:37:49 -0700 (Tue, 03 Apr 2007)

Log Message:
-----------
Add patch to strip the path portion of the C compiler used to
 build perl so that this module can find the C compiler.
Bump revision to force a rebuild, otherwise Inline::C doesn't get installed

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

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

Modified: trunk/dports/perl/p5-inline/Portfile
===================================================================
--- trunk/dports/perl/p5-inline/Portfile	2007-04-03 16:30:46 UTC (rev 23516)
+++ trunk/dports/perl/p5-inline/Portfile	2007-04-03 18:37:49 UTC (rev 23517)
@@ -3,7 +3,7 @@
 PortSystem			1.0
 PortGroup			perl5 1.0
 perl5.setup			Inline 0.44
-revision			1
+revision			2
 maintainers			nomaintainer at macports.org
 description			Write Perl subroutines in other programming languages
 long_description \
@@ -18,3 +18,4 @@
 
 depends_lib-append			port:p5-parse-recdescent
 
+patchfiles			patch-C-Makefile.PL

Added: trunk/dports/perl/p5-inline/files/patch-C-Makefile.PL
===================================================================
--- trunk/dports/perl/p5-inline/files/patch-C-Makefile.PL	                        (rev 0)
+++ trunk/dports/perl/p5-inline/files/patch-C-Makefile.PL	2007-04-03 18:37:49 UTC (rev 23517)
@@ -0,0 +1,10 @@
+--- 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 @@
+ 
+ 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 $found = 0;
+ my $delim = $^O eq 'MSWin32' ? ';' : ':';

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.macosforge.org/pipermail/macports-changes/attachments/20070403/3daeea5a/attachment.html


More information about the macports-changes mailing list