head	1.65;
access;
symbols
	OPENPKG_E1_MP_HEAD:1.55
	OPENPKG_E1_MP:1.55
	OPENPKG_E1_MP_2_STABLE:1.42.2.2
	OPENPKG_E1_FP:1.42.2.2
	OPENPKG_2_STABLE_MP:1.42
	OPENPKG_2_STABLE_20061018:1.42.2.2
	OPENPKG_2_STABLE:1.42.0.2;
locks; strict;
comment	@-- @;


1.65
date	2007.05.17.10.21.41;	author rse;	state dead;
branches;
next	1.64;
commitid	8ZNMVA2ow5pbGgis;

1.64
date	2007.03.08.09.20.08;	author cs;	state Exp;
branches;
next	1.63;
commitid	dD4RAceqrAIzAg9s;

1.63
date	2007.03.01.09.00.29;	author rse;	state Exp;
branches;
next	1.62;
commitid	K1ep3dBrXuGMHm8s;

1.62
date	2007.02.22.06.24.02;	author cs;	state Exp;
branches;
next	1.61;
commitid	ZHgC2vJXTFV34s7s;

1.61
date	2007.02.15.07.49.15;	author cs;	state Exp;
branches;
next	1.60;
commitid	36hiCbtsNdwfLy6s;

1.60
date	2007.02.08.09.03.10;	author rse;	state Exp;
branches;
next	1.59;
commitid	TmbGtPrpPOpyoF5s;

1.59
date	2007.02.01.09.19.46;	author rse;	state Exp;
branches;
next	1.58;
commitid	oiRqxp6tfpIcIL4s;

1.58
date	2007.01.25.08.11.00;	author cs;	state Exp;
branches;
next	1.57;
commitid	soNVn7Gkq3MyyR3s;

1.57
date	2007.01.18.08.16.11;	author rse;	state Exp;
branches;
next	1.56;
commitid	e1kqpEEnNgIhOX2s;

1.56
date	2007.01.11.08.27.46;	author rse;	state Exp;
branches;
next	1.55;
commitid	RU1MUphOlpgd642s;

1.55
date	2007.01.03.10.48.48;	author rse;	state Exp;
branches;
next	1.54;
commitid	MIK1zFDCA39v831s;

1.54
date	2007.01.01.17.38.00;	author rse;	state Exp;
branches;
next	1.53;
commitid	BicZD6VUl7GuqP0s;

1.53
date	2006.12.27.08.46.58;	author rse;	state Exp;
branches;
next	1.52;
commitid	qofcMu1uzvhHG80s;

1.52
date	2006.12.20.19.32.42;	author rse;	state Exp;
branches;
next	1.51;
commitid	jHH8D8xVSrBauiZr;

1.51
date	2006.12.13.08.14.54;	author rse;	state Exp;
branches;
next	1.50;
commitid	h2q7CTdTLfcBXkYr;

1.50
date	2006.12.06.07.32.19;	author rse;	state Exp;
branches;
next	1.49;
commitid	P59XsQrknfiUWqXr;

1.49
date	2006.11.29.08.31.02;	author rse;	state Exp;
branches;
next	1.48;
commitid	7LR5Yjhh01V0vxWr;

1.48
date	2006.11.22.09.17.17;	author rse;	state Exp;
branches;
next	1.47;
commitid	TUgMWNEXq9dQYDVr;

1.47
date	2006.11.15.12.20.37;	author rse;	state Exp;
branches;
next	1.46;
commitid	JvJlK9wcA3cHdLUr;

1.46
date	2006.11.14.12.22.53;	author rse;	state Exp;
branches;
next	1.45;
commitid	RPSZLL21S4DsgDUr;

1.45
date	2006.11.08.08.00.56;	author rse;	state Exp;
branches;
next	1.44;
commitid	LLPbwecEEPYx0QTr;

1.44
date	2006.11.01.11.46.10;	author rse;	state Exp;
branches;
next	1.43;
commitid	Wf1W4BEgg2ZLtXSr;

1.43
date	2006.10.25.12.14.24;	author rse;	state Exp;
branches;
next	1.42;
commitid	Pf3j4bbIO3ppR3Sr;

1.42
date	2006.10.15.08.39.21;	author rse;	state Exp;
branches
	1.42.2.1;
next	1.41;
commitid	UlD1168T3iazZKQr;

1.41
date	2006.10.13.17.28.12;	author thl;	state Exp;
branches;
next	1.40;
commitid	q5GSxzsSDX29XxQr;

1.40
date	2006.10.08.09.49.53;	author rse;	state Exp;
branches;
next	1.39;
commitid	KSGeaCfayo1IBRPr;

1.39
date	2006.10.01.15.50.10;	author rse;	state Exp;
branches;
next	1.38;
commitid	bJVKxMFg8iEgPZOr;

1.38
date	2006.09.24.16.31.18;	author rse;	state Exp;
branches;
next	1.37;
commitid	Rmj5LWO1Z10jh6Or;

1.37
date	2006.09.17.08.37.52;	author rse;	state Exp;
branches;
next	1.36;
commitid	sBVQ0rUJlJwRS9Nr;

1.36
date	2006.09.10.08.21.41;	author cs;	state Exp;
branches;
next	1.35;
commitid	F8VktjRmR6Nf1gMr;

1.35
date	2006.09.06.15.45.33;	author cs;	state Exp;
branches;
next	1.34;
commitid	yBSF6VYBJ0VuBMLr;

1.34
date	2006.08.27.10.03.49;	author rse;	state Exp;
branches;
next	1.33;
commitid	FI20I1jFIjbb2tKr;

1.33
date	2006.08.20.17.26.52;	author rse;	state Exp;
branches;
next	1.32;
commitid	TtzqfkkvgDm8IBJr;

1.32
date	2006.08.13.16.37.35;	author rse;	state Exp;
branches;
next	1.31;
commitid	MlTNMCZTSBgbFHIr;

1.31
date	2006.08.06.15.43.44;	author rse;	state Exp;
branches;
next	1.30;
commitid	KExqJISfCHAEANHr;

1.30
date	2006.07.31.07.39.30;	author rse;	state Exp;
branches;
next	1.29;
commitid	gQhoNQBbIMIu6ZGr;

1.29
date	2006.07.23.08.14.09;	author rse;	state Exp;
branches;
next	1.28;
commitid	wY1VWd4csoykyXFr;

1.28
date	2006.07.16.09.07.46;	author rse;	state Exp;
branches;
next	1.27;
commitid	EHhAA84UaZfF44Fr;

1.27
date	2006.07.09.21.26.14;	author thl;	state Exp;
branches;
next	1.26;
commitid	SwmujhfojVsWneEr;

1.26
date	2006.07.03.08.14.20;	author thl;	state Exp;
branches;
next	1.25;
commitid	1B0Oy8IbbugfcoDr;

1.25
date	2006.06.25.08.33.41;	author rse;	state Exp;
branches;
next	1.24;
commitid	YGcxSPPjTPUOymCr;

1.24
date	2006.06.22.08.51.11;	author rse;	state Exp;
branches;
next	1.23;
commitid	esq11mwTN8DKKYBr;

1.23
date	2006.06.18.07.25.20;	author rse;	state Exp;
branches;
next	1.22;
commitid	a54qFaZbEMtkpsBr;

1.22
date	2006.06.11.08.13.47;	author rse;	state Exp;
branches;
next	1.21;
commitid	Iu7LFCfKUhTTTyAr;

1.21
date	2006.06.04.07.10.43;	author rse;	state Exp;
branches;
next	1.20;
commitid	ku1dYtKjgRqdMEzr;

1.20
date	2006.05.28.11.46.08;	author rse;	state Exp;
branches;
next	1.19;
commitid	3aw755aCVBmEwMyr;

1.19
date	2006.05.28.09.12.38;	author rse;	state Exp;
branches;
next	1.18;
commitid	RRnud3UbFQOYFLyr;

1.18
date	2006.05.21.17.15.35;	author rse;	state Exp;
branches;
next	1.17;
commitid	MI9PT7qZXjmCzUxr;

1.17
date	2006.05.14.08.34.51;	author rse;	state Exp;
branches;
next	1.16;
commitid	zBnBqRVapIoVUXwr;

1.16
date	2006.05.08.07.12.17;	author rse;	state Exp;
branches;
next	1.15;
commitid	mnrvS2vxeBOyEbwr;

1.15
date	2006.04.30.09.05.19;	author rse;	state Exp;
branches;
next	1.14;
commitid	tqWRcXlMDS9gxavr;

1.14
date	2006.04.24.17.44.49;	author cs;	state Exp;
branches;
next	1.13;
commitid	KrzsBdNgpGksBrur;

1.13
date	2006.04.23.08.55.38;	author rse;	state Exp;
branches;
next	1.12;
commitid	U5JqaISOZGbUHgur;

1.12
date	2006.04.17.09.18.20;	author rse;	state Exp;
branches;
next	1.11;
commitid	8OQ8qf123YvE1vtr;

1.11
date	2006.04.09.20.03.10;	author rse;	state Exp;
branches;
next	1.10;
commitid	pwv3ZFZbtObOQwsr;

1.10
date	2006.04.02.09.31.35;	author rse;	state Exp;
branches;
next	1.9;
commitid	n4aan4jGTTu5Azrr;

1.9
date	2006.03.26.09.42.39;	author rse;	state Exp;
branches;
next	1.8;
commitid	XzY1EV45f8WPRFqr;

1.8
date	2006.03.19.12.32.46;	author rse;	state Exp;
branches;
next	1.7;
commitid	4OA9UCAUuxb92Npr;

1.7
date	2006.03.12.09.52.10;	author rse;	state Exp;
branches;
next	1.6;
commitid	pkWe0ybaGna0nSor;

1.6
date	2006.03.05.11.01.26;	author rse;	state Exp;
branches;
next	1.5;
commitid	77QoPFlI80eIYYnr;

1.5
date	2006.02.26.08.44.40;	author rse;	state Exp;
branches;
next	1.4;
commitid	HXFIeTjmwmIKr4nr;

1.4
date	2006.02.19.08.10.46;	author rse;	state Exp;
branches;
next	1.3;
commitid	dDGIia4Apje4uamr;

1.3
date	2006.02.12.11.51.48;	author rse;	state Exp;
branches;
next	1.2;
commitid	xIiEz95tNsvQVhlr;

1.2
date	2006.02.05.09.03.20;	author rse;	state Exp;
branches;
next	1.1;
commitid	123lZuQDguAZdnkr;

1.1
date	2006.02.01.20.11.38;	author rse;	state Exp;
branches;
next	;
commitid	DMO5MRhINr6f3Vjr;

1.42.2.1
date	2006.10.15.08.39.21;	author rse;	state dead;
branches;
next	1.42.2.2;
commitid	iZxwRSmmWscPXUQr;

1.42.2.2
date	2006.10.16.14.50.17;	author rse;	state Exp;
branches;
next	;
commitid	iZxwRSmmWscPXUQr;


desc
@@


1.65
log
@remove obsolete packages gcc40 and gcc42
@
text
@##
##  gcc42.spec -- OpenPKG RPM Package Specification
##  Copyright (c) 2000-2007 OpenPKG Foundation e.V. <http://openpkg.net/>
##  Copyright (c) 2000-2007 Ralf S. Engelschall <http://engelschall.com/>
##
##  Permission to use, copy, modify, and distribute this software for
##  any purpose with or without fee is hereby granted, provided that
##  the above copyright notice and this permission notice appear in all
##  copies.
##
##  THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESSED OR IMPLIED
##  WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
##  MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
##  IN NO EVENT SHALL THE AUTHORS AND COPYRIGHT HOLDERS AND THEIR
##  CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
##  SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
##  LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF
##  USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
##  ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
##  OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT
##  OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
##  SUCH DAMAGE.
##

#   package version
%define       V_full         4.2
%define       V_comp         42
%define       V_snap         20070307

#   package information
Name:         gcc42
Summary:      GNU Compiler Collection
URL:          http://gcc.gnu.org/
Vendor:       Free Software Foundation
Packager:     OpenPKG Foundation e.V.
Distribution: OpenPKG Community
Class:        EVAL
Group:        Compiler
License:      GPL
Version:      %{V_full}s%{V_snap}
Release:      20070308

#   package options
%option       with_cxx       yes
%option       with_objc      no
%option       with_java      no
%option       with_fortran   no
%option       with_optimize  yes
%option       with_profile   no
%option       with_binutils  yes
%option       with_threads   yes
%option       with_multilib  no
%option       with_gcc       no

#   list of sources
Source0:      ftp://gcc.gnu.org/pub/gcc/snapshots/%{V_full}-%{V_snap}/gcc-%{V_full}-%{V_snap}.tar.bz2
Patch0:       gcc42.patch

#   build information
Prefix:       %{l_prefix}
BuildRoot:    %{l_buildroot}
BuildPreReq:  OpenPKG, openpkg >= 20060622, make, flex, bison, texinfo
PreReq:       OpenPKG, openpkg >= 20060622
%if "%{with_binutils}" == "yes"
BuildPreReq:  binutils >= 2.14
PreReq:       binutils >= 2.14
%endif
%if "%{with_fortran}" == "yes"
BuildPreReq:  mpfr
PreReq:       mpfr
%endif
%if "%{with_java}" == "yes"
BuildPreReq:  zlib
PreReq:       zlib
%endif
AutoReq:      no
AutoReqProv:  no
%if "%{with_gcc}" == "yes"
Provides:     gcc = %{version}-%{release}
%endif

%description
    The GNU Compiler Collection (GCC) provides a standard conforming and
    highly portable ISO C and ISO C++ compiler.

%track
    prog gcc42 = {
        version   = %{V_full}-%{V_snap}
        url       = ftp://gcc.gnu.org/pub/gcc/snapshots/
        regex     = (%{V_full}-\d{8})
        url       = ftp://gcc.gnu.org/pub/gcc/snapshots/__NEWVER__/
        regex     = gcc-(\d+\.\d+-\d{8})\.tar\.bz2
    }

%prep
    %setup -q -n gcc-%{V_full}-%{V_snap}
    %patch -p0
    %{l_shtool} subst -v -s \
        -e 's;PREFIX_INCLUDE_DIR;PREFIX_INCLUDE_DIR_DISABLED;g' \
        gcc/configure
    %{l_shtool} subst -v -s \
        -e 's;\(VERSUFFIX "\)\("\);\1 (%{l_openpkg_release -F "OpenPKG-%%t"})\2;' \
        -e 's;\(bug_report_url\[\] = "\)[^"]*;\1<URL:http://www.openpkg.org/>;' \
        gcc/version.c
    if [ ".%{V_comp}" != . ]; then
        %{l_shtool} subst -v -s \
            -e 's;(libdir)/gcc/;(libdir)/gcc%{V_comp}/;' \
            `find . -name Makefile.in -type f -print`
    fi
    case "%{l_platform -t}" in
        amd64*-linux* )
            %{l_shtool} subst \
                -e 's/GLIBCXX_IS_NATIVE=false/GLIBCXX_IS_NATIVE=true/g' \
                -e 's/test x.gcc_no_link = xyes/false/g' \
                libstdc++-v3/configure
            ;;
    esac

%build
    #   create build sub-directory
    mkdir obj
    cd obj

    #   determine ld(1) and as(1) usage
    l_with_gnu_ld_as=""
%if "%{with_binutils}" == "yes"
    l_with_gnu_ld_as="${l_with_gnu_ld_as} --with-gnu-ld --with-ld=%{l_prefix}/bin/ld"
    l_with_gnu_ld_as="${l_with_gnu_ld_as} --with-gnu-as --with-as=%{l_prefix}/bin/as"
%else
    case "%{l_platform -t}" in
       *-linux* | *-freebsd* )
           l_with_gnu_ld_as="${l_with_gnu_ld_as} --with-gnu-as --with-gnu-ld"
           ;;
    esac
%endif

    #   determine threads usage
%if "%{with_threads}" == "yes"
    l_enable_threads="posix"
%else
    l_enable_threads="single"
%endif

    #   override threads setting for platforms with known limitations
    case "%{l_platform -t}" in
        *-netbsd1.6* ) l_enable_threads="single" ;;
    esac

    #   determine language usage
    l_enable_languages="c"
%if "%{with_cxx}" == "yes"
    l_enable_languages="${l_enable_languages},c++"
%endif
%if "%{with_objc}" == "yes"
    l_enable_languages="${l_enable_languages},objc"
%endif
%if "%{with_java}" == "yes"
    l_enable_languages="${l_enable_languages},java"
%endif
%if "%{with_fortran}" == "yes"
    l_enable_languages="${l_enable_languages},f95"
%endif

    #   disable GNU iconv usage
    ( echo "am_cv_func_iconv=no"
      echo "am_cv_lib_iconv=no"
    ) >config.cache

    #   configure the package
    CC="%{l_cc}" \
    CFLAGS="%{l_cflags}" \
%if "%{with_java}" == "yes" || "%{with_fortran}" == "yes"
    CPPFLAGS="%{l_cppflags}" \
    LDFLAGS="%{l_ldflags}" \
%endif
    CONFIG_SHELL="%{l_bash}" \
    ../configure \
        --cache-file=./config.cache \
        --srcdir=`pwd`/.. \
        --prefix=%{l_prefix} \
        --exec-prefix=%{l_prefix} \
        --includedir=%{l_prefix}/include/gcc%{V_comp} \
        --libexecdir=%{l_prefix}/libexec/gcc%{V_comp} \
        --with-gxx-include-dir=%{l_prefix}/include/g++%{V_comp} \
        --with-local-prefix=%{l_prefix}/lib/gcc%{V_comp} \
        --enable-languages="${l_enable_languages}" \
        --enable-threads="${l_enable_threads}" \
        --disable-maintainer-mode \
        --disable-shared \
        --disable-nls \
%if "%{with_java}" == "yes"
        --with-system-zlib \
%endif
%if "%{with_multilib}" == "yes"
        --enable-multilib \
%else
        --disable-multilib \
%endif
        ${l_with_gnu_ld_as}

    #   determine build flags
    l_ccisgcc=no
    if [ ".`(%{l_cc} -v; %{l_cc} --version) </dev/null 2>&1 | grep -i 'gcc'`" != . ]; then
        l_ccisgcc=yes
    fi
    l_cflags=""
    l_boot_cflags=""
    l_libcflags="-g"
    l_libcxxflags="-g"
    case "%{l_platform -t}" in
        alpha*-tru64* ) if [ ".$l_ccisgcc" = .no ]; then l_libcflags="$l_libcflags -ieee"; fi ;;
    esac
%if "%{with_binutils}" == "yes"
    #   at least GNU as from GNU binutils supports -pipe always
    l_boot_cflags="$l_boot_cflags -pipe"
    l_libcxxflags="$l_libcxxflags -pipe"
%endif
%if "%{with_optimize}" == "yes"
    #   conservatively optimize the generated program code
    #   (also _tune_ for particular CPUs, but _without_ requiring these CPUs!)
    l_cflags="$l_cflags -O"
    l_boot_cflags="$l_boot_cflags -O2 -fomit-frame-pointer"
    case "%{l_platform -t}" in
        *i?86-*     ) l_boot_cflags="$l_boot_cflags -mtune=pentium3" ;;
        *sun4[uv]-* ) l_boot_cflags="$l_boot_cflags -mtune=v9"       ;;
    esac
    l_libcxxflags="$l_libcxxflags -O2 -fno-implicit-templates"
%else
    #   else do no optimizations at all to reduce problems to minimum in advance
    l_boot_cflags="$l_boot_cflags -O0"
    l_libcxxflags="$l_libcxxflags -O0"
%endif
    maketarget="bootstrap-lean"
%if "%{with_profile}" == "yes"
    #   GCC >= 3.4 supports a "profiledbootstrap" target to build an
    #   optimized version of itself through profiling. Because this
    #   requires a (bootstrapping) C compiler with 64-bit arithmetic,
    #   the whole approach is currently supported only if already
    #   building with GCC as the bootstrapping C compiler.
    if [ ".$l_ccisgcc" = .yes ]; then
        maketarget="profiledbootstrap"
    fi
%endif

    #   build the package
    %{l_make} %{l_mflags} \
        MAKE="%{l_make} %{l_mflags}" \
        BOOT_CFLAGS="${l_boot_cflags}" \
        CFLAGS="${l_cflags}" \
        LIBCFLAGS="${l_libcflags}" \
        LIBCXXFLAGS="${l_libcxxflags}" \
        $maketarget

%install
    rm -rf $RPM_BUILD_ROOT

    #   fetch GNU platform triple
    triple=`./config.guess`

    #   perform the standard installation procedure
    ( cd obj
      %{l_make} %{l_mflags} install DESTDIR=$RPM_BUILD_ROOT
    ) || exit $?

    #   cleanup installation tree
    mv $RPM_BUILD_ROOT%{l_prefix}/lib/lib*.a \
       $RPM_BUILD_ROOT%{l_prefix}/lib/gcc%{V_comp}/${triple}/[0-9]*/
    dirs=""
    for multilib in `$RPM_BUILD_ROOT%{l_prefix}/bin/gcc --print-multi-lib`; do
        subdir=`echo "$multilib" | sed -e 's/;.*$//'`
        [ ".$subdir" = .. ] && continue
        mv $RPM_BUILD_ROOT%{l_prefix}/lib/$subdir/lib*.a \
           $RPM_BUILD_ROOT%{l_prefix}/lib/gcc%{V_comp}/${triple}/[0-9]*/$subdir/
        dirs="$dirs $subdir"
    done
    for subdir in $dirs; do
        rm -rf $RPM_BUILD_ROOT%{l_prefix}/lib/$subdir
    done
    mv $RPM_BUILD_ROOT%{l_prefix}/${triple}/include/* \
       $RPM_BUILD_ROOT%{l_prefix}/lib/gcc%{V_comp}/${triple}/[0-9]*/include/ \
           >/dev/null 2>&1 || true

    #   strip installation tree
    rm -rf $RPM_BUILD_ROOT%{l_prefix}/${triple}
    rm -f  $RPM_BUILD_ROOT%{l_prefix}/info/dir
    rm -rf $RPM_BUILD_ROOT%{l_prefix}/man/man7   >/dev/null 2>&1 || true
    rm -f  $RPM_BUILD_ROOT%{l_prefix}/lib/*.la   >/dev/null 2>&1 || true
    rm -f  $RPM_BUILD_ROOT%{l_prefix}/bin/*-gcc* >/dev/null 2>&1 || true
%if "%{with_cxx}" == "yes"
    rm -f  $RPM_BUILD_ROOT%{l_prefix}/bin/*-c++  >/dev/null 2>&1 || true
    rm -f  $RPM_BUILD_ROOT%{l_prefix}/bin/*-g++  >/dev/null 2>&1 || true
%endif
    strip $RPM_BUILD_ROOT%{l_prefix}/bin/* >/dev/null 2>&1 || true
    for prog in cc1 cc1plus collect2 cpp; do
        strip $RPM_BUILD_ROOT%{l_prefix}/lib/gcc%{V_comp}/${triple}/[0-9]*/${prog} \
            >/dev/null 2>&1 || true
    done

    #   bump up installation tree
    ln $RPM_BUILD_ROOT%{l_prefix}/bin/gcc \
       $RPM_BUILD_ROOT%{l_prefix}/bin/cc
    ln $RPM_BUILD_ROOT%{l_prefix}/man/man1/gcc.1 \
       $RPM_BUILD_ROOT%{l_prefix}/man/man1/cc.1
%if "%{with_cxx}" == "yes"
    ln $RPM_BUILD_ROOT%{l_prefix}/man/man1/g++.1 \
       $RPM_BUILD_ROOT%{l_prefix}/man/man1/c++.1
%endif

    #   resolve filename conflicts
%if "%{with_gcc}" != "yes" && "%{V_comp}" != ""
    ( cd $RPM_BUILD_ROOT%{l_prefix}/bin
      for file in *; do
          [ ".$file" = ".*" ] && continue
          mv ${file} ${file}%{V_comp}
      done
    ) || exit $?
    ( cd $RPM_BUILD_ROOT%{l_prefix}/info
      for file in *; do
          [ ".$file" = ".*" ] && continue
          mv ${file} `echo ${file} | sed -e 's;^\([^.]*\)\(\..*\)$;\1%{V_comp}\2;'`
      done
    ) || exit $?
    ( cd $RPM_BUILD_ROOT%{l_prefix}/man/man1
      for file in *; do
          [ ".$file" = ".*" ] && continue
          mv ${file} `echo ${file} | sed -e 's;^\([^.]*\)\(\..*\)$;\1%{V_comp}\2;'`
      done
    ) || exit $?
%endif

    #   determine installation file list
    %{l_rpmtool} files -v -ofiles -r$RPM_BUILD_ROOT %{l_files_std}

%files -f files

%clean
    rm -rf $RPM_BUILD_ROOT

@


1.64
log
@upgrading package: gcc42 4.2s20070228 -> 4.2s20070307
@
text
@@


1.63
log
@upgrading package: gcc42 4.2s20070221 -> 4.2s20070228
@
text
@d28 1
a28 1
%define       V_snap         20070228
d41 1
a41 1
Release:      20070301
@


1.62
log
@upgrading package: gcc42 4.2s20070214 -> 4.2s20070221
@
text
@d28 1
a28 1
%define       V_snap         20070221
d41 1
a41 1
Release:      20070222
@


1.61
log
@upgrading package: gcc42 4.2s20070207 -> 4.2s20070214
@
text
@d28 1
a28 1
%define       V_snap         20070214
d41 1
a41 1
Release:      20070215
@


1.60
log
@upgrading package: gcc42 4.2s20070131 -> 4.2s20070207
@
text
@d28 1
a28 1
%define       V_snap         20070207
d41 1
a41 1
Release:      20070208
@


1.59
log
@upgrading package: gcc42 4.2s20070124 -> 4.2s20070131
@
text
@d28 1
a28 1
%define       V_snap         20070131
d41 1
a41 1
Release:      20070201
@


1.58
log
@upgrading package: gcc42 4.2s20070117 -> 4.2s20070124
@
text
@d28 1
a28 1
%define       V_snap         20070124
d41 1
a41 1
Release:      20070125
@


1.57
log
@upgrading package: gcc42 4.2s20070110 -> 4.2s20070117
@
text
@d28 1
a28 1
%define       V_snap         20070117
d41 1
a41 1
Release:      20070118
@


1.56
log
@upgrading package: gcc42 4.2s20070102 -> 4.2s20070110
@
text
@d28 1
a28 1
%define       V_snap         20070110
d41 1
a41 1
Release:      20070111
@


1.55
log
@upgrading package: gcc42 4.2s20061226 -> 4.2s20070102
@
text
@d28 1
a28 1
%define       V_snap         20070102
d41 1
a41 1
Release:      20070103
@


1.54
log
@Welcome Year 2007!
@
text
@d28 1
a28 1
%define       V_snap         20061226
d41 1
a41 1
Release:      20061227
@


1.53
log
@upgrading package: gcc42 4.2s20061219 -> 4.2s20061226
@
text
@d3 2
a4 2
##  Copyright (c) 2000-2006 OpenPKG Foundation e.V. <http://openpkg.net/>
##  Copyright (c) 2000-2006 Ralf S. Engelschall <http://engelschall.com/>
@


1.52
log
@upgrading package: gcc42 4.2s20061212 -> 4.2s20061219
@
text
@d28 1
a28 1
%define       V_snap         20061219
d41 1
a41 1
Release:      20061220
@


1.51
log
@upgrading package: gcc42 4.2s20061205 -> 4.2s20061212
@
text
@d28 1
a28 1
%define       V_snap         20061212
d41 1
a41 1
Release:      20061213
@


1.50
log
@upgrading package: gcc42 4.2s20061128 -> 4.2s20061205
@
text
@d28 1
a28 1
%define       V_snap         20061205
d41 1
a41 1
Release:      20061206
@


1.49
log
@upgrading package: gcc42 4.2s20061121 -> 4.2s20061128
@
text
@d28 1
a28 1
%define       V_snap         20061128
d41 1
a41 1
Release:      20061129
@


1.48
log
@upgrading package: gcc42 4.2s20061114 -> 4.2s20061121
@
text
@d28 1
a28 1
%define       V_snap         20061121
d41 1
a41 1
Release:      20061122
@


1.47
log
@upgrading package: gcc42 4.2s20061107 -> 4.2s20061114
@
text
@d28 1
a28 1
%define       V_snap         20061114
d41 1
a41 1
Release:      20061115
@


1.46
log
@synchronize with gcc package
@
text
@d28 1
a28 1
%define       V_snap         20061107
d41 1
a41 1
Release:      20061114
@


1.45
log
@upgrading package: gcc42 4.2s20061031 -> 4.2s20061107
@
text
@d41 1
a41 1
Release:      20061108
d52 1
d194 5
@


1.44
log
@upgrading package: gcc42 4.2s20061024 -> 4.2s20061031
@
text
@d28 1
a28 1
%define       V_snap         20061031
d41 1
a41 1
Release:      20061101
@


1.43
log
@upgrading package: gcc42 4.2s20061014 -> 4.2s20061024
@
text
@d28 1
a28 1
%define       V_snap         20061024
d41 1
a41 1
Release:      20061025
@


1.42
log
@upgrading package: gcc42 4.2s20061007 -> 4.2s20061014
@
text
@d28 1
a28 1
%define       V_snap         20061014
d41 1
a41 1
Release:      20061015
@


1.42.2.1
log
@file gcc42.spec was added on branch OPENPKG_2_STABLE on 2006-10-16 14:50:17 +0000
@
text
@d1 332
@


1.42.2.2
log
@Mass merge from CURRENT to 2-STABLE (all packages except those of JUNK class)
@
text
@a0 332
##
##  gcc42.spec -- OpenPKG RPM Package Specification
##  Copyright (c) 2000-2006 OpenPKG Foundation e.V. <http://openpkg.net/>
##  Copyright (c) 2000-2006 Ralf S. Engelschall <http://engelschall.com/>
##
##  Permission to use, copy, modify, and distribute this software for
##  any purpose with or without fee is hereby granted, provided that
##  the above copyright notice and this permission notice appear in all
##  copies.
##
##  THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESSED OR IMPLIED
##  WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
##  MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
##  IN NO EVENT SHALL THE AUTHORS AND COPYRIGHT HOLDERS AND THEIR
##  CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
##  SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
##  LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF
##  USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
##  ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
##  OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT
##  OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
##  SUCH DAMAGE.
##

#   package version
%define       V_full         4.2
%define       V_comp         42
%define       V_snap         20061014

#   package information
Name:         gcc42
Summary:      GNU Compiler Collection
URL:          http://gcc.gnu.org/
Vendor:       Free Software Foundation
Packager:     OpenPKG Foundation e.V.
Distribution: OpenPKG Community
Class:        EVAL
Group:        Compiler
License:      GPL
Version:      %{V_full}s%{V_snap}
Release:      2.20061018

#   package options
%option       with_cxx       yes
%option       with_objc      no
%option       with_java      no
%option       with_fortran   no
%option       with_optimize  yes
%option       with_profile   no
%option       with_binutils  yes
%option       with_threads   yes
%option       with_gcc       no

#   list of sources
Source0:      ftp://gcc.gnu.org/pub/gcc/snapshots/%{V_full}-%{V_snap}/gcc-%{V_full}-%{V_snap}.tar.bz2
Patch0:       gcc42.patch

#   build information
Prefix:       %{l_prefix}
BuildRoot:    %{l_buildroot}
BuildPreReq:  OpenPKG, openpkg >= 2.20061018, make, flex, bison, texinfo
PreReq:       OpenPKG, openpkg >= 2.20061018
%if "%{with_binutils}" == "yes"
BuildPreReq:  binutils >= 2.14
PreReq:       binutils >= 2.14
%endif
%if "%{with_fortran}" == "yes"
BuildPreReq:  mpfr
PreReq:       mpfr
%endif
%if "%{with_java}" == "yes"
BuildPreReq:  zlib
PreReq:       zlib
%endif
AutoReq:      no
AutoReqProv:  no
%if "%{with_gcc}" == "yes"
Provides:     gcc = %{version}-%{release}
%endif

%description
    The GNU Compiler Collection (GCC) provides a standard conforming and
    highly portable ISO C and ISO C++ compiler.

%track
    prog gcc42 = {
        version   = %{V_full}-%{V_snap}
        url       = ftp://gcc.gnu.org/pub/gcc/snapshots/
        regex     = (%{V_full}-\d{8})
        url       = ftp://gcc.gnu.org/pub/gcc/snapshots/__NEWVER__/
        regex     = gcc-(\d+\.\d+-\d{8})\.tar\.bz2
    }

%prep
    %setup -q -n gcc-%{V_full}-%{V_snap}
    %patch -p0
    %{l_shtool} subst -v -s \
        -e 's;PREFIX_INCLUDE_DIR;PREFIX_INCLUDE_DIR_DISABLED;g' \
        gcc/configure
    %{l_shtool} subst -v -s \
        -e 's;\(VERSUFFIX "\)\("\);\1 (%{l_openpkg_release -F "OpenPKG-%%t"})\2;' \
        -e 's;\(bug_report_url\[\] = "\)[^"]*;\1<URL:http://www.openpkg.org/>;' \
        gcc/version.c
    if [ ".%{V_comp}" != . ]; then
        %{l_shtool} subst -v -s \
            -e 's;(libdir)/gcc/;(libdir)/gcc%{V_comp}/;' \
            `find . -name Makefile.in -type f -print`
    fi
    case "%{l_platform -t}" in
        amd64*-linux* )
            %{l_shtool} subst \
                -e 's/GLIBCXX_IS_NATIVE=false/GLIBCXX_IS_NATIVE=true/g' \
                -e 's/test x.gcc_no_link = xyes/false/g' \
                libstdc++-v3/configure
            ;;
    esac

%build
    #   create build sub-directory
    mkdir obj
    cd obj

    #   determine ld(1) and as(1) usage
    l_with_gnu_ld_as=""
%if "%{with_binutils}" == "yes"
    l_with_gnu_ld_as="${l_with_gnu_ld_as} --with-gnu-ld --with-ld=%{l_prefix}/bin/ld"
    l_with_gnu_ld_as="${l_with_gnu_ld_as} --with-gnu-as --with-as=%{l_prefix}/bin/as"
%else
    case "%{l_platform -t}" in
       *-linux* | *-freebsd* )
           l_with_gnu_ld_as="${l_with_gnu_ld_as} --with-gnu-as --with-gnu-ld"
           ;;
    esac
%endif

    #   determine threads usage
%if "%{with_threads}" == "yes"
    l_enable_threads="posix"
%else
    l_enable_threads="single"
%endif

    #   override threads setting for platforms with known limitations
    case "%{l_platform -t}" in
        *-netbsd1.6* ) l_enable_threads="single" ;;
    esac

    #   determine language usage
    l_enable_languages="c"
%if "%{with_cxx}" == "yes"
    l_enable_languages="${l_enable_languages},c++"
%endif
%if "%{with_objc}" == "yes"
    l_enable_languages="${l_enable_languages},objc"
%endif
%if "%{with_java}" == "yes"
    l_enable_languages="${l_enable_languages},java"
%endif
%if "%{with_fortran}" == "yes"
    l_enable_languages="${l_enable_languages},f95"
%endif

    #   disable GNU iconv usage
    ( echo "am_cv_func_iconv=no"
      echo "am_cv_lib_iconv=no"
    ) >config.cache

    #   configure the package
    CC="%{l_cc}" \
    CFLAGS="%{l_cflags}" \
%if "%{with_java}" == "yes" || "%{with_fortran}" == "yes"
    CPPFLAGS="%{l_cppflags}" \
    LDFLAGS="%{l_ldflags}" \
%endif
    CONFIG_SHELL="%{l_bash}" \
    ../configure \
        --cache-file=./config.cache \
        --srcdir=`pwd`/.. \
        --prefix=%{l_prefix} \
        --exec-prefix=%{l_prefix} \
        --includedir=%{l_prefix}/include/gcc%{V_comp} \
        --libexecdir=%{l_prefix}/libexec/gcc%{V_comp} \
        --with-gxx-include-dir=%{l_prefix}/include/g++%{V_comp} \
        --with-local-prefix=%{l_prefix}/lib/gcc%{V_comp} \
        --enable-languages="${l_enable_languages}" \
        --enable-threads="${l_enable_threads}" \
        --disable-maintainer-mode \
        --disable-shared \
        --disable-nls \
%if "%{with_java}" == "yes"
        --with-system-zlib \
%endif
        ${l_with_gnu_ld_as}

    #   determine build flags
    l_ccisgcc=no
    if [ ".`(%{l_cc} -v; %{l_cc} --version) </dev/null 2>&1 | grep -i 'gcc'`" != . ]; then
        l_ccisgcc=yes
    fi
    l_cflags=""
    l_boot_cflags=""
    l_libcflags="-g"
    l_libcxxflags="-g"
    case "%{l_platform -t}" in
        alpha*-tru64* ) if [ ".$l_ccisgcc" = .no ]; then l_libcflags="$l_libcflags -ieee"; fi ;;
    esac
%if "%{with_binutils}" == "yes"
    #   at least GNU as from GNU binutils supports -pipe always
    l_boot_cflags="$l_boot_cflags -pipe"
    l_libcxxflags="$l_libcxxflags -pipe"
%endif
%if "%{with_optimize}" == "yes"
    #   conservatively optimize the generated program code
    #   (also _tune_ for particular CPUs, but _without_ requiring these CPUs!)
    l_cflags="$l_cflags -O"
    l_boot_cflags="$l_boot_cflags -O2 -fomit-frame-pointer"
    case "%{l_platform -t}" in
        *i?86-*     ) l_boot_cflags="$l_boot_cflags -mtune=pentium3" ;;
        *sun4[uv]-* ) l_boot_cflags="$l_boot_cflags -mtune=v9"       ;;
    esac
    l_libcxxflags="$l_libcxxflags -O2 -fno-implicit-templates"
%else
    #   else do no optimizations at all to reduce problems to minimum in advance
    l_boot_cflags="$l_boot_cflags -O0"
    l_libcxxflags="$l_libcxxflags -O0"
%endif
    maketarget="bootstrap-lean"
%if "%{with_profile}" == "yes"
    #   GCC >= 3.4 supports a "profiledbootstrap" target to build an
    #   optimized version of itself through profiling. Because this
    #   requires a (bootstrapping) C compiler with 64-bit arithmetic,
    #   the whole approach is currently supported only if already
    #   building with GCC as the bootstrapping C compiler.
    if [ ".$l_ccisgcc" = .yes ]; then
        maketarget="profiledbootstrap"
    fi
%endif

    #   build the package
    %{l_make} %{l_mflags} \
        MAKE="%{l_make} %{l_mflags}" \
        BOOT_CFLAGS="${l_boot_cflags}" \
        CFLAGS="${l_cflags}" \
        LIBCFLAGS="${l_libcflags}" \
        LIBCXXFLAGS="${l_libcxxflags}" \
        $maketarget

%install
    rm -rf $RPM_BUILD_ROOT

    #   fetch GNU platform triple
    triple=`./config.guess`

    #   perform the standard installation procedure
    ( cd obj
      %{l_make} %{l_mflags} install DESTDIR=$RPM_BUILD_ROOT
    ) || exit $?

    #   cleanup installation tree
    mv $RPM_BUILD_ROOT%{l_prefix}/lib/lib*.a \
       $RPM_BUILD_ROOT%{l_prefix}/lib/gcc%{V_comp}/${triple}/[0-9]*/
    dirs=""
    for multilib in `$RPM_BUILD_ROOT%{l_prefix}/bin/gcc --print-multi-lib`; do
        subdir=`echo "$multilib" | sed -e 's/;.*$//'`
        [ ".$subdir" = .. ] && continue
        mv $RPM_BUILD_ROOT%{l_prefix}/lib/$subdir/lib*.a \
           $RPM_BUILD_ROOT%{l_prefix}/lib/gcc%{V_comp}/${triple}/[0-9]*/$subdir/
        dirs="$dirs $subdir"
    done
    for subdir in $dirs; do
        rm -rf $RPM_BUILD_ROOT%{l_prefix}/lib/$subdir
    done
    mv $RPM_BUILD_ROOT%{l_prefix}/${triple}/include/* \
       $RPM_BUILD_ROOT%{l_prefix}/lib/gcc%{V_comp}/${triple}/[0-9]*/include/ \
           >/dev/null 2>&1 || true

    #   strip installation tree
    rm -rf $RPM_BUILD_ROOT%{l_prefix}/${triple}
    rm -f  $RPM_BUILD_ROOT%{l_prefix}/info/dir
    rm -rf $RPM_BUILD_ROOT%{l_prefix}/man/man7   >/dev/null 2>&1 || true
    rm -f  $RPM_BUILD_ROOT%{l_prefix}/lib/*.la   >/dev/null 2>&1 || true
    rm -f  $RPM_BUILD_ROOT%{l_prefix}/bin/*-gcc* >/dev/null 2>&1 || true
%if "%{with_cxx}" == "yes"
    rm -f  $RPM_BUILD_ROOT%{l_prefix}/bin/*-c++  >/dev/null 2>&1 || true
    rm -f  $RPM_BUILD_ROOT%{l_prefix}/bin/*-g++  >/dev/null 2>&1 || true
%endif
    strip $RPM_BUILD_ROOT%{l_prefix}/bin/* >/dev/null 2>&1 || true
    for prog in cc1 cc1plus collect2 cpp; do
        strip $RPM_BUILD_ROOT%{l_prefix}/lib/gcc%{V_comp}/${triple}/[0-9]*/${prog} \
            >/dev/null 2>&1 || true
    done

    #   bump up installation tree
    ln $RPM_BUILD_ROOT%{l_prefix}/bin/gcc \
       $RPM_BUILD_ROOT%{l_prefix}/bin/cc
    ln $RPM_BUILD_ROOT%{l_prefix}/man/man1/gcc.1 \
       $RPM_BUILD_ROOT%{l_prefix}/man/man1/cc.1
%if "%{with_cxx}" == "yes"
    ln $RPM_BUILD_ROOT%{l_prefix}/man/man1/g++.1 \
       $RPM_BUILD_ROOT%{l_prefix}/man/man1/c++.1
%endif

    #   resolve filename conflicts
%if "%{with_gcc}" != "yes" && "%{V_comp}" != ""
    ( cd $RPM_BUILD_ROOT%{l_prefix}/bin
      for file in *; do
          [ ".$file" = ".*" ] && continue
          mv ${file} ${file}%{V_comp}
      done
    ) || exit $?
    ( cd $RPM_BUILD_ROOT%{l_prefix}/info
      for file in *; do
          [ ".$file" = ".*" ] && continue
          mv ${file} `echo ${file} | sed -e 's;^\([^.]*\)\(\..*\)$;\1%{V_comp}\2;'`
      done
    ) || exit $?
    ( cd $RPM_BUILD_ROOT%{l_prefix}/man/man1
      for file in *; do
          [ ".$file" = ".*" ] && continue
          mv ${file} `echo ${file} | sed -e 's;^\([^.]*\)\(\..*\)$;\1%{V_comp}\2;'`
      done
    ) || exit $?
%endif

    #   determine installation file list
    %{l_rpmtool} files -v -ofiles -r$RPM_BUILD_ROOT %{l_files_std}

%files -f files

%clean
    rm -rf $RPM_BUILD_ROOT

@


1.41
log
@new world order for "Packager" and "Distribution" headers
@
text
@d28 1
a28 1
%define       V_snap         20061007
d41 1
a41 1
Release:      20061013
@


1.40
log
@upgrading package: gcc42 4.2s20060930 -> 4.2s20061007
@
text
@d35 2
a36 2
Packager:     OpenPKG
Distribution: OpenPKG
d41 1
a41 1
Release:      20061008
@


1.39
log
@upgrading package: gcc42 4.2s20060923 -> 4.2s20060930
@
text
@d28 1
a28 1
%define       V_snap         20060930
d41 1
a41 1
Release:      20061001
@


1.38
log
@upgrading package: gcc42 4.2s20060916 -> 4.2s20060923
@
text
@d28 1
a28 1
%define       V_snap         20060923
d41 1
a41 1
Release:      20060924
@


1.37
log
@upgrading package: gcc42 4.2s20060909 -> 4.2s20060916
@
text
@d28 1
a28 1
%define       V_snap         20060916
d41 1
a41 1
Release:      20060917
@


1.36
log
@upgrading package: gcc42 4.2s20060906 -> 4.2s20060909
@
text
@d28 1
a28 1
%define       V_snap         20060909
d41 1
a41 1
Release:      20060910
@


1.35
log
@upgrading package: gcc42 4.2s20060826 -> 4.2s20060906
@
text
@d28 1
a28 1
%define       V_snap         20060906
d41 1
a41 1
Release:      20060906
@


1.34
log
@upgrading package: gcc42 4.2s20060819 -> 4.2s20060826
@
text
@d28 1
a28 1
%define       V_snap         20060826
d41 1
a41 1
Release:      20060827
@


1.33
log
@upgrading package: gcc42 4.2s20060812 -> 4.2s20060819
@
text
@d28 1
a28 1
%define       V_snap         20060819
d41 1
a41 1
Release:      20060820
@


1.32
log
@upgrading package: gcc42 4.2s20060805 -> 4.2s20060812
@
text
@d28 1
a28 1
%define       V_snap         20060812
d41 1
a41 1
Release:      20060813
@


1.31
log
@upgrading package: gcc42 4.2s20060729 -> 4.2s20060805
@
text
@d28 1
a28 1
%define       V_snap         20060805
d41 1
a41 1
Release:      20060806
@


1.30
log
@upgrading package: gcc42 4.2s20060722 -> 4.2s20060729
@
text
@d28 1
a28 1
%define       V_snap         20060729
d41 1
a41 1
Release:      20060731
@


1.29
log
@upgrading package: gcc42 4.2s20060715 -> 4.2s20060722
@
text
@d28 1
a28 1
%define       V_snap         20060722
d41 1
a41 1
Release:      20060723
@


1.28
log
@upgrading package: gcc42 4.2s20060708 -> 4.2s20060715
@
text
@d28 1
a28 1
%define       V_snap         20060715
d41 1
a41 1
Release:      20060716
@


1.27
log
@upgrading package: gcc42 4.2s20060701 -> 4.2s20060708
@
text
@d28 1
a28 1
%define       V_snap         20060708
d41 1
a41 1
Release:      20060709
d227 1
a227 1
    maketarget="bootstrap"
@


1.26
log
@upgrading package: gcc42 4.2s20060624 -> 4.2s20060701
@
text
@d28 1
a28 1
%define       V_snap         20060701
d41 1
a41 1
Release:      20060703
@


1.25
log
@upgrading package: gcc42 4.2s20060617 -> 4.2s20060624
@
text
@d28 1
a28 1
%define       V_snap         20060624
d41 1
a41 1
Release:      20060625
@


1.24
log
@upgrade to the newer world order of %{l_openpkg_release} macro
@
text
@d28 1
a28 1
%define       V_snap         20060617
d41 1
a41 1
Release:      20060622
@


1.23
log
@upgrading package: gcc42 4.2s20060610 -> 4.2s20060617
@
text
@d41 1
a41 1
Release:      20060618
d61 2
a62 2
BuildPreReq:  OpenPKG, openpkg >= 20040130, make, flex, bison, texinfo
PreReq:       OpenPKG, openpkg >= 20040130
d101 1
a101 1
        -e 's;\(VERSUFFIX "\)\("\);\1 (%{l_openpkg_release -F "OpenPKG-%%s"})\2;' \
@


1.22
log
@upgrading package: gcc42 4.2s20060603 -> 4.2s20060610
@
text
@d28 1
a28 1
%define       V_snap         20060610
d41 1
a41 1
Release:      20060611
@


1.21
log
@upgrading package: gcc42 4.2s20060527 -> 4.2s20060603
@
text
@d28 1
a28 1
%define       V_snap         20060603
d41 1
a41 1
Release:      20060604
@


1.20
log
@sync with new gcc package
@
text
@d28 1
a28 1
%define       V_snap         20060527
d41 1
a41 1
Release:      20060528
@


1.19
log
@upgrading package: gcc42 4.2s20060520 -> 4.2s20060527
@
text
@d101 1
a101 1
        -e 's;\(version_string\[\] = "[^"]*\);\1 (%{l_openpkg_release -F "OpenPKG-%%s"});' \
d104 5
a108 3
    %{l_shtool} subst -v -s \
        -e 's;(libdir)/gcc/;(libdir)/gcc%{V_comp}/;' \
        `find . -name Makefile.in -type f -print`
@


1.18
log
@upgrading package: gcc42 4.2s20060513 -> 4.2s20060520
@
text
@d28 1
a28 1
%define       V_snap         20060520
d41 1
a41 1
Release:      20060521
@


1.17
log
@upgrading package: gcc42 4.2s20060506 -> 4.2s20060513
@
text
@d28 1
a28 1
%define       V_snap         20060513
d41 1
a41 1
Release:      20060514
@


1.16
log
@upgrading package: gcc42 4.2s20060429 -> 4.2s20060506
@
text
@d28 1
a28 1
%define       V_snap         20060506
d41 1
a41 1
Release:      20060508
@


1.15
log
@upgrading package: gcc42 4.2s20060422 -> 4.2s20060429
@
text
@d28 1
a28 1
%define       V_snap         20060429
d41 1
a41 1
Release:      20060430
@


1.14
log
@make gcc sun4v-aware
@
text
@d28 1
a28 1
%define       V_snap         20060422
d41 1
a41 1
Release:      20060424
@


1.13
log
@upgrading package: gcc42 4.2s20060415 -> 4.2s20060422
@
text
@d41 1
a41 1
Release:      20060423
d216 2
a217 2
        *i?86-*  ) l_boot_cflags="$l_boot_cflags -mtune=pentium3" ;;
        *sun4u-* ) l_boot_cflags="$l_boot_cflags -mtune=v9"       ;;
@


1.12
log
@upgrading package: gcc42 4.2s20060408 -> 4.2s20060415
@
text
@d28 1
a28 1
%define       V_snap         20060415
d41 1
a41 1
Release:      20060417
@


1.11
log
@upgrading package: gcc42 4.2s20060401 -> 4.2s20060408
@
text
@d28 1
a28 1
%define       V_snap         20060408
d41 1
a41 1
Release:      20060409
@


1.10
log
@upgrading package: gcc42 4.2s20060325 -> 4.2s20060401
@
text
@d28 1
a28 1
%define       V_snap         20060401
d41 1
a41 1
Release:      20060402
@


1.9
log
@upgrading package: gcc42 4.2s20060318 -> 4.2s20060325
@
text
@d28 1
a28 1
%define       V_snap         20060325
d41 1
a41 1
Release:      20060326
@


1.8
log
@upgrading package: gcc42 4.2s20060311 -> 4.2s20060318
@
text
@d28 1
a28 1
%define       V_snap         20060318
d41 1
a41 1
Release:      20060319
@


1.7
log
@upgrading package: gcc42 4.2s20060304 -> 4.2s20060311
@
text
@d28 1
a28 1
%define       V_snap         20060311
d41 1
a41 1
Release:      20060312
@


1.6
log
@upgrading package: gcc42 4.2s20060225 -> 4.2s20060304
@
text
@d28 1
a28 1
%define       V_snap         20060304
d41 1
a41 1
Release:      20060305
@


1.5
log
@upgrading package: gcc42 4.2s20060218 -> 4.2s20060225
@
text
@d28 1
a28 1
%define       V_snap         20060225
d41 1
a41 1
Release:      20060226
@


1.4
log
@upgrading package: gcc42 4.2s20060211 -> 4.2s20060218
@
text
@d28 1
a28 1
%define       V_snap         20060218
d41 1
a41 1
Release:      20060219
@


1.3
log
@upgrading package: gcc42 4.2s20060204 -> 4.2s20060211
@
text
@d28 1
a28 1
%define       V_snap         20060211
d41 1
a41 1
Release:      20060212
@


1.2
log
@upgrading package: gcc42 4.2s20060128 -> 4.2s20060204
@
text
@d28 1
a28 1
%define       V_snap         20060204
d41 1
a41 1
Release:      20060205
@


1.1
log
@new package: gcc42 4.2s20060128 (GNU Compiler Collection)
@
text
@d28 1
a28 1
%define       V_snap         20060128
d41 1
a41 1
Release:      20060201
@

