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>
This commit is contained in:
parent
884cf7a389
commit
5724b2a651
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue