components/gcc48/system-library-gcc-gcc-c-runtime.p5m
branchs11-update
changeset 2997 6a6348ea8de7
child 3661 47545fb8aed4
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/components/gcc48/system-library-gcc-gcc-c-runtime.p5m	Fri Mar 21 00:13:55 2014 -0700
@@ -0,0 +1,90 @@
+#
+# CDDL HEADER START
+#
+# The contents of this file are subject to the terms of the
+# Common Development and Distribution License (the "License").
+# You may not use this file except in compliance with the License.
+#
+# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
+# or http://www.opensolaris.org/os/licensing.
+# See the License for the specific language governing permissions
+# and limitations under the License.
+#
+# When distributing Covered Code, include this CDDL HEADER in each
+# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
+# If applicable, add the following below this CDDL HEADER, with the
+# fields enclosed by brackets "[]" replaced with your own identifying
+# information: Portions Copyright [yyyy] [name of copyright owner]
+#
+# CDDL HEADER END
+#
+# Copyright (c) 2014, Oracle and/or its affiliates. All rights reserved.
+#
+
+#
+# This package manifest installs a copy of the newest GCC runtime bits in
+# /usr/lib for runtime linker to find and link against.  A copy of the bits
+# is being used instead of a mediated link so that transitivity doesn't cause
+# consumers of the interfaces to end up with dependencies on any version
+# specific runtime packaging that might exist on the system
+#
+
+# search for these in the $(GCC_VERSION) installation area.
+<transform file path=usr/lib/(.*lib.*\.so.*) -> \
+    set action.hash /$(GCC_BASEDIR)/lib/%<1>>
+set name=pkg.fmri \
+    value=pkg:/system/library/gcc/gcc-c-runtime@$(IPS_COMPONENT_VERSION),$(BUILD_VERSION)
+set name=pkg.summary value="GCC $(GCC_VERSION) - C Runtime"
+set name=com.oracle.info.description \
+    value="the GNU Compiler Collection - C Runtime Libraries"
+set name=com.oracle.info.tpno value=15448
+set name=info.classification value=org.opensolaris.category.2008:Development/C \
+    value=org.opensolaris.category.2008:Development/GNU
+set name=info.source-url value=$(COMPONENT_ARCHIVE_URL)
+set name=info.upstream-url value=$(COMPONENT_PROJECT_URL)
+set name=org.opensolaris.arc-caseid value=PSARC/2012/373
+set name=org.opensolaris.consolidation value=$(CONSOLIDATION)
+link path=usr/lib/$(MACH64)/libatomic.so target=libatomic.so.1.0.0
+link path=usr/lib/$(MACH64)/libatomic.so.1 target=libatomic.so.1.0.0
+file path=usr/lib/$(MACH64)/libatomic.so.1.0.0
+link path=usr/lib/$(MACH64)/libgcc_s.so target=libgcc_s.so.1
+file path=usr/lib/$(MACH64)/libgcc_s.so.1
+link path=usr/lib/$(MACH64)/libgomp.so target=libgomp.so.1.0.0
+link path=usr/lib/$(MACH64)/libgomp.so.1 target=libgomp.so.1.0.0
+file path=usr/lib/$(MACH64)/libgomp.so.1.0.0
+link path=usr/lib/$(MACH64)/libitm.so target=libitm.so.1.0.0
+link path=usr/lib/$(MACH64)/libitm.so.1 target=libitm.so.1.0.0
+file path=usr/lib/$(MACH64)/libitm.so.1.0.0
+link path=usr/lib/$(MACH64)/libquadmath.so target=libquadmath.so.0.0.0 \
+    variant.arch=i386
+link path=usr/lib/$(MACH64)/libquadmath.so.0 target=libquadmath.so.0.0.0 \
+    variant.arch=i386
+file path=usr/lib/$(MACH64)/libquadmath.so.0.0.0 variant.arch=i386
+link path=usr/lib/$(MACH64)/libssp.so target=libssp.so.0.0.0
+link path=usr/lib/$(MACH64)/libssp.so.0 target=libssp.so.0.0.0
+file path=usr/lib/$(MACH64)/libssp.so.0.0.0
+link path=usr/lib/libatomic.so target=libatomic.so.1.0.0
+link path=usr/lib/libatomic.so.1 target=libatomic.so.1.0.0
+file path=usr/lib/libatomic.so.1.0.0
+link path=usr/lib/libgcc_s.so target=libgcc_s.so.1
+file path=usr/lib/libgcc_s.so.1
+link path=usr/lib/libgomp.so target=libgomp.so.1.0.0
+link path=usr/lib/libgomp.so.1 target=libgomp.so.1.0.0
+file path=usr/lib/libgomp.so.1.0.0
+link path=usr/lib/libitm.so target=libitm.so.1.0.0
+link path=usr/lib/libitm.so.1 target=libitm.so.1.0.0
+file path=usr/lib/libitm.so.1.0.0
+link path=usr/lib/libquadmath.so target=libquadmath.so.0.0.0 variant.arch=i386
+link path=usr/lib/libquadmath.so.0 target=libquadmath.so.0.0.0 variant.arch=i386
+file path=usr/lib/libquadmath.so.0.0.0 variant.arch=i386
+link path=usr/lib/libssp.so target=libssp.so.0.0.0
+link path=usr/lib/libssp.so.0 target=libssp.so.0.0.0
+file path=usr/lib/libssp.so.0.0.0
+license gcc$(GCC_V).license license="GPLv3 with Runtime Exception"
+
+#
+# force this to upgrade if it is installed to avoid conflict since the paths
+# in /usr/lib change from mediated links to files from here on.
+#
+depend type=optional \
+    fmri=system/library/[email protected],5.11-0.175.2.0.0.36.0