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 <[email protected]>
---
 classes/cpan.bbclass |    4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)

diff --git a/classes/cpan.bbclass b/classes/cpan.bbclass
index b81ae9a..c21130f 100644
--- a/classes/cpan.bbclass
+++ b/classes/cpan.bbclass
@@ -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}${man1dir}:" \
+                       -e "s:\(INSTALLVENDORBIN = \).*:\1${D}${bindir}:" \
+                       -e "s:\(INSTALLVENDORSCRIPT = \).*:\1${D}${bindir}:" \
                        -e 
"s:\(LDDLFLAGS.*\)${STAGING_LIBDIR_NATIVE}:\1${STAGING_LIBDIR}:" \
                        Makefile
        fi
-- 
1.6.4.2


_______________________________________________
Openembedded-devel mailing list
[email protected]
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel

Reply via email to