# New Ticket Created by  Jeff Clites 
# Please include the string:  [perl #26212]
# in the subject line of all future correspondence about this issue. 
# <URL: http://rt.perl.org:80/rt3/Ticket/Display.html?id=26212 >


This patch should allow $cpuarch be set correctly whether 
$Config{archname} is "darwin" or "darwin-thread-multi-2level". (It was 
failing in the former case.)

JEff

Index: config/auto/jit.pl
===================================================================
RCS file: /cvs/public/parrot/config/auto/jit.pl,v
retrieving revision 1.27
diff -u -r1.27 jit.pl
--- config/auto/jit.pl  18 Jan 2004 21:55:08 -0000      1.27
+++ config/auto/jit.pl  9 Feb 2004 00:42:47 -0000
@@ -49,7 +49,7 @@
      $cpuarch = 'ppc';
    }

-  if($archname =~ /powerpc/) {
+  if(($osname =~ /darwin/) || ($archname =~ /powerpc/)) {
      $cpuarch = 'ppc';
    }

Reply via email to