classes/cpan: fix bin/script/man1/man3 installation dirs
authorRoman I Khimov <khimov@altell.ru>
Wed, 29 Dec 2010 21:54:01 +0000 (00:54 +0300)
committerRoman I Khimov <khimov@altell.ru>
Thu, 30 Dec 2010 18:00:55 +0000 (21:00 +0300)
Strange that it wasn't done before, but if some perl module wants to install
man pages or some binaries or scripts they all were installed with wrong prefix.

Signed-off-by: Roman I Khimov <khimov@altell.ru>
Acked-by: Frans Meulenbroeks <fransmeulenbroeks@gmail.com>
classes/cpan.bbclass

index b81ae9a..1a3ea15 100644 (file)
@@ -13,6 +13,10 @@ cpan_do_configure () {
                        -e "s:\(SITEARCHEXP = \).*:\1${sitearchexp}:" \
                        -e "s:\(INSTALLVENDORLIB = \).*:\1${D}${datadir}/perl5:" \
                        -e "s:\(INSTALLVENDORARCH = \).*:\1${D}${libdir}/perl5:" \
+                       -e "s:\(INSTALLVENDORMAN1DIR = \).*:\1${D}${man1dir}:" \
+                       -e "s:\(INSTALLVENDORMAN3DIR = \).*:\1${D}${man3dir}:" \
+                       -e "s:\(INSTALLVENDORBIN = \).*:\1${D}${bindir}:" \
+                       -e "s:\(INSTALLVENDORSCRIPT = \).*:\1${D}${bindir}:" \
                        -e "s:\(LDDLFLAGS.*\)${STAGING_LIBDIR_NATIVE}:\1${STAGING_LIBDIR}:" \
                        Makefile
        fi