Currently, Makefile.PL-built Perl recipes (cpan.bbclass) exclude
.packlist files with NO_PACKLIST=1, but Build.PL recipes
(cpan_build.bbclass) do not. This now results in a QA error due to the
TMPDIR paths included in the .packlist file.
ERROR: x do_package_qa: QA Issue: File [...]/.packlist in package x
contains reference to TMPDIR [buildpaths]
A similar error is produced by generated html doc.
Here we add the corresponding Build.PL arg to disable packlists and html
doc.
Signed-off-by: Wes Malone <wes@mitsi.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
fi
perl Build.PL --installdirs vendor --destdir ${D} \
+ --create_packlist=0 \
+ --config installhtml1dir= \
+ --config installhtml3dir= \
+ --config installsitehtml1dir= \
+ --config installsitehtml3dir= \
+ --config installvendorhtml1dir= \
+ --config installvendorhtml3dir= \
${EXTRA_CPAN_BUILD_FLAGS}
# Build.PLs can exit with success without generating a
do_patch[postfuncs] += "do_patch_module_build"
-EXTRA_CPAN_BUILD_FLAGS = "--create_packlist=0"
-
do_install:prepend () {
# We do not have a recipe for libpod-parser-perl which is for
# documentation (and is deprecated in favor of Pod::Simple)