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


Currently install_files.pl does not abide to the --libdir option for the 
runtime. The patch fixes this behaviour.

lu

-- 

Luca Barbato
Gentoo Council Member
Gentoo/linux Gentoo/PPC
http://dev.gentoo.org/~lu_zero

--- parrot-0.8.0/tools/dev/install_files.pl	2008-05-22 19:56:38.000000000 +0200
+++ tools/dev/install_files.pl	2008-11-17 12:10:10.000000000 +0100
@@ -202,8 +202,10 @@
         # --pkgconfigdir option.
         $dest = File::Spec->catdir( $options{libdir}, 'pkgconfig', $dest );
     }
+    elsif ( /\[library]/ ) {
+        $dest =~ s/^runtime/$options{libdir}/;
+    }
     else {
-        $dest =~ s/^runtime/lib/ if /\[library]/;
         $dest = File::Spec->catdir( $options{prefix}, $dest );
     }
 

Reply via email to