[34508] trunk/dports/lang/perl5.8

afb at macports.org afb at macports.org
Tue Feb 26 23:57:28 PST 2008


Revision: 34508
          http://trac.macosforge.org/projects/macports/changeset/34508
Author:   afb at macports.org
Date:     2008-02-26 23:57:27 -0800 (Tue, 26 Feb 2008)

Log Message:
-----------
fix build with gcc 4.2

Modified Paths:
--------------
    trunk/dports/lang/perl5.8/Portfile

Added Paths:
-----------
    trunk/dports/lang/perl5.8/files/patch-makedepend.SH

Modified: trunk/dports/lang/perl5.8/Portfile
===================================================================
--- trunk/dports/lang/perl5.8/Portfile	2008-02-27 07:37:14 UTC (rev 34507)
+++ trunk/dports/lang/perl5.8/Portfile	2008-02-27 07:57:27 UTC (rev 34508)
@@ -4,9 +4,9 @@
 
 name            perl5.8
 version         5.8.8
-revision        1
+revision        2
 categories      lang
-platforms		darwin freebsd linux
+platforms       darwin freebsd linux
 maintainers     nomaintainer
 description     Perl 5.8.x - Practical Extraction and Report Language
 
@@ -25,6 +25,8 @@
                 sha1 4aab490040727ca4419098720eca2ba4367df539 \
                 rmd160 e78f26d9b96e6db35f946ad4ff55e3a69385c71b
 
+patchfiles      patch-makedepend.SH
+
 platform darwin {
     patchfiles-append   patch-hints_darwin.sh
 

Added: trunk/dports/lang/perl5.8/files/patch-makedepend.SH
===================================================================
--- trunk/dports/lang/perl5.8/files/patch-makedepend.SH	                        (rev 0)
+++ trunk/dports/lang/perl5.8/files/patch-makedepend.SH	2008-02-27 07:57:27 UTC (rev 34508)
@@ -0,0 +1,15 @@
+Change 28615 by mhx at mhx-r2d2 on 2006/07/25 18:42:26
+
+	Very recent development versions of gcc (4.2.0 20060715) seem
+	to have switched from '<command line>' to '<command-line>'.
+
+--- makedepend.SH #35 edit
++++ makedepend.SH #35 (xtext)
+@@ -167,6 +167,7 @@
+             -e '/^#.*<builtin>/d' \
+             -e '/^#.*<built-in>/d' \
+             -e '/^#.*<command line>/d' \
++            -e '/^#.*<command-line>/d' \
+ 	    -e '/^#.*"-"/d' \
+ 	    -e '/: file path prefix .* never used$/d' \
+ 	    -e 's#\.[0-9][0-9]*\.c#'"$file.c#" \

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.macosforge.org/pipermail/macports-changes/attachments/20080226/83d80f45/attachment.html 


More information about the macports-changes mailing list