aboutsummaryrefslogtreecommitdiffstats
path: root/classes/cpan.bbclass
diff options
context:
space:
mode:
authorRoman I Khimov <khimov@altell.ru>2010-12-30 00:54:01 +0300
committerRoman I Khimov <khimov@altell.ru>2010-12-30 21:00:55 +0300
commitce11603e9941d56041285541569d32773c15cc98 (patch)
tree0d50319eb82620473c25f1e24b339357878e0d3e /classes/cpan.bbclass
parent3a75ce4f552d8d9fee1fc243e03ec107c311c646 (diff)
downloadopenembedded-ce11603e9941d56041285541569d32773c15cc98.tar.gz
classes/cpan: fix bin/script/man1/man3 installation dirs
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>
Diffstat (limited to 'classes/cpan.bbclass')
-rw-r--r--classes/cpan.bbclass4
1 files changed, 4 insertions, 0 deletions
diff --git a/classes/cpan.bbclass b/classes/cpan.bbclass
index b81ae9ad46..1a3ea15e40 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}${man3dir}:" \
+ -e "s:\(INSTALLVENDORBIN = \).*:\1${D}${bindir}:" \
+ -e "s:\(INSTALLVENDORSCRIPT = \).*:\1${D}${bindir}:" \
-e "s:\(LDDLFLAGS.*\)${STAGING_LIBDIR_NATIVE}:\1${STAGING_LIBDIR}:" \
Makefile
fi