[oe-commits] Roman I Khimov : classes/cpan: fix bin/script/man1/man3 installation dirs
git version control
git at git.openembedded.org
Thu Dec 30 18:02:34 UTC 2010
Module: openembedded.git
Branch: org.openembedded.dev
Commit: ce11603e9941d56041285541569d32773c15cc98
URL: http://gitweb.openembedded.net/?p=openembedded.git&a=commit;h=ce11603e9941d56041285541569d32773c15cc98
Author: Roman I Khimov <khimov at altell.ru>
Date: Thu Dec 30 00:54:01 2010 +0300
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 at altell.ru>
Acked-by: Frans Meulenbroeks <fransmeulenbroeks at gmail.com>
---
classes/cpan.bbclass | 4 ++++
1 files changed, 4 insertions(+), 0 deletions(-)
diff --git a/classes/cpan.bbclass b/classes/cpan.bbclass
index b81ae9a..1a3ea15 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
More information about the Openembedded-commits
mailing list