components/gcc48/system-library-gcc-gcc-gfortran-runtime.p5m
author Norm Jacobs <Norm.Jacobs@Oracle.COM>
Fri, 21 Mar 2014 00:13:55 -0700
branchs11-update
changeset 2997 6a6348ea8de7
child 3661 47545fb8aed4
permissions -rw-r--r--
17436986 integrate GCC 4.8.x 17876889 GCC package design is inherently broken 18419497 building R with gcc fails on build 43

#
# 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-gfortran-runtime@$(IPS_COMPONENT_VERSION),$(BUILD_VERSION)
set name=pkg.summary value="GCC $(GCC_VERSION) - Fortran Runtime"
set name=com.oracle.info.description \
    value="the GNU Compiler Collection - Fortran Runtime Libraries"
set name=com.oracle.info.tpno value=15448
set name=info.classification \
    value=org.opensolaris.category.2008:Development/Fortran \
    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)/libgfortran.so target=libgfortran.so.3.0.0
link path=usr/lib/$(MACH64)/libgfortran.so.3 target=libgfortran.so.3.0.0
file path=usr/lib/$(MACH64)/libgfortran.so.3.0.0
link path=usr/lib/libgfortran.so target=libgfortran.so.3.0.0
link path=usr/lib/libgfortran.so.3 target=libgfortran.so.3.0.0
file path=usr/lib/libgfortran.so.3.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