[43634] trunk/dports/perl/p5-locale-gettext

toby at macports.org toby at macports.org
Fri Dec 12 11:24:39 PST 2008


Revision: 43634
          http://trac.macports.org/changeset/43634
Author:   toby at macports.org
Date:     2008-12-12 11:24:39 -0800 (Fri, 12 Dec 2008)
Log Message:
-----------
Actually use the specified compiler.

Modified Paths:
--------------
    trunk/dports/perl/p5-locale-gettext/Portfile

Added Paths:
-----------
    trunk/dports/perl/p5-locale-gettext/files/
    trunk/dports/perl/p5-locale-gettext/files/patch-Makefile.PL

Modified: trunk/dports/perl/p5-locale-gettext/Portfile
===================================================================
--- trunk/dports/perl/p5-locale-gettext/Portfile	2008-12-12 19:21:53 UTC (rev 43633)
+++ trunk/dports/perl/p5-locale-gettext/Portfile	2008-12-12 19:24:39 UTC (rev 43634)
@@ -20,7 +20,8 @@
 
 depends_lib-append     port:gettext port:libiconv
 
-patch {
+patchfiles      patch-Makefile.PL
+post-patch {
     reinplace s|-lintl|-I${prefix}/include\ -L${prefix}/lib\ -lintl|g ${worksrcpath}/Makefile.PL
 }
 

Added: trunk/dports/perl/p5-locale-gettext/files/patch-Makefile.PL
===================================================================
--- trunk/dports/perl/p5-locale-gettext/files/patch-Makefile.PL	                        (rev 0)
+++ trunk/dports/perl/p5-locale-gettext/files/patch-Makefile.PL	2008-12-12 19:24:39 UTC (rev 43634)
@@ -0,0 +1,11 @@
+--- Makefile.PL.orig	2008-12-12 11:20:06.000000000 -0800
++++ Makefile.PL	2008-12-12 11:20:25.000000000 -0800
+@@ -35,6 +35,8 @@
+     NAME => "Locale::gettext",
+     LIBS => ($libs eq '') ? [] : [$libs],
+     VERSION_FROM => 'gettext.pm', 
++    CC => $cc,
++    LD => $cc,
+ );
+ 
+ sub conftest {
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20081212/e33c901e/attachment.html>


More information about the macports-changes mailing list