diff options
author | Koen Kooi <koen@dominion.thruhere.net> | 2013-12-11 09:50:09 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2013-12-14 09:11:16 +0000 |
commit | 0101c26742288df6a5eaed76989df721991371d6 (patch) | |
tree | b568eb5e959fb87776c00f43d04139711a1a5551 | |
parent | 22dec67bd0ca9783d0cca148561b674b3dc45898 (diff) | |
download | poky-0101c26742288df6a5eaed76989df721991371d6.tar.gz |
cpan_build bbclass: do not install module into /usr/share
https://github.com/openembedded/oe-core/commit/83796edd29561f02b6f7b036351711f8def77a4f is a partial solution, this fixes cpan_build.bbclass as well.
A non-working one looks like this:
[koen@rrmbp v2013.06]$ dpkg-deb -c deploy/eglibc/ipk/armv7ahf-vfp-neon/perl-module-build-withxspp_0.14-r0.0_armv7ahf-vfp-neon.ipk
-rw-r--r-- root/root 361 2013-11-28 16:50 ./usr/lib/perl/auto/Module/Build/WithXSpp/.packlist
-r--r--r-- root/root 22557 2013-11-28 16:50 ./usr/share/perl/Module/Build/WithXSpp.pm
It now looks like this:
[koen@rrmbp v2013.06]$ dpkg-deb -c deploy/eglibc/ipk/armv7ahf-vfp-neon/perl-module-build-withxspp_0.14-r*.ipk
-rw-r--r-- root/root 378 2013-11-29 14:44 ./usr/lib/perl/auto/Module/Build/WithXSpp/.packlist
-r--r--r-- root/root 22557 2013-11-28 17:22 ./usr/lib/perl/vendor_perl/5.14.3/Module/Build/WithXSpp.pm
(From OE-Core rev: 1bfcbdbe15bf5a0fce4cb3acb63ae86d98d56277)
Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r-- | meta/classes/cpan_build.bbclass | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/meta/classes/cpan_build.bbclass b/meta/classes/cpan_build.bbclass index eaba40a06f..5b0ad61b4c 100644 --- a/meta/classes/cpan_build.bbclass +++ b/meta/classes/cpan_build.bbclass | |||
@@ -32,7 +32,6 @@ cpan_build_do_configure () { | |||
32 | 32 | ||
33 | perl Build.PL --installdirs vendor \ | 33 | perl Build.PL --installdirs vendor \ |
34 | --destdir ${D} \ | 34 | --destdir ${D} \ |
35 | --install_path lib="${datadir}/perl" \ | ||
36 | --install_path arch="${libdir}/perl" \ | 35 | --install_path arch="${libdir}/perl" \ |
37 | --install_path script=${bindir} \ | 36 | --install_path script=${bindir} \ |
38 | --install_path bin=${bindir} \ | 37 | --install_path bin=${bindir} \ |