From 2d777fc7bca4d3ef8e1cdad4b23142856cec4139 Mon Sep 17 00:00:00 2001
From: fritzkink <96341974+fritzkink@users.noreply.github.com>
Date: Mon, 25 Sep 2023 21:59:52 +0200
Subject: [PATCH] clang - fix runtime package

---
 components/developer/clang-17/pkg5                 |    3 ++-
 components/developer/clang-17/Makefile             |    1 +
 components/developer/clang-17/clang-17-runtime.p5m |    2 +-
 3 files changed, 4 insertions(+), 2 deletions(-)

diff --git a/components/developer/clang-17/Makefile b/components/developer/clang-17/Makefile
index 3c0de34..e485873 100644
--- a/components/developer/clang-17/Makefile
+++ b/components/developer/clang-17/Makefile
@@ -27,6 +27,7 @@
 COMPONENT_BASE_VERSION=	$(COMPONENT_MJR_VERSION).0
 COMPONENT_NAME=		clang-$(COMPONENT_MJR_VERSION)
 COMPONENT_VERSION=	$(COMPONENT_BASE_VERSION).1
+COMPONENT_REVISION=	1
 COMPONENT_SUMMARY=	LLVM tools and Clang compiler
 COMPONENT_PROJECT_URL=	https://llvm.org/
 COMPONENT_SRC=		$(LLVM_NAME)-$(COMPONENT_VERSION).src
diff --git a/components/developer/clang-17/clang-17-runtime.p5m b/components/developer/clang-17/clang-17-runtime.p5m
index be25397..8fe2b26 100644
--- a/components/developer/clang-17/clang-17-runtime.p5m
+++ b/components/developer/clang-17/clang-17-runtime.p5m
@@ -13,7 +13,7 @@
 # Copyright 2023 Friedrich Kink
 #
 
-set name=pkg.fmri value=pkg:/$(COMPONENT_FMRI)@$(IPS_COMPONENT_VERSION),$(BUILD_VERSION)
+set name=pkg.fmri value=pkg:/runtime/clang-17@$(IPS_COMPONENT_VERSION),$(BUILD_VERSION)
 set name=pkg.human-version value=$(HUMAN_VERSION)
 set name=pkg.summary value="$(COMPONENT_SUMMARY)"
 set name=info.classification value="$(COMPONENT_CLASSIFICATION)"
diff --git a/components/developer/clang-17/pkg5 b/components/developer/clang-17/pkg5
index 0e1bdab..778f8f5 100644
--- a/components/developer/clang-17/pkg5
+++ b/components/developer/clang-17/pkg5
@@ -13,6 +13,7 @@
     ],
     "fmris": [
         "developer/clang-17"
+	"runtime/clang-17"
     ],
     "name": "clang-17"
-}
\ No newline at end of file
+}

--
Gitblit v1.9.3