Marcel Telka
2024-02-05 31cf6d01d28286e6c650cd8a8ee3e452e291dff2
Regular packages should depend on runtime/ruby instead of runtime/ruby-$(RUBYV)

1 files added
1 files modified
34 ■■■■■ changed files
make-rules/ips.mk 7 ●●●● patch | view | raw | blame | history
tools/runtime-ruby.p5m 27 ●●●●● patch | view | raw | blame | history
make-rules/ips.mk
@@ -512,9 +512,12 @@
$(BUILD_DIR)/runtime-perl.p5m: $(WS_TOOLS)/runtime-perl.p5m
    $(CP) $< $@
$(BUILD_DIR)/runtime-ruby.p5m: $(WS_TOOLS)/runtime-ruby.p5m
    $(CP) $< $@
# resolve the dependencies all at once
$(BUILD_DIR)/.resolved-$(MACH):    $(DEPENDED) $(RESOLVE_DEPS) $(BUILD_DIR)/runtime-perl.p5m
    $(PKGDEPEND) resolve $(RESOLVE_DEPS:%=-e %) -m $(DEPENDED) $(BUILD_DIR)/runtime-perl.p5m
$(BUILD_DIR)/.resolved-$(MACH):    $(DEPENDED) $(RESOLVE_DEPS) $(BUILD_DIR)/runtime-perl.p5m $(BUILD_DIR)/runtime-ruby.p5m
    $(PKGDEPEND) resolve $(RESOLVE_DEPS:%=-e %) -m $(DEPENDED) $(BUILD_DIR)/runtime-perl.p5m $(BUILD_DIR)/runtime-ruby.p5m
    $(TOUCH) $@
# generate list of sed rules to filter out component's own packages from
tools/runtime-ruby.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 2024 Marcel Telka
#
#
# This is fake manifest used for pkgdepend resolve (see make-rules/ips.mk) to
# force regular packages to depend on pkg:/runtime/ruby meta pacakge instead of
# pkg:/runtime/ruby-$(RUBYV).
#
# Only entries that are mediated by pkg:/runtime/ruby-$(RUBYV) packages or
# provided by pkg:/runtime/ruby should be listed here.
#
set name=pkg.fmri value=pkg:/runtime/ruby
file path=usr/bin/ruby owner=root group=bin mode=0555