components/gcc47/system-library-gcc-gcc-gobjc-runtime.p5m
author Stefan Teleman <stefan.teleman@oracle.com>
Wed, 29 Jan 2014 21:34:24 -0800
branchs11-update
changeset 2922 a20504fc0f7b
parent 2720 ce63a14b34c3
permissions -rw-r--r--
18117608 problem in UTILITY/SVN 18153699 problem in UTILITY/SVN
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
2720
ce63a14b34c3 15823988 SUNBT7205673-12.0 Upgrade GCC to >= 4.7.2
Stefan Teleman <stefan.teleman@oracle.com>
parents:
diff changeset
     1
#
ce63a14b34c3 15823988 SUNBT7205673-12.0 Upgrade GCC to >= 4.7.2
Stefan Teleman <stefan.teleman@oracle.com>
parents:
diff changeset
     2
# CDDL HEADER START
ce63a14b34c3 15823988 SUNBT7205673-12.0 Upgrade GCC to >= 4.7.2
Stefan Teleman <stefan.teleman@oracle.com>
parents:
diff changeset
     3
#
ce63a14b34c3 15823988 SUNBT7205673-12.0 Upgrade GCC to >= 4.7.2
Stefan Teleman <stefan.teleman@oracle.com>
parents:
diff changeset
     4
# The contents of this file are subject to the terms of the
ce63a14b34c3 15823988 SUNBT7205673-12.0 Upgrade GCC to >= 4.7.2
Stefan Teleman <stefan.teleman@oracle.com>
parents:
diff changeset
     5
# Common Development and Distribution License (the "License").
ce63a14b34c3 15823988 SUNBT7205673-12.0 Upgrade GCC to >= 4.7.2
Stefan Teleman <stefan.teleman@oracle.com>
parents:
diff changeset
     6
# You may not use this file except in compliance with the License.
ce63a14b34c3 15823988 SUNBT7205673-12.0 Upgrade GCC to >= 4.7.2
Stefan Teleman <stefan.teleman@oracle.com>
parents:
diff changeset
     7
#
ce63a14b34c3 15823988 SUNBT7205673-12.0 Upgrade GCC to >= 4.7.2
Stefan Teleman <stefan.teleman@oracle.com>
parents:
diff changeset
     8
# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
ce63a14b34c3 15823988 SUNBT7205673-12.0 Upgrade GCC to >= 4.7.2
Stefan Teleman <stefan.teleman@oracle.com>
parents:
diff changeset
     9
# or http://www.opensolaris.org/os/licensing.
ce63a14b34c3 15823988 SUNBT7205673-12.0 Upgrade GCC to >= 4.7.2
Stefan Teleman <stefan.teleman@oracle.com>
parents:
diff changeset
    10
# See the License for the specific language governing permissions
ce63a14b34c3 15823988 SUNBT7205673-12.0 Upgrade GCC to >= 4.7.2
Stefan Teleman <stefan.teleman@oracle.com>
parents:
diff changeset
    11
# and limitations under the License.
ce63a14b34c3 15823988 SUNBT7205673-12.0 Upgrade GCC to >= 4.7.2
Stefan Teleman <stefan.teleman@oracle.com>
parents:
diff changeset
    12
#
ce63a14b34c3 15823988 SUNBT7205673-12.0 Upgrade GCC to >= 4.7.2
Stefan Teleman <stefan.teleman@oracle.com>
parents:
diff changeset
    13
# When distributing Covered Code, include this CDDL HEADER in each
ce63a14b34c3 15823988 SUNBT7205673-12.0 Upgrade GCC to >= 4.7.2
Stefan Teleman <stefan.teleman@oracle.com>
parents:
diff changeset
    14
# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
ce63a14b34c3 15823988 SUNBT7205673-12.0 Upgrade GCC to >= 4.7.2
Stefan Teleman <stefan.teleman@oracle.com>
parents:
diff changeset
    15
# If applicable, add the following below this CDDL HEADER, with the
ce63a14b34c3 15823988 SUNBT7205673-12.0 Upgrade GCC to >= 4.7.2
Stefan Teleman <stefan.teleman@oracle.com>
parents:
diff changeset
    16
# fields enclosed by brackets "[]" replaced with your own identifying
ce63a14b34c3 15823988 SUNBT7205673-12.0 Upgrade GCC to >= 4.7.2
Stefan Teleman <stefan.teleman@oracle.com>
parents:
diff changeset
    17
# information: Portions Copyright [yyyy] [name of copyright owner]
ce63a14b34c3 15823988 SUNBT7205673-12.0 Upgrade GCC to >= 4.7.2
Stefan Teleman <stefan.teleman@oracle.com>
parents:
diff changeset
    18
#
ce63a14b34c3 15823988 SUNBT7205673-12.0 Upgrade GCC to >= 4.7.2
Stefan Teleman <stefan.teleman@oracle.com>
parents:
diff changeset
    19
# CDDL HEADER END
ce63a14b34c3 15823988 SUNBT7205673-12.0 Upgrade GCC to >= 4.7.2
Stefan Teleman <stefan.teleman@oracle.com>
parents:
diff changeset
    20
#
ce63a14b34c3 15823988 SUNBT7205673-12.0 Upgrade GCC to >= 4.7.2
Stefan Teleman <stefan.teleman@oracle.com>
parents:
diff changeset
    21
# Copyright (c) 2013, Oracle and/or its affiliates. All rights reserved.
ce63a14b34c3 15823988 SUNBT7205673-12.0 Upgrade GCC to >= 4.7.2
Stefan Teleman <stefan.teleman@oracle.com>
parents:
diff changeset
    22
#
ce63a14b34c3 15823988 SUNBT7205673-12.0 Upgrade GCC to >= 4.7.2
Stefan Teleman <stefan.teleman@oracle.com>
parents:
diff changeset
    23
ce63a14b34c3 15823988 SUNBT7205673-12.0 Upgrade GCC to >= 4.7.2
Stefan Teleman <stefan.teleman@oracle.com>
parents:
diff changeset
    24
set name=pkg.fmri \
ce63a14b34c3 15823988 SUNBT7205673-12.0 Upgrade GCC to >= 4.7.2
Stefan Teleman <stefan.teleman@oracle.com>
parents:
diff changeset
    25
    value=pkg:/system/library/gcc/gcc-gobjc-runtime@$(IPS_COMPONENT_VERSION),$(BUILD_VERSION)
ce63a14b34c3 15823988 SUNBT7205673-12.0 Upgrade GCC to >= 4.7.2
Stefan Teleman <stefan.teleman@oracle.com>
parents:
diff changeset
    26
set name=pkg.summary value="GCC 4.7 - Objective-C Runtime"
ce63a14b34c3 15823988 SUNBT7205673-12.0 Upgrade GCC to >= 4.7.2
Stefan Teleman <stefan.teleman@oracle.com>
parents:
diff changeset
    27
set name=com.oracle.info.description \
ce63a14b34c3 15823988 SUNBT7205673-12.0 Upgrade GCC to >= 4.7.2
Stefan Teleman <stefan.teleman@oracle.com>
parents:
diff changeset
    28
    value="the GNU Compiler Collection - Objective-C Runtime Libraries"
ce63a14b34c3 15823988 SUNBT7205673-12.0 Upgrade GCC to >= 4.7.2
Stefan Teleman <stefan.teleman@oracle.com>
parents:
diff changeset
    29
set name=com.oracle.info.tpno value=14467
ce63a14b34c3 15823988 SUNBT7205673-12.0 Upgrade GCC to >= 4.7.2
Stefan Teleman <stefan.teleman@oracle.com>
parents:
diff changeset
    30
set name=info.classification \
ce63a14b34c3 15823988 SUNBT7205673-12.0 Upgrade GCC to >= 4.7.2
Stefan Teleman <stefan.teleman@oracle.com>
parents:
diff changeset
    31
    value=org.opensolaris.category.2008:Development/GNU \
ce63a14b34c3 15823988 SUNBT7205673-12.0 Upgrade GCC to >= 4.7.2
Stefan Teleman <stefan.teleman@oracle.com>
parents:
diff changeset
    32
    value="org.opensolaris.category.2008:Development/Objective C"
ce63a14b34c3 15823988 SUNBT7205673-12.0 Upgrade GCC to >= 4.7.2
Stefan Teleman <stefan.teleman@oracle.com>
parents:
diff changeset
    33
set name=info.source-url value=$(COMPONENT_ARCHIVE_URL)
ce63a14b34c3 15823988 SUNBT7205673-12.0 Upgrade GCC to >= 4.7.2
Stefan Teleman <stefan.teleman@oracle.com>
parents:
diff changeset
    34
set name=info.upstream-url value=$(COMPONENT_PROJECT_URL)
ce63a14b34c3 15823988 SUNBT7205673-12.0 Upgrade GCC to >= 4.7.2
Stefan Teleman <stefan.teleman@oracle.com>
parents:
diff changeset
    35
set name=org.opensolaris.arc-caseid value=PSARC/2012/373
ce63a14b34c3 15823988 SUNBT7205673-12.0 Upgrade GCC to >= 4.7.2
Stefan Teleman <stefan.teleman@oracle.com>
parents:
diff changeset
    36
set name=org.opensolaris.consolidation value=$(CONSOLIDATION)
ce63a14b34c3 15823988 SUNBT7205673-12.0 Upgrade GCC to >= 4.7.2
Stefan Teleman <stefan.teleman@oracle.com>
parents:
diff changeset
    37
link path=usr/gcc/4.7/lib/$(MACH64)/libobjc.so target=libobjc.so.4.0.0
ce63a14b34c3 15823988 SUNBT7205673-12.0 Upgrade GCC to >= 4.7.2
Stefan Teleman <stefan.teleman@oracle.com>
parents:
diff changeset
    38
link path=usr/gcc/4.7/lib/$(MACH64)/libobjc.so.2 target=libobjc.so.4.0.0
ce63a14b34c3 15823988 SUNBT7205673-12.0 Upgrade GCC to >= 4.7.2
Stefan Teleman <stefan.teleman@oracle.com>
parents:
diff changeset
    39
link path=usr/gcc/4.7/lib/$(MACH64)/libobjc.so.4 target=libobjc.so.4.0.0
ce63a14b34c3 15823988 SUNBT7205673-12.0 Upgrade GCC to >= 4.7.2
Stefan Teleman <stefan.teleman@oracle.com>
parents:
diff changeset
    40
file path=usr/gcc/4.7/lib/$(MACH64)/libobjc.so.4.0.0 mode=0555
ce63a14b34c3 15823988 SUNBT7205673-12.0 Upgrade GCC to >= 4.7.2
Stefan Teleman <stefan.teleman@oracle.com>
parents:
diff changeset
    41
link path=usr/gcc/4.7/lib/libobjc.so target=libobjc.so.4.0.0
ce63a14b34c3 15823988 SUNBT7205673-12.0 Upgrade GCC to >= 4.7.2
Stefan Teleman <stefan.teleman@oracle.com>
parents:
diff changeset
    42
link path=usr/gcc/4.7/lib/libobjc.so.2 target=libobjc.so.4.0.0
ce63a14b34c3 15823988 SUNBT7205673-12.0 Upgrade GCC to >= 4.7.2
Stefan Teleman <stefan.teleman@oracle.com>
parents:
diff changeset
    43
link path=usr/gcc/4.7/lib/libobjc.so.4 target=libobjc.so.4.0.0
ce63a14b34c3 15823988 SUNBT7205673-12.0 Upgrade GCC to >= 4.7.2
Stefan Teleman <stefan.teleman@oracle.com>
parents:
diff changeset
    44
file path=usr/gcc/4.7/lib/libobjc.so.4.0.0 mode=0555
ce63a14b34c3 15823988 SUNBT7205673-12.0 Upgrade GCC to >= 4.7.2
Stefan Teleman <stefan.teleman@oracle.com>
parents:
diff changeset
    45
link path=usr/lib/$(MACH64)/libobjc.so \
ce63a14b34c3 15823988 SUNBT7205673-12.0 Upgrade GCC to >= 4.7.2
Stefan Teleman <stefan.teleman@oracle.com>
parents:
diff changeset
    46
    target=../../gcc/4.7/lib/$(MACH64)/libobjc.so mediator=gcc-runtime \
ce63a14b34c3 15823988 SUNBT7205673-12.0 Upgrade GCC to >= 4.7.2
Stefan Teleman <stefan.teleman@oracle.com>
parents:
diff changeset
    47
    mediator-version=4.7
ce63a14b34c3 15823988 SUNBT7205673-12.0 Upgrade GCC to >= 4.7.2
Stefan Teleman <stefan.teleman@oracle.com>
parents:
diff changeset
    48
ce63a14b34c3 15823988 SUNBT7205673-12.0 Upgrade GCC to >= 4.7.2
Stefan Teleman <stefan.teleman@oracle.com>
parents:
diff changeset
    49
# libobjc.so.2 is gone in GCC 4.7. Replaced by libobjc.so.4.
ce63a14b34c3 15823988 SUNBT7205673-12.0 Upgrade GCC to >= 4.7.2
Stefan Teleman <stefan.teleman@oracle.com>
parents:
diff changeset
    50
# There's ABI breakage here, simply because the library
ce63a14b34c3 15823988 SUNBT7205673-12.0 Upgrade GCC to >= 4.7.2
Stefan Teleman <stefan.teleman@oracle.com>
parents:
diff changeset
    51
# is gone. Rather than have applications fail at startup because
ce63a14b34c3 15823988 SUNBT7205673-12.0 Upgrade GCC to >= 4.7.2
Stefan Teleman <stefan.teleman@oracle.com>
parents:
diff changeset
    52
# the library is missing, create a symlink to the old library.
ce63a14b34c3 15823988 SUNBT7205673-12.0 Upgrade GCC to >= 4.7.2
Stefan Teleman <stefan.teleman@oracle.com>
parents:
diff changeset
    53
link path=usr/lib/$(MACH64)/libobjc.so.2 \
ce63a14b34c3 15823988 SUNBT7205673-12.0 Upgrade GCC to >= 4.7.2
Stefan Teleman <stefan.teleman@oracle.com>
parents:
diff changeset
    54
    target=../../gcc/4.7/lib/$(MACH64)/libobjc.so.4 mediator=gcc-runtime \
ce63a14b34c3 15823988 SUNBT7205673-12.0 Upgrade GCC to >= 4.7.2
Stefan Teleman <stefan.teleman@oracle.com>
parents:
diff changeset
    55
    mediator-version=4.7
ce63a14b34c3 15823988 SUNBT7205673-12.0 Upgrade GCC to >= 4.7.2
Stefan Teleman <stefan.teleman@oracle.com>
parents:
diff changeset
    56
link path=usr/lib/$(MACH64)/libobjc.so.4 \
ce63a14b34c3 15823988 SUNBT7205673-12.0 Upgrade GCC to >= 4.7.2
Stefan Teleman <stefan.teleman@oracle.com>
parents:
diff changeset
    57
    target=../../gcc/4.7/lib/$(MACH64)/libobjc.so.4 mediator=gcc-runtime \
ce63a14b34c3 15823988 SUNBT7205673-12.0 Upgrade GCC to >= 4.7.2
Stefan Teleman <stefan.teleman@oracle.com>
parents:
diff changeset
    58
    mediator-version=4.7
ce63a14b34c3 15823988 SUNBT7205673-12.0 Upgrade GCC to >= 4.7.2
Stefan Teleman <stefan.teleman@oracle.com>
parents:
diff changeset
    59
link path=usr/lib/libobjc.so target=../gcc/4.7/lib/libobjc.so \
ce63a14b34c3 15823988 SUNBT7205673-12.0 Upgrade GCC to >= 4.7.2
Stefan Teleman <stefan.teleman@oracle.com>
parents:
diff changeset
    60
    mediator=gcc-runtime mediator-version=4.7
ce63a14b34c3 15823988 SUNBT7205673-12.0 Upgrade GCC to >= 4.7.2
Stefan Teleman <stefan.teleman@oracle.com>
parents:
diff changeset
    61
ce63a14b34c3 15823988 SUNBT7205673-12.0 Upgrade GCC to >= 4.7.2
Stefan Teleman <stefan.teleman@oracle.com>
parents:
diff changeset
    62
# libobjc.so.2 is gone in GCC 4.7 - see above.
ce63a14b34c3 15823988 SUNBT7205673-12.0 Upgrade GCC to >= 4.7.2
Stefan Teleman <stefan.teleman@oracle.com>
parents:
diff changeset
    63
link path=usr/lib/libobjc.so.2 target=../gcc/4.7/lib/libobjc.so.2 \
ce63a14b34c3 15823988 SUNBT7205673-12.0 Upgrade GCC to >= 4.7.2
Stefan Teleman <stefan.teleman@oracle.com>
parents:
diff changeset
    64
    mediator=gcc-runtime mediator-version=4.7
ce63a14b34c3 15823988 SUNBT7205673-12.0 Upgrade GCC to >= 4.7.2
Stefan Teleman <stefan.teleman@oracle.com>
parents:
diff changeset
    65
link path=usr/lib/libobjc.so.4 target=../gcc/4.7/lib/libobjc.so.4 \
ce63a14b34c3 15823988 SUNBT7205673-12.0 Upgrade GCC to >= 4.7.2
Stefan Teleman <stefan.teleman@oracle.com>
parents:
diff changeset
    66
    mediator=gcc-runtime mediator-version=4.7
ce63a14b34c3 15823988 SUNBT7205673-12.0 Upgrade GCC to >= 4.7.2
Stefan Teleman <stefan.teleman@oracle.com>
parents:
diff changeset
    67
license gcc47.license license="GPLv3 with Runtime Exception"
ce63a14b34c3 15823988 SUNBT7205673-12.0 Upgrade GCC to >= 4.7.2
Stefan Teleman <stefan.teleman@oracle.com>
parents:
diff changeset
    68