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:05 +0000
commitbb59eb410c716057190fb0d115ef85b2c12e6518 (patch)
tree957cb9371b786655eaede8dac8c8bb791b35c73d
parentca5d96b1cf406897728f6f6bae6e0ab4e35a469a (diff)
downloadopenembedded-core-contrib-bb59eb410c716057190fb0d115ef85b2c12e6518.tar.gz
openembedded-core-contrib-bb59eb410c716057190fb0d115ef85b2c12e6518.tar.bz2
openembedded-core-contrib-bb59eb410c716057190fb0d115ef85b2c12e6518.zip
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 Signed-off-by: Jens Rehsack <sno@netbsd.org> Signed-off-by: Ross Burton <ross.burton@intel.com>
-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 () {
. ${STAGING_LIBDIR}/perl/config.sh
fi
- perl Build.PL --installdirs vendor \
- --destdir ${D} \
- --install_path arch="${libdir}/perl" \
- --install_path script=${bindir} \
- --install_path bin=${bindir} \
- --install_path bindoc=${mandir}/man1 \
- --install_path libdoc=${mandir}/man3 \
- ${EXTRA_CPAN_BUILD_FLAGS}
+ perl Build.PL --installdirs vendor --destdir ${D} \
+ ${EXTRA_CPAN_BUILD_FLAGS}
# Build.PLs can exit with success without generating a
# Build, e.g. in cases of missing configure time