This patch fix the wrong parrot include path, for example:

before patch:
/home/lee/parrot/workinginclude

after patch:
/home/lee/parrot/working/include

BTW, I'm not sure this is the right way/style to submit this patch.
If I'm wrong, please let me know, thanks.

Lee
Index: Makefile.PL
===================================================================
--- Makefile.PL (revision 14967)
+++ Makefile.PL (working copy)
@@ -443,7 +443,8 @@
         my $ldflags = parrot_config($base, $parrot_config, 'ldflags');
         my $libs = parrot_config($base, $parrot_config, 'libs');
         my $icuflags = parrot_config($base, $parrot_config, 'icu_shared');
-        my $include_path = parrot_config($base, $parrot_config, 'prefix') . 
parrot_config($base, $parrot_config, 'inc');
+        my $include_path = File::Spec->catfile(parrot_config($base, 
$parrot_config, 'prefix'), 
+                                                parrot_config($base, 
$parrot_config, 'inc'));
         my $rpath_blib = parrot_config($base, $parrot_config, 'rpath_blib');
         my $build_dir = parrot_config($base, $parrot_config, 'top_builddir', 
'build_dir');
         my $is_shared = parrot_config($base, $parrot_config, 
'parrot_is_shared');

Reply via email to