# # This file and its contents are supplied under the terms of the # Common Development and Distribution License ("CDDL"), version 1.0. # You may only use this file in accordance with the terms of version # 1.0 of the CDDL. # # A full copy of the text of the CDDL should have accompanied this # source. A copy of the CDDL is also available via the Internet at # http://www.illumos.org/license/CDDL. # # # Copyright 2023 Marcel Telka # %include-2% # Test2::Suite has been added to Perl 5.40 core PERL_VERSIONS := $(filter 5.36 5.38, $(PERL_VERSIONS)) %include-3% # Optional test dependencies missing from metadata TEST_REQUIRED_PACKAGES.perl += library/perl-5/json-maybexs %hook-manifest% # # Create manifests for transitional library/perl-5/test2-suite-XXX packages. # c[540]=0.0.162 for ver in 5.40 ; do v=${ver//.} ( cat "$WS_TOP/transforms/manifest-metadata-template" \ | sed -e 's/^#.*Copyright.*.*$/# This file was automatically generated using '"$THIS"'/g' \ -e 's/\$(COMPONENT_FMRI)/&-'$v'/' \ -e 's/\$(IPS_COMPONENT_VERSION)/'${c[$v]}'/' printf 'depend type=require fmri=runtime/perl-%s\n' "$v" >> "$DISTRIBUTION-$v.p5m" ) > "$DISTRIBUTION-$v.p5m" MANIFEST="$MANIFEST $DISTRIBUTION-$v.p5m" done