Update of /cvsroot/fink/fink/perlmod/Fink
In directory fdv4jf1.ch3.sourceforge.com:/tmp/cvs-serv8358

Modified Files:
      Tag: branch_0_29
        ChangeLog PkgVersion.pm 
Log Message:
don't use new style perl compiling for 5.10.0 under powerpc architecture


Index: PkgVersion.pm
===================================================================
RCS file: /cvsroot/fink/fink/perlmod/Fink/PkgVersion.pm,v
retrieving revision 1.622
retrieving revision 1.622.2.1
diff -u -d -r1.622 -r1.622.2.1
--- PkgVersion.pm       5 Apr 2009 15:51:04 -0000       1.622
+++ PkgVersion.pm       14 Apr 2009 02:49:52 -0000      1.622.2.1
@@ -5073,11 +5073,11 @@
        ### perlmods trying to run ../perl$perlversion
     ### 
     ### But when $perlversion is at least 5.10.0, we call it
-    ### with /usr/bin/arch instead
+    ### with /usr/bin/arch instead, unless the architecture is powerpc
     ###
        my $perlcmd;
        if ($perlversion) {
-               if (&version_cmp($perlversion, '>=',  "5.10.0")) {
+               if ((&version_cmp($perlversion, '>=',  "5.10.0")) and 
$config->param('Architecture') ne 'powerpc') {
                        $perlcmd = "/usr/bin/arch -%m perl".$perlversion ;
                } else {
                        $perlcmd = get_path('perl'.$perlversion);

Index: ChangeLog
===================================================================
RCS file: /cvsroot/fink/fink/perlmod/Fink/ChangeLog,v
retrieving revision 1.1592.2.3
retrieving revision 1.1592.2.4
diff -u -d -r1.1592.2.3 -r1.1592.2.4
--- ChangeLog   9 Apr 2009 05:19:35 -0000       1.1592.2.3
+++ ChangeLog   14 Apr 2009 02:49:52 -0000      1.1592.2.4
@@ -1,3 +1,8 @@
+2009-04-13  Dave Morrison  <d...@finkproject.org>
+
+       * PkgVersion.pm: don't use new style perl compiling for 5.10.0 under
+       powerpc architecture
+
 2009-04-08  Dave Morrison  <d...@finkproject.org>
 
        * Validation.pm: allow -64bit type under x86_64


------------------------------------------------------------------------------
This SF.net email is sponsored by:
High Quality Requirements in a Collaborative Environment.
Download a free trial of Rational Requirements Composer Now!
http://p.sf.net/sfu/www-ibm-com
_______________________________________________
Fink-commits mailing list
Fink-commits@lists.sourceforge.net
http://news.gmane.org/gmane.os.apple.fink.cvs

Reply via email to