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


This patch makes it at least theoretically possible for 'make
languages' to work.  Without this patch, you have to manually set
the environment variable PARROT_ICU_DATA_DIR to the correct
directory.  As is indicated in the comments, this is a temporary
hack, but it's the cleanest thing I could think of.

--- parrot-current/config/gen/icu.pl    Mon May  3 11:00:19 2004
+++ parrot-andy/config/gen/icu.pl       Tue Jun  8 13:36:45 2004
@@ -47,7 +47,15 @@

   if( !defined $icudatadir )
   {
-         $icudatadir = 'blib/lib/icu/2.6.1';
+      # XXX Hack:  We need some way to tell parrot where to find the
+      # ICU data files, perhaps with a command-line option something
+      # like perl's -I option.  In the absence of any such option,
+      # this absolute setting at least allows you to run parrot from
+      # within various subdirectories, such as ./t or ./languages,
+      # without having to set any environment variables.
+      # If parrot is ever able to be installed, this will have to change!
+      my $cwd = cwd();
+      $icudatadir = "$cwd/blib/lib/icu/2.6.1";
   }

   if( defined $icuplatform )

-- 
    Andy Dougherty              [EMAIL PROTECTED]

Reply via email to