summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJens Rehsack <rehsack@gmail.com>2015-10-08 16:23:35 +0200
committerRichard Purdie <richard.purdie@linuxfoundation.org>2015-10-29 07:31:17 +0000
commit5724b2a651d22430b055dfcfa714fe412afa2dfc (patch)
tree9e5ace6798f3b758d29b9b5922b162feba83849e
parent884cf7a3891abbe75bf63cc669b7b2082f7ffe39 (diff)
downloadpoky-5724b2a651d22430b055dfcfa714fe412afa2dfc.tar.gz
perl: Remove errornous extra path-specs for Module::Build based modules
This patch removes errornous extra path-specs from cpan_build.bbclass because corrected path specs at build time are enough. * fixes wrong path used when building using Module::Build toolchain (From OE-Core rev: bb59eb410c716057190fb0d115ef85b2c12e6518) Signed-off-by: Jens Rehsack <sno@netbsd.org> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r--meta/classes/cpan_build.bbclass10
1 files changed, 2 insertions, 8 deletions
diff --git a/meta/classes/cpan_build.bbclass b/meta/classes/cpan_build.bbclass
index 365374894f..fac074d610 100644
--- a/meta/classes/cpan_build.bbclass
+++ b/meta/classes/cpan_build.bbclass
@@ -17,14 +17,8 @@ cpan_build_do_configure () {
17 . ${STAGING_LIBDIR}/perl/config.sh 17 . ${STAGING_LIBDIR}/perl/config.sh
18 fi 18 fi
19 19
20 perl Build.PL --installdirs vendor \ 20 perl Build.PL --installdirs vendor --destdir ${D} \
21 --destdir ${D} \ 21 ${EXTRA_CPAN_BUILD_FLAGS}
22 --install_path arch="${libdir}/perl" \
23 --install_path script=${bindir} \
24 --install_path bin=${bindir} \
25 --install_path bindoc=${mandir}/man1 \
26 --install_path libdoc=${mandir}/man3 \
27 ${EXTRA_CPAN_BUILD_FLAGS}
28 22
29 # Build.PLs can exit with success without generating a 23 # Build.PLs can exit with success without generating a
30 # Build, e.g. in cases of missing configure time 24 # Build, e.g. in cases of missing configure time