Marcel Telka
2023-07-13 6bf2721d96629339df9850998e213dea2351ea57
modulebuild.mk: Module::Build is not needed to bootstrap Module::Build

1 files modified
8 ■■■■ changed files
make-rules/modulebuild.mk 8 ●●●● patch | view | raw | blame | history
make-rules/modulebuild.mk
@@ -85,5 +85,11 @@
        $(COMPONENT_TEST_CLEANUP)
        $(TOUCH) $@
# Build.PL needs Module::Build
# Workaround for https://github.com/Perl-Toolchain-Gang/Module-Build/issues/91.
# Without the workaround we would need to add library/perl-5/module-build as a
# required package manually to all Perl components with the modulebuild build
# style.  We do not need the library/perl-5/module-build package to bootstrap
# the Module::Build module itself.
ifneq ($(strip $(COMPONENT_PERL_MODULE)),Module::Build)
USERLAND_REQUIRED_PACKAGES.perl += library/perl-5/module-build
endif