head	1.61;
access;
symbols
	OPENPKG_E1_MP_HEAD:1.57
	OPENPKG_E1_MP:1.57;
locks; strict;
comment	@-- @;


1.61
date	2008.03.08.17.49.59;	author rse;	state dead;
branches;
next	1.60;
commitid	9EwiJ3vHU1s4ElUs;

1.60
date	2008.01.01.14.54.14;	author rse;	state Exp;
branches;
next	1.59;
commitid	B8esaHJHoduuKILs;

1.59
date	2007.05.17.16.43.40;	author rse;	state Exp;
branches;
next	1.58;
commitid	ZKYfpXV9AYEeNiis;

1.58
date	2007.05.17.11.04.58;	author rse;	state Exp;
branches;
next	1.57;
commitid	fqVY915yEzg2Vgis;

1.57
date	2006.05.28.09.42.20;	author rse;	state dead;
branches;
next	1.56;
commitid	riGG46RuM1abQLyr;

1.56
date	2006.05.25.10.40.17;	author rse;	state Exp;
branches;
next	1.55;
commitid	oM5kPUSavss2goyr;

1.55
date	2006.04.24.17.43.31;	author cs;	state Exp;
branches;
next	1.54;
commitid	OnyCPa2DTfb0Brur;

1.54
date	2006.03.09.17.50.50;	author rse;	state Exp;
branches;
next	1.53;
commitid	aAj0RdRKlHVb7xor;

1.53
date	2006.03.02.18.44.31;	author rse;	state Exp;
branches;
next	1.52;
commitid	4Gg2S9wC4t1zDDnr;

1.52
date	2006.02.25.09.27.19;	author rse;	state Exp;
branches;
next	1.51;
commitid	vbhgBQsc54ZmIWmr;

1.51
date	2006.02.18.11.43.27;	author rse;	state Exp;
branches;
next	1.50;
commitid	fYVRMl1khZW1H3mr;

1.50
date	2006.02.11.09.54.00;	author rse;	state Exp;
branches;
next	1.49;
commitid	LBoaqUlQJ1Gqj9lr;

1.49
date	2006.02.04.09.39.20;	author rse;	state Exp;
branches;
next	1.48;
commitid	9nHAJorCl1Plsfkr;

1.48
date	2006.01.30.18.38.20;	author rse;	state Exp;
branches;
next	1.47;
commitid	BlL0ZuKG3n6eBEjr;

1.47
date	2006.01.28.09.24.58;	author rse;	state Exp;
branches;
next	1.46;
commitid	9k6uuK9YDWOmBljr;

1.46
date	2006.01.22.19.32.35;	author rse;	state Exp;
branches;
next	1.45;
commitid	eAmom3oEJYnM9Dir;

1.45
date	2006.01.14.12.40.49;	author rse;	state Exp;
branches;
next	1.44;
commitid	uPMuEPCOcUQr8zhr;

1.44
date	2006.01.08.12.01.01;	author rse;	state Exp;
branches;
next	1.43;
commitid	ZXAjfufQSStK6Ngr;

1.43
date	2006.01.01.13.13.47;	author rse;	state Exp;
branches;
next	1.42;
commitid	otZG8yKMCw1JFTfr;

1.42
date	2005.12.31.10.38.41;	author rse;	state Exp;
branches;
next	1.41;
commitid	4YXnz3UBCQosUKfr;

1.41
date	2005.12.24.09.52.32;	author rse;	state Exp;
branches;
next	1.40;
commitid	bqG8RND62UTzSQer;

1.40
date	2005.12.17.12.11.06;	author rse;	state Exp;
branches;
next	1.39;
commitid	OGFebQeJwi44SXdr;

1.39
date	2005.12.10.08.13.46;	author rse;	state Exp;
branches;
next	1.38;
commitid	A0lTwZHNMqQAM2dr;

1.38
date	2005.12.03.19.10.26;	author rse;	state Exp;
branches;
next	1.37;
commitid	x2POZAXa6BNODccr;

1.37
date	2005.11.26.08.40.03;	author rse;	state Exp;
branches;
next	1.36;
commitid	xiE8NYVr5ZOvnfbr;

1.36
date	2005.11.13.09.16.40;	author rse;	state Exp;
branches;
next	1.35;
commitid	QrC5njaRnXxYZz9r;

1.35
date	2005.11.06.09.17.36;	author rse;	state Exp;
branches;
next	1.34;
commitid	1FFNbmneNC5geG8r;

1.34
date	2005.10.30.08.52.04;	author rse;	state Exp;
branches;
next	1.33;
commitid	JsNEvBaDavnrjM7r;

1.33
date	2005.10.23.08.33.12;	author rse;	state Exp;
branches;
next	1.32;

1.32
date	2005.10.16.07.34.09;	author rse;	state Exp;
branches;
next	1.31;

1.31
date	2005.10.09.08.41.46;	author rse;	state Exp;
branches;
next	1.30;

1.30
date	2005.10.03.09.43.00;	author rse;	state Exp;
branches;
next	1.29;

1.29
date	2005.09.25.10.37.01;	author rse;	state Exp;
branches;
next	1.28;

1.28
date	2005.09.21.18.46.03;	author rse;	state Exp;
branches;
next	1.27;

1.27
date	2005.09.20.12.57.58;	author rse;	state Exp;
branches;
next	1.26;

1.26
date	2005.09.19.15.50.56;	author rse;	state Exp;
branches;
next	1.25;

1.25
date	2005.09.18.18.52.39;	author rse;	state Exp;
branches;
next	1.24;

1.24
date	2005.09.10.05.59.26;	author steve;	state Exp;
branches;
next	1.23;

1.23
date	2005.09.02.18.45.35;	author rse;	state Exp;
branches;
next	1.22;

1.22
date	2005.08.27.07.38.39;	author rse;	state Exp;
branches;
next	1.21;

1.21
date	2005.08.20.20.51.20;	author rse;	state Exp;
branches;
next	1.20;

1.20
date	2005.08.14.07.35.33;	author rse;	state Exp;
branches;
next	1.19;

1.19
date	2005.08.07.19.36.23;	author thl;	state Exp;
branches;
next	1.18;

1.18
date	2005.08.01.09.17.43;	author thl;	state Exp;
branches;
next	1.17;

1.17
date	2005.07.24.08.33.28;	author rse;	state Exp;
branches;
next	1.16;

1.16
date	2005.07.24.07.22.25;	author rse;	state Exp;
branches;
next	1.15;

1.15
date	2005.07.24.06.01.11;	author rse;	state Exp;
branches;
next	1.14;

1.14
date	2005.07.17.09.12.39;	author rse;	state Exp;
branches;
next	1.13;

1.13
date	2005.07.10.08.19.05;	author rse;	state Exp;
branches;
next	1.12;

1.12
date	2005.07.03.08.33.05;	author rse;	state Exp;
branches;
next	1.11;

1.11
date	2005.06.26.07.08.47;	author rse;	state Exp;
branches;
next	1.10;

1.10
date	2005.06.20.20.18.29;	author rse;	state Exp;
branches;
next	1.9;

1.9
date	2005.06.12.09.25.50;	author rse;	state Exp;
branches;
next	1.8;

1.8
date	2005.06.05.06.48.19;	author rse;	state Exp;
branches;
next	1.7;

1.7
date	2005.05.29.08.09.26;	author rse;	state Exp;
branches;
next	1.6;

1.6
date	2005.05.23.19.12.18;	author rse;	state Exp;
branches;
next	1.5;

1.5
date	2005.05.16.08.55.20;	author rse;	state Exp;
branches;
next	1.4;

1.4
date	2005.05.10.13.55.51;	author rse;	state Exp;
branches;
next	1.3;

1.3
date	2005.05.02.10.39.45;	author rse;	state Exp;
branches;
next	1.2;

1.2
date	2005.04.25.06.27.38;	author rse;	state Exp;
branches;
next	1.1;

1.1
date	2005.04.21.19.03.04;	author rse;	state Exp;
branches;
next	;


desc
@@


1.61
log
@remove older GCC 4.1 package
@
text
@##
##  gcc41.spec -- OpenPKG RPM Package Specification
##  Copyright (c) 2000-2008 OpenPKG Foundation e.V. <http://openpkg.net/>
##
##  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.1.2
%define       V_comp         412

#   package information
Name:         gcc41
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}
Release:      20080101

#   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_threads   yes
%option       with_multilib  no
%option       with_gcc       no

#   list of sources
Source0:      ftp://gcc.gnu.org/pub/gcc/releases/gcc-%{version}/gcc-%{version}.tar.bz2
Patch0:       gcc41.patch

#   build information
Prefix:       %{l_prefix}
BuildRoot:    %{l_buildroot}
BuildPreReq:  OpenPKG, openpkg >= 20060622, make
PreReq:       OpenPKG, openpkg >= 20060622
BuildPreReq:  binutils >= 2.14
PreReq:       binutils >= 2.14
%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 gcc41 = {
        version   = %{V_full}
        url       = ftp://gcc.gnu.org/pub/gcc/releases/
        regex     = (4\.1(\.\d+)?)
        url       = ftp://gcc.gnu.org/pub/gcc/releases/gcc-__NEWVER__/
        regex     = gcc-(__VER__)\.tar\.bz2
    }

%prep
    %setup -q -n gcc-%{version}
    %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
    %{l_shtool} mkdir -p obj
    cd obj

    #   determine ld(1) and as(1) usage
    l_with_gnu_ld_as=""
    LD="%{l_tool_locate ld ld}"
    AS="%{l_tool_locate as as}"
    echo "$LD" | grep "^/" >/dev/null && l_with_gnu_ld_as="${l_with_gnu_ld_as} --with-ld=\"$LD\""
    echo "$AS" | grep "^/" >/dev/null && l_with_gnu_ld_as="${l_with_gnu_ld_as} --with-as=\"$AS\""
    "$LD" --version 2>/dev/null | grep "^GNU ld "        >/dev/null && l_with_gnu_ld_as="${l_with_gnu_ld_as} --with-gnu-ld"
    "$AS" --version 2>/dev/null | grep "^GNU assembler " >/dev/null && l_with_gnu_ld_as="${l_with_gnu_ld_as} --with-gnu-as"

    #   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"
    #   at least GNU as from GNU binutils supports -pipe always
    AS="%{l_tool_locate as as}"
    "$AS" --version 2>/dev/null | grep "^GNU assembler " >/dev/null && {
        l_boot_cflags="$l_boot_cflags -pipe";
        l_libcxxflags="$l_libcxxflags -pipe";
    }
%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.60
log
@Update package specifications according to OpenPKG year 2008 world order:
http://www.mail-archive.com/openpkg-announce@@openpkg.org/msg00221.html
@
text
@@


1.59
log
@fix tracking
@
text
@d3 1
a3 2
##  Copyright (c) 2000-2007 OpenPKG Foundation e.V. <http://openpkg.net/>
##  Copyright (c) 2000-2007 Ralf S. Engelschall <http://engelschall.com/>
d39 1
a39 1
Release:      20070517
@


1.58
log
@provide the old GCC as a new gcc41 package
@
text
@d83 1
a83 1
    prog gcc = {
@


1.57
log
@remove obsolete package
@
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/>
d26 2
a27 2
%define       V_full         4.1.1
%define       V_comp         41
d34 2
a35 2
Packager:     OpenPKG
Distribution: OpenPKG
d40 1
a40 1
Release:      20060525
a48 1
%option       with_binutils  yes
d50 1
d60 2
a61 3
BuildPreReq:  OpenPKG, openpkg >= 20040130, make, flex, bison, texinfo
PreReq:       OpenPKG, openpkg >= 20040130
%if "%{with_binutils}" == "yes"
a63 1
%endif
d83 1
a83 1
    prog gcc41 = {
d92 1
a92 1
    %setup -q -n gcc-%{V_full}
d98 1
a98 1
        -e 's;\(version_string\[\] = "[^"]*\);\1 (%{l_openpkg_release -F "OpenPKG-%%s"});' \
d101 5
a105 3
    %{l_shtool} subst -v -s \
        -e 's;(libdir)/gcc/;(libdir)/gcc%{V_comp}/;' \
        `find . -name Makefile.in -type f -print`
d117 1
a117 1
    mkdir obj
d122 6
a127 10
%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
d186 5
a201 4
    case "%{l_platform -t}" in
        alpha*-tru64* ) if [ ".$l_ccisgcc" = .no ]; then l_libcflags="$l_libcflags -ieee"; fi ;;
    esac
%if "%{with_binutils}" == "yes"
d203 5
a207 3
    l_boot_cflags="$l_boot_cflags -pipe"
    l_libcxxflags="$l_libcxxflags -pipe"
%endif
@


1.56
log
@upgrading package: gcc41 4.1.0 -> 4.1.1
@
text
@@


1.55
log
@make gcc sun4v-aware
@
text
@d26 1
a26 1
%define       V_full         4.1.0
d40 1
a40 1
Release:      20060424
@


1.54
log
@modifying package: gcc41-4.1.0 20060302 -> 20060309
@
text
@d40 1
a40 1
Release:      20060309
d215 2
a216 2
        *i?86-*  ) l_boot_cflags="$l_boot_cflags -mtune=pentium3" ;;
        *sun4u-* ) l_boot_cflags="$l_boot_cflags -mtune=v9"       ;;
@


1.53
log
@upgrading package: gcc41 4.1s20060224 -> 4.1.0
@
text
@d40 1
a40 1
Release:      20060302
d90 1
a90 1
        regex     = gcc-(\d+\.\d+-\d{8})\.tar\.bz2
@


1.52
log
@upgrading package: gcc41 4.1s20060217 -> 4.1s20060224
@
text
@d26 1
a26 1
%define       V_full         4.1
a27 1
%define       V_snap         20060224
d39 2
a40 2
Version:      %{V_full}s%{V_snap}
Release:      20060225
d54 1
a54 1
Source0:      ftp://gcc.gnu.org/pub/gcc/snapshots/%{V_full}-%{V_snap}/gcc-%{V_full}-%{V_snap}.tar.bz2
d86 4
a89 4
        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__/
d94 1
a94 1
    %setup -q -n gcc-%{V_full}-%{V_snap}
@


1.51
log
@upgrading package: gcc41 4.1s20060210 -> 4.1s20060217
@
text
@d28 1
a28 1
%define       V_snap         20060217
d41 1
a41 1
Release:      20060218
@


1.50
log
@upgrading package: gcc41 4.1s20060203 -> 4.1s20060210
@
text
@d28 1
a28 1
%define       V_snap         20060210
d41 1
a41 1
Release:      20060211
@


1.49
log
@upgrading package: gcc41 4.1s20060127 -> 4.1s20060203
@
text
@d28 1
a28 1
%define       V_snap         20060203
d41 1
a41 1
Release:      20060204
@


1.48
log
@although share/java is not nice it is considered a shared directory for various Java JAR files (from any package) by GCJ, so remove the filesystem cleanup hack to get GCJ working out-of-the-box
@
text
@d28 1
a28 1
%define       V_snap         20060127
d41 1
a41 1
Release:      20060130
@


1.47
log
@upgrading package: gcc41 4.1s20060120 -> 4.1s20060127
@
text
@d41 1
a41 1
Release:      20060128
a273 4
%if "%{with_java}" == "yes"
    mv $RPM_BUILD_ROOT%{l_prefix}/share/java \
       $RPM_BUILD_ROOT%{l_prefix}/share/gcc
%endif
@


1.46
log
@upgrading package: gcc41 4.1s20060113 -> 4.1s20060120
@
text
@d28 1
a28 1
%define       V_snap         20060120
d41 1
a41 1
Release:      20060122
@


1.45
log
@upgrading package: gcc41 4.1s20060106 -> 4.1s20060113
@
text
@d28 1
a28 1
%define       V_snap         20060113
d41 1
a41 1
Release:      20060114
@


1.44
log
@upgrading package: gcc41 4.1s20051230 -> 4.1s20060106
@
text
@d28 1
a28 1
%define       V_snap         20060106
d41 1
a41 1
Release:      20060108
@


1.43
log
@adjust copyrights for new year 2006
@
text
@d28 1
a28 1
%define       V_snap         20051230
d41 1
a41 1
Release:      20051231
@


1.42
log
@upgrading package: gcc41 4.1s20051223 -> 4.1s20051230
@
text
@d3 2
a4 2
##  Copyright (c) 2000-2005 OpenPKG Foundation e.V. <http://openpkg.net/>
##  Copyright (c) 2000-2005 Ralf S. Engelschall <http://engelschall.com/>
@


1.41
log
@upgrading package: gcc41 4.1s20051216 -> 4.1s20051223
@
text
@d28 1
a28 1
%define       V_snap         20051223
d41 1
a41 1
Release:      20051224
@


1.40
log
@upgrading package: gcc41 4.1s20051209 -> 4.1s20051216
@
text
@d28 1
a28 1
%define       V_snap         20051216
d41 1
a41 1
Release:      20051217
@


1.39
log
@upgrading package: gcc41 4.1s20051202 -> 4.1s20051209
@
text
@d28 1
a28 1
%define       V_snap         20051209
d41 1
a41 1
Release:      20051210
@


1.38
log
@upgrading package: gcc41 4.1s20051125 -> 4.1s20051202
@
text
@d28 1
a28 1
%define       V_snap         20051202
d41 1
a41 1
Release:      20051203
@


1.37
log
@upgrading package: gcc41 4.1s20051112 -> 4.1s20051125
@
text
@d28 1
a28 1
%define       V_snap         20051125
d41 1
a41 1
Release:      20051126
@


1.36
log
@upgrading package: gcc41 4.1s20051105 -> 4.1s20051112
@
text
@d28 1
a28 1
%define       V_snap         20051112
d41 1
a41 1
Release:      20051113
@


1.35
log
@upgrading package: gcc41 4.1s20051029 -> 4.1s20051105
@
text
@d28 1
a28 1
%define       V_snap         20051105
d41 1
a41 1
Release:      20051106
@


1.34
log
@upgrading package: gcc41 4.1s20051022 -> 4.1s20051029
@
text
@d28 1
a28 1
%define       V_snap         20051029
d41 1
a41 1
Release:      20051030
@


1.33
log
@upgrading package: gcc41 4.1s20051015 -> 4.1s20051022
@
text
@d28 1
a28 1
%define       V_snap         20051022
d41 1
a41 1
Release:      20051023
@


1.32
log
@upgrading package: gcc41 4.1s20051008 -> 4.1s20051015
@
text
@d28 1
a28 1
%define       V_snap         20051015
d41 1
a41 1
Release:      20051016
@


1.31
log
@upgrading package: gcc41 4.1s20051001 -> 4.1s20051008
@
text
@d28 1
a28 1
%define       V_snap         20051008
d41 1
a41 1
Release:      20051009
@


1.30
log
@upgrading package: gcc41 4.1s20050924 -> 4.1s20051001
@
text
@d28 1
a28 1
%define       V_snap         20051001
d41 1
a41 1
Release:      20051003
@


1.29
log
@upgrading package: gcc41 4.1s20050917 -> 4.1s20050924
@
text
@d28 1
a28 1
%define       V_snap         20050924
d41 1
a41 1
Release:      20050925
@


1.28
log
@sync with gcc package
@
text
@d28 1
a28 1
%define       V_snap         20050917
d41 1
a41 1
Release:      20050921
@


1.27
log
@synchronize gcc40/gcc41 packages with latest changes from gcc package
@
text
@d41 1
a41 1
Release:      20050920
d169 1
a169 1
%if "%{with_java}" == "yes"
@


1.26
log
@reactivate with_optimize option by removing problematic -funroll-loops optimization flag
@
text
@d41 1
a41 1
Release:      20050919
d71 4
d107 8
d169 1
d171 2
d188 3
@


1.25
log
@upgrading package: gcc41 4.1s20050909 -> 4.1s20050917
@
text
@a24 2
#   FIXME: rse: with_optimize=yes still broken

d41 1
a41 1
Release:      20050918
d48 1
a48 1
%option       with_optimize  no
d196 1
a196 1
    l_boot_cflags="$l_boot_cflags -O2 -fomit-frame-pointer -funroll-loops"
@


1.24
log
@upgrading package: gcc41 4.1s20050902 -> 4.1s20050909
@
text
@d30 1
a30 1
%define       V_snap         20050909
d43 1
a43 1
Release:      20050910
@


1.23
log
@upgrading package: gcc41 4.1s20050826 -> 4.1s20050902
@
text
@d30 1
a30 1
%define       V_snap         20050902
d43 1
a43 1
Release:      20050902
@


1.22
log
@upgrading package: gcc41 4.1s20050819 -> 4.1s20050826
@
text
@d30 1
a30 1
%define       V_snap         20050826
d43 1
a43 1
Release:      20050827
@


1.21
log
@upgrading package: gcc41 4.1s20050813 -> 4.1s20050819
@
text
@d30 1
a30 1
%define       V_snap         20050819
d43 1
a43 1
Release:      20050820
@


1.20
log
@upgrading package: gcc41 4.1s20050806 -> 4.1s20050813
@
text
@d30 1
a30 1
%define       V_snap         20050813
d43 1
a43 1
Release:      20050814
@


1.19
log
@upgrading package: gcc41 4.1s20050730 -> 4.1s20050806
@
text
@d30 1
a30 1
%define       V_snap         20050806
d43 1
a43 1
Release:      20050807
@


1.18
log
@upgrading package: gcc41 4.1s20050723 -> 4.1s20050730
@
text
@d30 1
a30 1
%define       V_snap         20050730
d43 1
a43 1
Release:      20050801
@


1.17
log
@rename with_f77 to with_fortran because GCC 4.0 now supports F77 and F95; also use F95 now for Fortran support
@
text
@d30 1
a30 1
%define       V_snap         20050723
d43 1
a43 1
Release:      20050724
@


1.16
log
@make post-adjustments more deterministically by first moving then removing. This way the order of the partly nested directories do not matter any more.
@
text
@d49 1
a49 1
%option       with_f77       no
d69 4
d147 2
a148 2
%if "%{with_f77}" == "yes"
    l_enable_languages="${l_enable_languages},f77"
d159 1
@


1.15
log
@upgrading package: gcc41 4.1s20050716 -> 4.1s20050723
@
text
@d239 1
d245 3
@


1.14
log
@upgrading package: gcc41 4.1s20050709 -> 4.1s20050716
@
text
@d30 1
a30 1
%define       V_snap         20050716
d43 1
a43 1
Release:      20050717
@


1.13
log
@upgrading package: gcc41 4.1s20050702 -> 4.1s20050709
@
text
@d30 1
a30 1
%define       V_snap         20050709
d43 1
a43 1
Release:      20050710
@


1.12
log
@upgrading package: gcc41 4.1s20050625 -> 4.1s20050702
@
text
@d30 1
a30 1
%define       V_snap         20050702
d43 1
a43 1
Release:      20050703
@


1.11
log
@upgrading package: gcc41 4.1s20050618 -> 4.1s20050625
@
text
@d30 1
a30 1
%define       V_snap         20050625
d43 1
a43 1
Release:      20050626
@


1.10
log
@upgrading package: gcc41 4.1s20050611 -> 4.1s20050618
@
text
@d30 1
a30 1
%define       V_snap         20050618
d43 1
a43 1
Release:      20050620
@


1.9
log
@upgrading package: gcc41 4.1s20050604 -> 4.1s20050611
@
text
@d30 1
a30 1
%define       V_snap         20050611
d43 1
a43 1
Release:      20050612
@


1.8
log
@upgrading package: gcc41 4.1s20050528 -> 4.1s20050604
@
text
@d30 1
a30 1
%define       V_snap         20050604
d43 1
a43 1
Release:      20050605
@


1.7
log
@upgrading package: gcc41 4.1s20050522 -> 4.1s20050528
@
text
@d30 1
a30 1
%define       V_snap         20050528
d43 1
a43 1
Release:      20050529
@


1.6
log
@upgrading package: gcc41 4.1s20050515 -> 4.1s20050522
@
text
@d30 1
a30 1
%define       V_snap         20050522
d43 1
a43 1
Release:      20050523
@


1.5
log
@upgrading package: gcc41 4.1s20050508 -> 4.1s20050515
@
text
@d30 1
a30 1
%define       V_snap         20050515
d43 1
a43 1
Release:      20050516
@


1.4
log
@upgrading package: gcc41 4.1s20050501 -> 4.1s20050508
@
text
@d30 1
a30 1
%define       V_snap         20050508
d43 1
a43 1
Release:      20050510
@


1.3
log
@upgrading package: gcc41 4.1s20050424 -> 4.1s20050501
@
text
@d30 1
a30 1
%define       V_snap         20050501
d43 1
a43 1
Release:      20050502
@


1.2
log
@upgrading package: gcc41 4.1s20050417 -> 4.1s20050424
@
text
@d30 1
a30 1
%define       V_snap         20050424
d43 1
a43 1
Release:      20050425
@


1.1
log
@new package: gcc41 4.1s20050417 (GNU Compiler Collection)
@
text
@d30 1
a30 1
%define       V_snap         20050417
d43 1
a43 1
Release:      20050421
@

