[oe-commits] Koen Kooi : cpan_build bbclass: do not install module into /usr/share
git at git.openembedded.org
git at git.openembedded.org
Sun Dec 15 16:44:59 UTC 2013
Module: openembedded-core.git
Branch: master-next
Commit: 1bfcbdbe15bf5a0fce4cb3acb63ae86d98d56277
URL: http://git.openembedded.org/?p=openembedded-core.git&a=commit;h=1bfcbdbe15bf5a0fce4cb3acb63ae86d98d56277
Author: Koen Kooi <koen at dominion.thruhere.net>
Date: Wed Dec 11 09:50:09 2013 +0100
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 at 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 at 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
Signed-off-by: Koen Kooi <koen at dominion.thruhere.net>
Signed-off-by: Saul Wold <sgw at linux.intel.com>
---
meta/classes/cpan_build.bbclass | 1 -
1 file changed, 1 deletion(-)
diff --git a/meta/classes/cpan_build.bbclass b/meta/classes/cpan_build.bbclass
index eaba40a..5b0ad61 100644
--- a/meta/classes/cpan_build.bbclass
+++ b/meta/classes/cpan_build.bbclass
@@ -32,7 +32,6 @@ cpan_build_do_configure () {
perl Build.PL --installdirs vendor \
--destdir ${D} \
- --install_path lib="${datadir}/perl" \
--install_path arch="${libdir}/perl" \
--install_path script=${bindir} \
--install_path bin=${bindir} \
More information about the Openembedded-commits
mailing list