components/gcc49/system-library-gcc-gcc-c++-runtime.p5m
changeset 5205 eaff9ab86216
parent 1948 2d1537e7942d
equal deleted inserted replaced
5204:766639d560b9 5205:eaff9ab86216
       
     1 #
       
     2 # CDDL HEADER START
       
     3 #
       
     4 # The contents of this file are subject to the terms of the
       
     5 # Common Development and Distribution License (the "License").
       
     6 # You may not use this file except in compliance with the License.
       
     7 #
       
     8 # You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
       
     9 # or http://www.opensolaris.org/os/licensing.
       
    10 # See the License for the specific language governing permissions
       
    11 # and limitations under the License.
       
    12 #
       
    13 # When distributing Covered Code, include this CDDL HEADER in each
       
    14 # file and include the License file at usr/src/OPENSOLARIS.LICENSE.
       
    15 # If applicable, add the following below this CDDL HEADER, with the
       
    16 # fields enclosed by brackets "[]" replaced with your own identifying
       
    17 # information: Portions Copyright [yyyy] [name of copyright owner]
       
    18 #
       
    19 # CDDL HEADER END
       
    20 #
       
    21 # Copyright (c) 2014, 2015, Oracle and/or its affiliates. All rights reserved.
       
    22 #
       
    23 
       
    24 #
       
    25 # This package manifest installs a copy of the newest GCC runtime bits in
       
    26 # /usr/lib for runtime linker to find and link against.  A copy of the bits
       
    27 # is being used instead of a mediated link so that transitivity doesn't cause
       
    28 # consumers of the interfaces to end up with dependencies on any version
       
    29 # specific runtime packaging that might exist on the system
       
    30 #
       
    31 
       
    32 # search for these in the $(GCC_VERSION) installation area.
       
    33 <transform file path=usr/lib/(.*lib.*\.so.*) -> \
       
    34     set action.hash /$(GCC_BASEDIR)/lib/%<1>>
       
    35 set name=pkg.fmri \
       
    36     value=pkg:/system/library/gcc/gcc-c++-runtime@$(IPS_COMPONENT_VERSION),$(BUILD_VERSION)
       
    37 set name=pkg.summary value="GCC $(GCC_VERSION) - C++ Runtime"
       
    38 set name=com.oracle.info.description \
       
    39     value="the GNU Compiler Collection - C++ Runtime Libraries"
       
    40 set name=com.oracle.info.tpno value=$(TPNO)
       
    41 set name=info.classification value=org.opensolaris.category.2008:Development/C \
       
    42     value=org.opensolaris.category.2008:Development/C++ \
       
    43     value=org.opensolaris.category.2008:Development/GNU
       
    44 set name=info.source-url value=$(COMPONENT_ARCHIVE_URL)
       
    45 set name=info.upstream-url value=$(COMPONENT_PROJECT_URL)
       
    46 set name=org.opensolaris.arc-caseid value=PSARC/2012/373
       
    47 set name=org.opensolaris.consolidation value=$(CONSOLIDATION)
       
    48 link path=usr/lib/$(MACH64)/libstdc++.so target=libstdc++.so.6.0.20
       
    49 link path=usr/lib/$(MACH64)/libstdc++.so.6 target=libstdc++.so.6.0.20
       
    50 file path=usr/lib/$(MACH64)/libstdc++.so.6.0.20
       
    51 link path=usr/lib/libstdc++.so target=libstdc++.so.6.0.20
       
    52 link path=usr/lib/libstdc++.so.6 target=libstdc++.so.6.0.20
       
    53 file path=usr/lib/libstdc++.so.6.0.20
       
    54 license gcc$(GCC_V).license license="GPLv3 with Runtime Exception"
       
    55 
       
    56 #
       
    57 # force this to upgrade if it is installed to avoid conflict since the paths
       
    58 # in /usr/lib change from mediated links to files from here on.
       
    59 #
       
    60 depend type=optional \
       
    61     fmri=system/library/[email protected],5.12-5.12.0.0.0.43.0