]> code.ossystems Code Review - openembedded-core.git/commitdiff
perl: Remove errornous extra path-specs for Module::Build based modules
authorJens Rehsack <rehsack@gmail.com>
Thu, 8 Oct 2015 14:23:35 +0000 (16:23 +0200)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Thu, 29 Oct 2015 07:31:05 +0000 (07:31 +0000)
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>
meta/classes/cpan_build.bbclass

index 365374894fb3ae273673807d15eb6c25ad8bffd1..fac074d6101de32cea8036524be5fa8e3b184aaa 100644 (file)
@@ -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