[oe] [PATCH 2/2] classes/cpan: fix bin/script/man1/man3 installation dirs
Roman I Khimov
khimov at altell.ru
Wed Dec 29 22:07:58 UTC 2010
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 at altell.ru>
---
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
More information about the Openembedded-devel
mailing list