Marcel Telka
2022-08-05 9bec6142781527d49dc39813df2b259ef37c645c
Regular packages should depend on runtime/perl instead of runtime/perl-$(PLV)

1 files added
1 files modified
34 ■■■■■ changed files
make-rules/ips.mk 7 ●●●● patch | view | raw | blame | history
tools/runtime-perl.p5m 27 ●●●●● patch | view | raw | blame | history
make-rules/ips.mk
@@ -514,9 +514,12 @@
    $(PKGMOGRIFY) $(WS_TRANSFORMS)/PRINT_COMPONENT_FMRIS $(DEPENDED) | \
        $(GSED) -e '/^[\t ]*$$/d' -e '/^#/d' ;) | sort -u >$@
$(BUILD_DIR)/runtime-perl.p5m: $(WS_TOOLS)/runtime-perl.p5m
    $(CP) $< $@
# resolve the dependencies all at once
$(BUILD_DIR)/.resolved-$(MACH):    $(DEPENDED) $(RESOLVE_DEPS)
    $(PKGDEPEND) resolve $(RESOLVE_DEPS:%=-e %) -m $(DEPENDED)
$(BUILD_DIR)/.resolved-$(MACH):    $(DEPENDED) $(RESOLVE_DEPS) $(BUILD_DIR)/runtime-perl.p5m
    $(PKGDEPEND) resolve $(RESOLVE_DEPS:%=-e %) -m $(DEPENDED) $(BUILD_DIR)/runtime-perl.p5m
    $(TOUCH) $@
# Set REQUIRED_PACKAGES macro substitution rules
tools/runtime-perl.p5m
New file
@@ -0,0 +1,27 @@
#
# 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 2022 Marcel Telka
#
#
# This is fake manifest used for pkgdepend resolve (see make-rules/ips.mk) to
# force regular packages to depend on pkg:/runtime/perl meta pacakge instead of
# pkg:/runtime/perl-$(PLV).
#
# Only entries that are mediated by pkg:/runtime/perl-$(PLV) packages should be
# listed here.
#
set name=pkg.fmri value=pkg:/runtime/perl
file path=usr/bin/perl owner=root group=bin mode=0555