Marcel Telka
2023-06-26 8478d1e762ef0205720822021830d0610d8e454a
ips.mk: defer shell calls in perl-manifest-rule until they are really needed

1 files modified
4 ■■■■ changed files
make-rules/ips.mk 4 ●●●● patch | view | raw | blame | history
make-rules/ips.mk
@@ -390,8 +390,8 @@
# perl module specific to a particular version of the perl runtime.
define perl-manifest-rule
$(MANIFEST_BASE)-%-$(shell echo $(1) | tr -d .).p5m: %-PERLVER.p5m
    $(PKGMOGRIFY) -D PERLVER=$(1) -D PLV=$(shell echo $(1) | tr -d .) \
        -D PERL_ARCH=$(call PERL_ARCH_FUNC,$(PERL.$(1))) $$< > $$@
    $(PKGMOGRIFY) -D PERLVER=$(1) -D PLV=$$(shell echo $(1) | tr -d .) \
        -D PERL_ARCH=$$(call PERL_ARCH_FUNC,$$(PERL.$(1))) $$< > $$@
endef
$(foreach ver,$(PERL_VERSIONS),$(eval $(call perl-manifest-rule,$(ver))))