Marcel Telka
2024-04-02 f1b1912adc00984cd165470b728dda03ac81b2c6
commit | author | age
31f546 1 #
CG 2 # This file and its contents are supplied under the terms of the
3 # Common Development and Distribution License ("CDDL"), version 1.0.
4 # You may only use this file in accordance with the terms of version
5 # 1.0 of the CDDL.
6 #
7 # A full copy of the text of the CDDL should have accompanied this
8 # source.  A copy of the CDDL is also available via the Internet at
9 # http://www.illumos.org/license/CDDL.
10 #
11
12 #
13 # Copyright 2022 Andreas Wacknitz.  All rights reserved.
14 #
15
16 set name=pkg.fmri value=pkg:/system/library/gcc-12-compat-links@$(IPS_COMPONENT_VERSION),$(BUILD_VERSION)
17 set name=pkg.human-version value=$(HUMAN_VERSION)
18 set name=pkg.summary value="GCC C and C++ Runtime Libraries links"
19 set name=info.classification value="org.opensolaris.category.2008:Development/C"
20 set name=info.upstream-url value=$(COMPONENT_PROJECT_URL)
21 set name=info.source-url value=$(COMPONENT_ARCHIVE_URL)
22 set name=org.opensolaris.consolidation value=$(CONSOLIDATION)
23
24 license COPYING.RUNTIME license="GCC runtime license"
25
26 depend fmri=pkg:/system/library/gcc-12-runtime@$(IPS_COMPONENT_VERSION),$(BUILD_VERSION) type=require
27 depend fmri=pkg:/system/library/g++-12-runtime@$(IPS_COMPONENT_VERSION),$(BUILD_VERSION) type=require
28
29 # Add links to /usr/lib/$(MACH64)/ from gcc-12-runtime
30 link path=usr/lib/$(MACH64)/libatomic.so target=../../gcc/12/lib/$(MACH64)/libatomic.so
31 link path=usr/lib/$(MACH64)/libatomic.so.1 target=../../gcc/12/lib/$(MACH64)/libatomic.so.1
32 link path=usr/lib/$(MACH64)/libgcc_s.so target=../../gcc/12/lib/$(MACH64)/libgcc_s.so
33 link path=usr/lib/$(MACH64)/libgcc_s.so.1 target=../../gcc/12/lib/$(MACH64)/libgcc_s.so.1
34 link path=usr/lib/$(MACH64)/libgomp.so target=../../gcc/12/lib/$(MACH64)/libgomp.so
35 link path=usr/lib/$(MACH64)/libgomp.so.1 target=../../gcc/12/lib/$(MACH64)/libgomp.so.1
36 link path=usr/lib/$(MACH64)/libssp.so target=../../gcc/12/lib/$(MACH64)/libssp.so
37 link path=usr/lib/$(MACH64)/libssp.so.0 target=../../gcc/12/lib/$(MACH64)/libssp.so.0
38 # Add links to /usr/lib/$(MACH64) from g++-runtime
39 link path=usr/lib/$(MACH64)/libstdc++.so target=../../gcc/12/lib/$(MACH64)/libstdc++.so
40 link path=usr/lib/$(MACH64)/libstdc++.so.6 target=../../gcc/12/lib/$(MACH64)/libstdc++.so.6
41
42 # Add links to /usr/lib/ from gcc-12-runtime
43 link path=usr/lib/libatomic.so target=../gcc/12/lib/libatomic.so
44 link path=usr/lib/libatomic.so.1 target=../gcc/12/lib/libatomic.so.1
45 link path=usr/lib/libgcc_s.so target=../gcc/12/lib/libgcc_s.so
46 link path=usr/lib/libgcc_s.so.1 target=../gcc/12/lib/libgcc_s.so.1
47 link path=usr/lib/libgomp.so target=../gcc/12/lib/libgomp.so
48 link path=usr/lib/libgomp.so.1 target=../gcc/12/lib/libgomp.so.1
49 link path=usr/lib/libssp.so target=../gcc/12/lib/libssp.so
50 link path=usr/lib/libssp.so.0 target=../gcc/12/lib/libssp.so.0
51 # Add links to /usr/lib/ from g++-runtime
52 link path=usr/lib/libstdc++.so target=../gcc/12/lib/libstdc++.so
53 link path=usr/lib/libstdc++.so.6 target=../gcc/12/lib/libstdc++.so.6
54