components/gcc47/system-library-gcc-gcc-gobjc-runtime.p5m
branchs11-update
changeset 2997 6a6348ea8de7
parent 2996 9d8e1fd67549
child 2998 baa6929eb38b
equal deleted inserted replaced
2996:9d8e1fd67549 2997:6a6348ea8de7
     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) 2013, Oracle and/or its affiliates. All rights reserved.
       
    22 #
       
    23 
       
    24 set name=pkg.fmri \
       
    25     value=pkg:/system/library/gcc/gcc-gobjc-runtime@$(IPS_COMPONENT_VERSION),$(BUILD_VERSION)
       
    26 set name=pkg.summary value="GCC 4.7 - Objective-C Runtime"
       
    27 set name=com.oracle.info.description \
       
    28     value="the GNU Compiler Collection - Objective-C Runtime Libraries"
       
    29 set name=com.oracle.info.tpno value=14467
       
    30 set name=info.classification \
       
    31     value=org.opensolaris.category.2008:Development/GNU \
       
    32     value="org.opensolaris.category.2008:Development/Objective C"
       
    33 set name=info.source-url value=$(COMPONENT_ARCHIVE_URL)
       
    34 set name=info.upstream-url value=$(COMPONENT_PROJECT_URL)
       
    35 set name=org.opensolaris.arc-caseid value=PSARC/2012/373
       
    36 set name=org.opensolaris.consolidation value=$(CONSOLIDATION)
       
    37 link path=usr/gcc/4.7/lib/$(MACH64)/libobjc.so target=libobjc.so.4.0.0
       
    38 link path=usr/gcc/4.7/lib/$(MACH64)/libobjc.so.2 target=libobjc.so.4.0.0
       
    39 link path=usr/gcc/4.7/lib/$(MACH64)/libobjc.so.4 target=libobjc.so.4.0.0
       
    40 file path=usr/gcc/4.7/lib/$(MACH64)/libobjc.so.4.0.0 mode=0555
       
    41 link path=usr/gcc/4.7/lib/libobjc.so target=libobjc.so.4.0.0
       
    42 link path=usr/gcc/4.7/lib/libobjc.so.2 target=libobjc.so.4.0.0
       
    43 link path=usr/gcc/4.7/lib/libobjc.so.4 target=libobjc.so.4.0.0
       
    44 file path=usr/gcc/4.7/lib/libobjc.so.4.0.0 mode=0555
       
    45 link path=usr/lib/$(MACH64)/libobjc.so \
       
    46     target=../../gcc/4.7/lib/$(MACH64)/libobjc.so mediator=gcc-runtime \
       
    47     mediator-version=4.7
       
    48 
       
    49 # libobjc.so.2 is gone in GCC 4.7. Replaced by libobjc.so.4.
       
    50 # There's ABI breakage here, simply because the library
       
    51 # is gone. Rather than have applications fail at startup because
       
    52 # the library is missing, create a symlink to the old library.
       
    53 link path=usr/lib/$(MACH64)/libobjc.so.2 \
       
    54     target=../../gcc/4.7/lib/$(MACH64)/libobjc.so.4 mediator=gcc-runtime \
       
    55     mediator-version=4.7
       
    56 link path=usr/lib/$(MACH64)/libobjc.so.4 \
       
    57     target=../../gcc/4.7/lib/$(MACH64)/libobjc.so.4 mediator=gcc-runtime \
       
    58     mediator-version=4.7
       
    59 link path=usr/lib/libobjc.so target=../gcc/4.7/lib/libobjc.so \
       
    60     mediator=gcc-runtime mediator-version=4.7
       
    61 
       
    62 # libobjc.so.2 is gone in GCC 4.7 - see above.
       
    63 link path=usr/lib/libobjc.so.2 target=../gcc/4.7/lib/libobjc.so.2 \
       
    64     mediator=gcc-runtime mediator-version=4.7
       
    65 link path=usr/lib/libobjc.so.4 target=../gcc/4.7/lib/libobjc.so.4 \
       
    66     mediator=gcc-runtime mediator-version=4.7
       
    67 license gcc47.license license="GPLv3 with Runtime Exception"
       
    68