Changeset 96a0c2ae in rtems


Ignore:
Timestamp:
Aug 1, 2011, 4:58:28 AM (9 years ago)
Author:
Ralf Corsepius <ralf.corsepius@…>
Branches:
4.11, 5, master
Children:
3ca8c6bc
Parents:
c05fad28
Message:

Regenerate

Location:
contrib/crossrpms
Files:
6 edited

Legend:

Unmodified
Added
Removed
  • contrib/crossrpms/freebsd6.4/i586/i586-pc-freebsd6.4-gcc.spec

    rc05fad28 r96a0c2ae  
    4242Group:          Development/Tools
    4343Version:        %{gcc_rpmvers}
    44 Release:        0.20110321.1%{?dist}
     44Release:        0.20110731.0%{?dist}
    4545License:        GPL
    4646URL:            http://gcc.gnu.org
     
    6565# Should be applicable to gcc >= 4.5.0
    6666%bcond_with gcc_stdint
     67
     68# EXPERIMENTAL: Enable newlib's iconv
     69%bcond_without iconv
    6770
    6871# versions of libraries, we conditionally bundle if necessary
     
    7376
    7477# versions of libraries these distros are known to ship
     78%if 0%{?fc16}
     79%global mpc_provided 0.8.3
     80%global mpfr_provided 3.0.0
     81%global gmp_provided 4.3.2
     82%endif
     83
    7584%if 0%{?fc15}
    7685%global mpc_provided 0.8.3
     
    8594%endif
    8695
    87 %if 0%{?fc13}
    88 %global mpc_provided 0.8.1
    89 %global mpfr_provided 2.4.2
    90 %global gmp_provided 4.3.1
    91 %endif
    92 
    9396%if 0%{?el6}
    9497%global mpc_provided %{nil}
     
    103106%endif
    104107
    105 %if 0%{?suse11_2}
    106 %global mpc_provided 0.7
    107 %global mpfr_provided 2.4.1
    108 %global gmp_provided 4.3.1
    109 %endif
    110 
    111108%if 0%{?suse11_3}
    112109%global mpc_provided 0.8.1
     
    195192
    196193%if %{defined cloog_required}
    197 %{?fc13:BuildRequires: cloog-ppl-devel >= %cloog_required}
    198194%{?fc14:BuildRequires: cloog-ppl-devel >= %cloog_required}
    199195%{?fc15:BuildRequires: cloog-ppl-devel >= %cloog_required}
     196%{?fc16:BuildRequires: cloog-ppl-devel >= %cloog_required}
    200197%{?el6:BuildRequires: cloog-ppl-devel >= %cloog_required}
    201198%{?suse11_4:BuildRequires: cloog-devel >= %cloog_required, ppl-devel}
    202199%{?suse11_3:BuildRequires: cloog-devel >= %cloog_required, ppl-devel}
    203 %{?suse11_2:BuildRequires: cloog-devel >= %cloog_required, ppl-devel}
    204200%endif
    205201
     
    349345  languages="c"
    350346  languages="$languages,c++"
    351   case i586-pc-freebsd6.4 in
    352   *-rtems4.11) optargs="$optargs --enable-libstdcxx-time";;
    353   esac
    354347  languages="$languages,fortran"
    355348  languages="$languages,objc"
     
    383376    %{?with_lto:--enable-lto}%{!?with_lto:--disable-lto} \
    384377    %{?with_plugin:--enable-plugin}%{!?with_plugin:--disable-plugin} \
    385     --enable-languages="$languages" $optargs
     378    --enable-languages="$languages"
    386379
    387380%if "%_host" != "%_build"
     
    432425  rm -rf $RPM_BUILD_ROOT%{_mandir}/man7
    433426
     427  # We don't want libffi's man-pages
     428  rm -f $RPM_BUILD_ROOT%{_mandir}/man3/*ffi*
     429
    434430  # Bug in gcc-3.4.0pre
    435431  rm -f $RPM_BUILD_ROOT%{_bindir}/i586-pc-freebsd6.4-i586-pc-freebsd6.4-gcjh%{_exeext}
     
    445441  fi
    446442
     443%if ! %{with pygdb}
    447444  # gcc >= 4.5.0: installs weird libstdc++ python bindings.
    448 %if ! %{with pygdb}
    449445  if test -d ${RPM_BUILD_ROOT}%{_datadir}/gcc-%{gcc_version}/python; then
    450446    rm -rf ${RPM_BUILD_ROOT}%{_datadir}/gcc-%{gcc_version}/python/libstdcxx
    451447  fi
    452 %endif
    453 
     448
     449%endif
    454450  # Collect multilib subdirectories
    455451  multilibs=`build/gcc/xgcc -Bbuild/gcc/ --print-multi-lib | sed -e 's,;.*$,,'`
     
    473469  cp dirs build/files.gcj
    474470  cp dirs build/files.g++
     471  cp dirs build/files.go
    475472
    476473  TGTDIR="%{_gcclibdir}/gcc/i586-pc-freebsd6.4/%{gcc_version}"
     
    486483    *collect2) ;;
    487484    *libobjc*) echo "$i" >> build/files.objc ;;
     485    *go1) ;; # ignore: explicitly put into rpm elsewhere
    488486    *include/objc*) ;;
    489487    *include/g++*);;
     
    491489    *include-fixed/*);;
    492490    *finclude/*);;
     491    */go/*) ;; # ignore : explicitly put into rpm elsewhere
    493492    *adainclude*);;
    494493    *adalib*);;
     
    497496    *jvgenmain) ;;
    498497    */libgfortran*.*) echo "$i" >> build/files.gfortran ;;
     498    */libgo*.a) echo "$i" >> build/files.go ;;
    499499    %{!?with_pygdb:*/libstdc++*gdb.py*) rm ${RPM_BUILD_ROOT}/$i ;;} # ignore for now
    500500    %{?with_pygdb:*/libstdc++*gdb.py*) >> build/files.g++ ;;}
     
    622622%{_bindir}/i586-pc-freebsd6.4-gcc-%{gcc_version}%{_exeext}
    623623%{_bindir}/i586-pc-freebsd6.4-gcov%{_exeext}
     624%if "%{gcc_version}" < "4.6.0"
    624625%{_bindir}/i586-pc-freebsd6.4-gccbug
     626%endif
    625627
    626628%dir %{_libexecdir}/gcc
  • contrib/crossrpms/freebsd7.3/i586/i586-pc-freebsd7.3-gcc.spec

    rc05fad28 r96a0c2ae  
    4242Group:          Development/Tools
    4343Version:        %{gcc_rpmvers}
    44 Release:        0.20110321.1%{?dist}
     44Release:        0.20110731.0%{?dist}
    4545License:        GPL
    4646URL:            http://gcc.gnu.org
     
    6565# Should be applicable to gcc >= 4.5.0
    6666%bcond_with gcc_stdint
     67
     68# EXPERIMENTAL: Enable newlib's iconv
     69%bcond_without iconv
    6770
    6871# versions of libraries, we conditionally bundle if necessary
     
    7376
    7477# versions of libraries these distros are known to ship
     78%if 0%{?fc16}
     79%global mpc_provided 0.8.3
     80%global mpfr_provided 3.0.0
     81%global gmp_provided 4.3.2
     82%endif
     83
    7584%if 0%{?fc15}
    7685%global mpc_provided 0.8.3
     
    8594%endif
    8695
    87 %if 0%{?fc13}
    88 %global mpc_provided 0.8.1
    89 %global mpfr_provided 2.4.2
    90 %global gmp_provided 4.3.1
    91 %endif
    92 
    9396%if 0%{?el6}
    9497%global mpc_provided %{nil}
     
    103106%endif
    104107
    105 %if 0%{?suse11_2}
    106 %global mpc_provided 0.7
    107 %global mpfr_provided 2.4.1
    108 %global gmp_provided 4.3.1
    109 %endif
    110 
    111108%if 0%{?suse11_3}
    112109%global mpc_provided 0.8.1
     
    195192
    196193%if %{defined cloog_required}
    197 %{?fc13:BuildRequires: cloog-ppl-devel >= %cloog_required}
    198194%{?fc14:BuildRequires: cloog-ppl-devel >= %cloog_required}
    199195%{?fc15:BuildRequires: cloog-ppl-devel >= %cloog_required}
     196%{?fc16:BuildRequires: cloog-ppl-devel >= %cloog_required}
    200197%{?el6:BuildRequires: cloog-ppl-devel >= %cloog_required}
    201198%{?suse11_4:BuildRequires: cloog-devel >= %cloog_required, ppl-devel}
    202199%{?suse11_3:BuildRequires: cloog-devel >= %cloog_required, ppl-devel}
    203 %{?suse11_2:BuildRequires: cloog-devel >= %cloog_required, ppl-devel}
    204200%endif
    205201
     
    349345  languages="c"
    350346  languages="$languages,c++"
    351   case i586-pc-freebsd7.3 in
    352   *-rtems4.11) optargs="$optargs --enable-libstdcxx-time";;
    353   esac
    354347  languages="$languages,fortran"
    355348  languages="$languages,objc"
     
    383376    %{?with_lto:--enable-lto}%{!?with_lto:--disable-lto} \
    384377    %{?with_plugin:--enable-plugin}%{!?with_plugin:--disable-plugin} \
    385     --enable-languages="$languages" $optargs
     378    --enable-languages="$languages"
    386379
    387380%if "%_host" != "%_build"
     
    432425  rm -rf $RPM_BUILD_ROOT%{_mandir}/man7
    433426
     427  # We don't want libffi's man-pages
     428  rm -f $RPM_BUILD_ROOT%{_mandir}/man3/*ffi*
     429
    434430  # Bug in gcc-3.4.0pre
    435431  rm -f $RPM_BUILD_ROOT%{_bindir}/i586-pc-freebsd7.3-i586-pc-freebsd7.3-gcjh%{_exeext}
     
    445441  fi
    446442
     443%if ! %{with pygdb}
    447444  # gcc >= 4.5.0: installs weird libstdc++ python bindings.
    448 %if ! %{with pygdb}
    449445  if test -d ${RPM_BUILD_ROOT}%{_datadir}/gcc-%{gcc_version}/python; then
    450446    rm -rf ${RPM_BUILD_ROOT}%{_datadir}/gcc-%{gcc_version}/python/libstdcxx
    451447  fi
    452 %endif
    453 
     448
     449%endif
    454450  # Collect multilib subdirectories
    455451  multilibs=`build/gcc/xgcc -Bbuild/gcc/ --print-multi-lib | sed -e 's,;.*$,,'`
     
    473469  cp dirs build/files.gcj
    474470  cp dirs build/files.g++
     471  cp dirs build/files.go
    475472
    476473  TGTDIR="%{_gcclibdir}/gcc/i586-pc-freebsd7.3/%{gcc_version}"
     
    486483    *collect2) ;;
    487484    *libobjc*) echo "$i" >> build/files.objc ;;
     485    *go1) ;; # ignore: explicitly put into rpm elsewhere
    488486    *include/objc*) ;;
    489487    *include/g++*);;
     
    491489    *include-fixed/*);;
    492490    *finclude/*);;
     491    */go/*) ;; # ignore : explicitly put into rpm elsewhere
    493492    *adainclude*);;
    494493    *adalib*);;
     
    497496    *jvgenmain) ;;
    498497    */libgfortran*.*) echo "$i" >> build/files.gfortran ;;
     498    */libgo*.a) echo "$i" >> build/files.go ;;
    499499    %{!?with_pygdb:*/libstdc++*gdb.py*) rm ${RPM_BUILD_ROOT}/$i ;;} # ignore for now
    500500    %{?with_pygdb:*/libstdc++*gdb.py*) >> build/files.g++ ;;}
     
    622622%{_bindir}/i586-pc-freebsd7.3-gcc-%{gcc_version}%{_exeext}
    623623%{_bindir}/i586-pc-freebsd7.3-gcov%{_exeext}
     624%if "%{gcc_version}" < "4.6.0"
    624625%{_bindir}/i586-pc-freebsd7.3-gccbug
     626%endif
    625627
    626628%dir %{_libexecdir}/gcc
  • contrib/crossrpms/freebsd8.2/i586/i586-pc-freebsd8.2-gcc.spec

    rc05fad28 r96a0c2ae  
    4242Group:          Development/Tools
    4343Version:        %{gcc_rpmvers}
    44 Release:        0.20110321.1%{?dist}
     44Release:        0.20110731.0%{?dist}
    4545License:        GPL
    4646URL:            http://gcc.gnu.org
     
    6565# Should be applicable to gcc >= 4.5.0
    6666%bcond_with gcc_stdint
     67
     68# EXPERIMENTAL: Enable newlib's iconv
     69%bcond_without iconv
    6770
    6871# versions of libraries, we conditionally bundle if necessary
     
    7376
    7477# versions of libraries these distros are known to ship
     78%if 0%{?fc16}
     79%global mpc_provided 0.8.3
     80%global mpfr_provided 3.0.0
     81%global gmp_provided 4.3.2
     82%endif
     83
    7584%if 0%{?fc15}
    7685%global mpc_provided 0.8.3
     
    8594%endif
    8695
    87 %if 0%{?fc13}
    88 %global mpc_provided 0.8.1
    89 %global mpfr_provided 2.4.2
    90 %global gmp_provided 4.3.1
    91 %endif
    92 
    9396%if 0%{?el6}
    9497%global mpc_provided %{nil}
     
    103106%endif
    104107
    105 %if 0%{?suse11_2}
    106 %global mpc_provided 0.7
    107 %global mpfr_provided 2.4.1
    108 %global gmp_provided 4.3.1
    109 %endif
    110 
    111108%if 0%{?suse11_3}
    112109%global mpc_provided 0.8.1
     
    195192
    196193%if %{defined cloog_required}
    197 %{?fc13:BuildRequires: cloog-ppl-devel >= %cloog_required}
    198194%{?fc14:BuildRequires: cloog-ppl-devel >= %cloog_required}
    199195%{?fc15:BuildRequires: cloog-ppl-devel >= %cloog_required}
     196%{?fc16:BuildRequires: cloog-ppl-devel >= %cloog_required}
    200197%{?el6:BuildRequires: cloog-ppl-devel >= %cloog_required}
    201198%{?suse11_4:BuildRequires: cloog-devel >= %cloog_required, ppl-devel}
    202199%{?suse11_3:BuildRequires: cloog-devel >= %cloog_required, ppl-devel}
    203 %{?suse11_2:BuildRequires: cloog-devel >= %cloog_required, ppl-devel}
    204200%endif
    205201
     
    349345  languages="c"
    350346  languages="$languages,c++"
    351   case i586-pc-freebsd8.2 in
    352   *-rtems4.11) optargs="$optargs --enable-libstdcxx-time";;
    353   esac
    354347  languages="$languages,fortran"
    355348  languages="$languages,objc"
     
    383376    %{?with_lto:--enable-lto}%{!?with_lto:--disable-lto} \
    384377    %{?with_plugin:--enable-plugin}%{!?with_plugin:--disable-plugin} \
    385     --enable-languages="$languages" $optargs
     378    --enable-languages="$languages"
    386379
    387380%if "%_host" != "%_build"
     
    432425  rm -rf $RPM_BUILD_ROOT%{_mandir}/man7
    433426
     427  # We don't want libffi's man-pages
     428  rm -f $RPM_BUILD_ROOT%{_mandir}/man3/*ffi*
     429
    434430  # Bug in gcc-3.4.0pre
    435431  rm -f $RPM_BUILD_ROOT%{_bindir}/i586-pc-freebsd8.2-i586-pc-freebsd8.2-gcjh%{_exeext}
     
    445441  fi
    446442
     443%if ! %{with pygdb}
    447444  # gcc >= 4.5.0: installs weird libstdc++ python bindings.
    448 %if ! %{with pygdb}
    449445  if test -d ${RPM_BUILD_ROOT}%{_datadir}/gcc-%{gcc_version}/python; then
    450446    rm -rf ${RPM_BUILD_ROOT}%{_datadir}/gcc-%{gcc_version}/python/libstdcxx
    451447  fi
    452 %endif
    453 
     448
     449%endif
    454450  # Collect multilib subdirectories
    455451  multilibs=`build/gcc/xgcc -Bbuild/gcc/ --print-multi-lib | sed -e 's,;.*$,,'`
     
    473469  cp dirs build/files.gcj
    474470  cp dirs build/files.g++
     471  cp dirs build/files.go
    475472
    476473  TGTDIR="%{_gcclibdir}/gcc/i586-pc-freebsd8.2/%{gcc_version}"
     
    486483    *collect2) ;;
    487484    *libobjc*) echo "$i" >> build/files.objc ;;
     485    *go1) ;; # ignore: explicitly put into rpm elsewhere
    488486    *include/objc*) ;;
    489487    *include/g++*);;
     
    491489    *include-fixed/*);;
    492490    *finclude/*);;
     491    */go/*) ;; # ignore : explicitly put into rpm elsewhere
    493492    *adainclude*);;
    494493    *adalib*);;
     
    497496    *jvgenmain) ;;
    498497    */libgfortran*.*) echo "$i" >> build/files.gfortran ;;
     498    */libgo*.a) echo "$i" >> build/files.go ;;
    499499    %{!?with_pygdb:*/libstdc++*gdb.py*) rm ${RPM_BUILD_ROOT}/$i ;;} # ignore for now
    500500    %{?with_pygdb:*/libstdc++*gdb.py*) >> build/files.g++ ;;}
     
    622622%{_bindir}/i586-pc-freebsd8.2-gcc-%{gcc_version}%{_exeext}
    623623%{_bindir}/i586-pc-freebsd8.2-gcov%{_exeext}
     624%if "%{gcc_version}" < "4.6.0"
    624625%{_bindir}/i586-pc-freebsd8.2-gccbug
     626%endif
    625627
    626628%dir %{_libexecdir}/gcc
  • contrib/crossrpms/freebsd8.2/x86_64/amd64-pc-freebsd8.2-gcc.spec

    rc05fad28 r96a0c2ae  
    4242Group:          Development/Tools
    4343Version:        %{gcc_rpmvers}
    44 Release:        0.20110321.1%{?dist}
     44Release:        0.20110731.0%{?dist}
    4545License:        GPL
    4646URL:            http://gcc.gnu.org
     
    6565# Should be applicable to gcc >= 4.5.0
    6666%bcond_with gcc_stdint
     67
     68# EXPERIMENTAL: Enable newlib's iconv
     69%bcond_without iconv
    6770
    6871# versions of libraries, we conditionally bundle if necessary
     
    7376
    7477# versions of libraries these distros are known to ship
     78%if 0%{?fc16}
     79%global mpc_provided 0.8.3
     80%global mpfr_provided 3.0.0
     81%global gmp_provided 4.3.2
     82%endif
     83
    7584%if 0%{?fc15}
    7685%global mpc_provided 0.8.3
     
    8594%endif
    8695
    87 %if 0%{?fc13}
    88 %global mpc_provided 0.8.1
    89 %global mpfr_provided 2.4.2
    90 %global gmp_provided 4.3.1
    91 %endif
    92 
    9396%if 0%{?el6}
    9497%global mpc_provided %{nil}
     
    103106%endif
    104107
    105 %if 0%{?suse11_2}
    106 %global mpc_provided 0.7
    107 %global mpfr_provided 2.4.1
    108 %global gmp_provided 4.3.1
    109 %endif
    110 
    111108%if 0%{?suse11_3}
    112109%global mpc_provided 0.8.1
     
    195192
    196193%if %{defined cloog_required}
    197 %{?fc13:BuildRequires: cloog-ppl-devel >= %cloog_required}
    198194%{?fc14:BuildRequires: cloog-ppl-devel >= %cloog_required}
    199195%{?fc15:BuildRequires: cloog-ppl-devel >= %cloog_required}
     196%{?fc16:BuildRequires: cloog-ppl-devel >= %cloog_required}
    200197%{?el6:BuildRequires: cloog-ppl-devel >= %cloog_required}
    201198%{?suse11_4:BuildRequires: cloog-devel >= %cloog_required, ppl-devel}
    202199%{?suse11_3:BuildRequires: cloog-devel >= %cloog_required, ppl-devel}
    203 %{?suse11_2:BuildRequires: cloog-devel >= %cloog_required, ppl-devel}
    204200%endif
    205201
     
    349345  languages="c"
    350346  languages="$languages,c++"
    351   case amd64-pc-freebsd8.2 in
    352   *-rtems4.11) optargs="$optargs --enable-libstdcxx-time";;
    353   esac
    354347  languages="$languages,fortran"
    355348  languages="$languages,objc"
     
    383376    %{?with_lto:--enable-lto}%{!?with_lto:--disable-lto} \
    384377    %{?with_plugin:--enable-plugin}%{!?with_plugin:--disable-plugin} \
    385     --enable-languages="$languages" $optargs
     378    --enable-languages="$languages"
    386379
    387380%if "%_host" != "%_build"
     
    432425  rm -rf $RPM_BUILD_ROOT%{_mandir}/man7
    433426
     427  # We don't want libffi's man-pages
     428  rm -f $RPM_BUILD_ROOT%{_mandir}/man3/*ffi*
     429
    434430  # Bug in gcc-3.4.0pre
    435431  rm -f $RPM_BUILD_ROOT%{_bindir}/amd64-pc-freebsd8.2-amd64-pc-freebsd8.2-gcjh%{_exeext}
     
    445441  fi
    446442
     443%if ! %{with pygdb}
    447444  # gcc >= 4.5.0: installs weird libstdc++ python bindings.
    448 %if ! %{with pygdb}
    449445  if test -d ${RPM_BUILD_ROOT}%{_datadir}/gcc-%{gcc_version}/python; then
    450446    rm -rf ${RPM_BUILD_ROOT}%{_datadir}/gcc-%{gcc_version}/python/libstdcxx
    451447  fi
    452 %endif
    453 
     448
     449%endif
    454450  # Collect multilib subdirectories
    455451  multilibs=`build/gcc/xgcc -Bbuild/gcc/ --print-multi-lib | sed -e 's,;.*$,,'`
     
    473469  cp dirs build/files.gcj
    474470  cp dirs build/files.g++
     471  cp dirs build/files.go
    475472
    476473  TGTDIR="%{_gcclibdir}/gcc/amd64-pc-freebsd8.2/%{gcc_version}"
     
    486483    *collect2) ;;
    487484    *libobjc*) echo "$i" >> build/files.objc ;;
     485    *go1) ;; # ignore: explicitly put into rpm elsewhere
    488486    *include/objc*) ;;
    489487    *include/g++*);;
     
    491489    *include-fixed/*);;
    492490    *finclude/*);;
     491    */go/*) ;; # ignore : explicitly put into rpm elsewhere
    493492    *adainclude*);;
    494493    *adalib*);;
     
    497496    *jvgenmain) ;;
    498497    */libgfortran*.*) echo "$i" >> build/files.gfortran ;;
     498    */libgo*.a) echo "$i" >> build/files.go ;;
    499499    %{!?with_pygdb:*/libstdc++*gdb.py*) rm ${RPM_BUILD_ROOT}/$i ;;} # ignore for now
    500500    %{?with_pygdb:*/libstdc++*gdb.py*) >> build/files.g++ ;;}
     
    622622%{_bindir}/amd64-pc-freebsd8.2-gcc-%{gcc_version}%{_exeext}
    623623%{_bindir}/amd64-pc-freebsd8.2-gcov%{_exeext}
     624%if "%{gcc_version}" < "4.6.0"
    624625%{_bindir}/amd64-pc-freebsd8.2-gccbug
     626%endif
    625627
    626628%dir %{_libexecdir}/gcc
  • contrib/crossrpms/netbsd5.1/i386/i386-pc-netbsdelf5.1-gcc.spec

    rc05fad28 r96a0c2ae  
    4242Group:          Development/Tools
    4343Version:        %{gcc_rpmvers}
    44 Release:        0.20110321.1%{?dist}
     44Release:        0.20110731.0%{?dist}
    4545License:        GPL
    4646URL:            http://gcc.gnu.org
     
    6565# Should be applicable to gcc >= 4.5.0
    6666%bcond_with gcc_stdint
     67
     68# EXPERIMENTAL: Enable newlib's iconv
     69%bcond_without iconv
    6770
    6871# versions of libraries, we conditionally bundle if necessary
     
    7376
    7477# versions of libraries these distros are known to ship
     78%if 0%{?fc16}
     79%global mpc_provided 0.8.3
     80%global mpfr_provided 3.0.0
     81%global gmp_provided 4.3.2
     82%endif
     83
    7584%if 0%{?fc15}
    7685%global mpc_provided 0.8.3
     
    8594%endif
    8695
    87 %if 0%{?fc13}
    88 %global mpc_provided 0.8.1
    89 %global mpfr_provided 2.4.2
    90 %global gmp_provided 4.3.1
    91 %endif
    92 
    9396%if 0%{?el6}
    9497%global mpc_provided %{nil}
     
    103106%endif
    104107
    105 %if 0%{?suse11_2}
    106 %global mpc_provided 0.7
    107 %global mpfr_provided 2.4.1
    108 %global gmp_provided 4.3.1
    109 %endif
    110 
    111108%if 0%{?suse11_3}
    112109%global mpc_provided 0.8.1
     
    195192
    196193%if %{defined cloog_required}
    197 %{?fc13:BuildRequires: cloog-ppl-devel >= %cloog_required}
    198194%{?fc14:BuildRequires: cloog-ppl-devel >= %cloog_required}
    199195%{?fc15:BuildRequires: cloog-ppl-devel >= %cloog_required}
     196%{?fc16:BuildRequires: cloog-ppl-devel >= %cloog_required}
    200197%{?el6:BuildRequires: cloog-ppl-devel >= %cloog_required}
    201198%{?suse11_4:BuildRequires: cloog-devel >= %cloog_required, ppl-devel}
    202199%{?suse11_3:BuildRequires: cloog-devel >= %cloog_required, ppl-devel}
    203 %{?suse11_2:BuildRequires: cloog-devel >= %cloog_required, ppl-devel}
    204200%endif
    205201
     
    349345  languages="c"
    350346  languages="$languages,c++"
    351   case i386-pc-netbsdelf5.1 in
    352   *-rtems4.11) optargs="$optargs --enable-libstdcxx-time";;
    353   esac
    354347  languages="$languages,fortran"
    355348  languages="$languages,objc"
     
    383376    %{?with_lto:--enable-lto}%{!?with_lto:--disable-lto} \
    384377    %{?with_plugin:--enable-plugin}%{!?with_plugin:--disable-plugin} \
    385     --enable-languages="$languages" $optargs
     378    --enable-languages="$languages"
    386379
    387380%if "%_host" != "%_build"
     
    432425  rm -rf $RPM_BUILD_ROOT%{_mandir}/man7
    433426
     427  # We don't want libffi's man-pages
     428  rm -f $RPM_BUILD_ROOT%{_mandir}/man3/*ffi*
     429
    434430  # Bug in gcc-3.4.0pre
    435431  rm -f $RPM_BUILD_ROOT%{_bindir}/i386-pc-netbsdelf5.1-i386-pc-netbsdelf5.1-gcjh%{_exeext}
     
    445441  fi
    446442
     443%if ! %{with pygdb}
    447444  # gcc >= 4.5.0: installs weird libstdc++ python bindings.
    448 %if ! %{with pygdb}
    449445  if test -d ${RPM_BUILD_ROOT}%{_datadir}/gcc-%{gcc_version}/python; then
    450446    rm -rf ${RPM_BUILD_ROOT}%{_datadir}/gcc-%{gcc_version}/python/libstdcxx
    451447  fi
    452 %endif
    453 
     448
     449%endif
    454450  # Collect multilib subdirectories
    455451  multilibs=`build/gcc/xgcc -Bbuild/gcc/ --print-multi-lib | sed -e 's,;.*$,,'`
     
    473469  cp dirs build/files.gcj
    474470  cp dirs build/files.g++
     471  cp dirs build/files.go
    475472
    476473  TGTDIR="%{_gcclibdir}/gcc/i386-pc-netbsdelf5.1/%{gcc_version}"
     
    486483    *collect2) ;;
    487484    *libobjc*) echo "$i" >> build/files.objc ;;
     485    *go1) ;; # ignore: explicitly put into rpm elsewhere
    488486    *include/objc*) ;;
    489487    *include/g++*);;
     
    491489    *include-fixed/*);;
    492490    *finclude/*);;
     491    */go/*) ;; # ignore : explicitly put into rpm elsewhere
    493492    *adainclude*);;
    494493    *adalib*);;
     
    497496    *jvgenmain) ;;
    498497    */libgfortran*.*) echo "$i" >> build/files.gfortran ;;
     498    */libgo*.a) echo "$i" >> build/files.go ;;
    499499    %{!?with_pygdb:*/libstdc++*gdb.py*) rm ${RPM_BUILD_ROOT}/$i ;;} # ignore for now
    500500    %{?with_pygdb:*/libstdc++*gdb.py*) >> build/files.g++ ;;}
     
    622622%{_bindir}/i386-pc-netbsdelf5.1-gcc-%{gcc_version}%{_exeext}
    623623%{_bindir}/i386-pc-netbsdelf5.1-gcov%{_exeext}
     624%if "%{gcc_version}" < "4.6.0"
    624625%{_bindir}/i386-pc-netbsdelf5.1-gccbug
     626%endif
    625627
    626628%dir %{_libexecdir}/gcc
  • contrib/crossrpms/netbsd5.1/x86_64/amd64-pc-netbsdelf5.1-gcc.spec

    rc05fad28 r96a0c2ae  
    4242Group:          Development/Tools
    4343Version:        %{gcc_rpmvers}
    44 Release:        0.20110321.1%{?dist}
     44Release:        0.20110731.0%{?dist}
    4545License:        GPL
    4646URL:            http://gcc.gnu.org
     
    6565# Should be applicable to gcc >= 4.5.0
    6666%bcond_with gcc_stdint
     67
     68# EXPERIMENTAL: Enable newlib's iconv
     69%bcond_without iconv
    6770
    6871# versions of libraries, we conditionally bundle if necessary
     
    7376
    7477# versions of libraries these distros are known to ship
     78%if 0%{?fc16}
     79%global mpc_provided 0.8.3
     80%global mpfr_provided 3.0.0
     81%global gmp_provided 4.3.2
     82%endif
     83
    7584%if 0%{?fc15}
    7685%global mpc_provided 0.8.3
     
    8594%endif
    8695
    87 %if 0%{?fc13}
    88 %global mpc_provided 0.8.1
    89 %global mpfr_provided 2.4.2
    90 %global gmp_provided 4.3.1
    91 %endif
    92 
    9396%if 0%{?el6}
    9497%global mpc_provided %{nil}
     
    103106%endif
    104107
    105 %if 0%{?suse11_2}
    106 %global mpc_provided 0.7
    107 %global mpfr_provided 2.4.1
    108 %global gmp_provided 4.3.1
    109 %endif
    110 
    111108%if 0%{?suse11_3}
    112109%global mpc_provided 0.8.1
     
    195192
    196193%if %{defined cloog_required}
    197 %{?fc13:BuildRequires: cloog-ppl-devel >= %cloog_required}
    198194%{?fc14:BuildRequires: cloog-ppl-devel >= %cloog_required}
    199195%{?fc15:BuildRequires: cloog-ppl-devel >= %cloog_required}
     196%{?fc16:BuildRequires: cloog-ppl-devel >= %cloog_required}
    200197%{?el6:BuildRequires: cloog-ppl-devel >= %cloog_required}
    201198%{?suse11_4:BuildRequires: cloog-devel >= %cloog_required, ppl-devel}
    202199%{?suse11_3:BuildRequires: cloog-devel >= %cloog_required, ppl-devel}
    203 %{?suse11_2:BuildRequires: cloog-devel >= %cloog_required, ppl-devel}
    204200%endif
    205201
     
    349345  languages="c"
    350346  languages="$languages,c++"
    351   case amd64-pc-netbsdelf5.1 in
    352   *-rtems4.11) optargs="$optargs --enable-libstdcxx-time";;
    353   esac
    354347  languages="$languages,fortran"
    355348  languages="$languages,objc"
     
    383376    %{?with_lto:--enable-lto}%{!?with_lto:--disable-lto} \
    384377    %{?with_plugin:--enable-plugin}%{!?with_plugin:--disable-plugin} \
    385     --enable-languages="$languages" $optargs
     378    --enable-languages="$languages"
    386379
    387380%if "%_host" != "%_build"
     
    432425  rm -rf $RPM_BUILD_ROOT%{_mandir}/man7
    433426
     427  # We don't want libffi's man-pages
     428  rm -f $RPM_BUILD_ROOT%{_mandir}/man3/*ffi*
     429
    434430  # Bug in gcc-3.4.0pre
    435431  rm -f $RPM_BUILD_ROOT%{_bindir}/amd64-pc-netbsdelf5.1-amd64-pc-netbsdelf5.1-gcjh%{_exeext}
     
    445441  fi
    446442
     443%if ! %{with pygdb}
    447444  # gcc >= 4.5.0: installs weird libstdc++ python bindings.
    448 %if ! %{with pygdb}
    449445  if test -d ${RPM_BUILD_ROOT}%{_datadir}/gcc-%{gcc_version}/python; then
    450446    rm -rf ${RPM_BUILD_ROOT}%{_datadir}/gcc-%{gcc_version}/python/libstdcxx
    451447  fi
    452 %endif
    453 
     448
     449%endif
    454450  # Collect multilib subdirectories
    455451  multilibs=`build/gcc/xgcc -Bbuild/gcc/ --print-multi-lib | sed -e 's,;.*$,,'`
     
    473469  cp dirs build/files.gcj
    474470  cp dirs build/files.g++
     471  cp dirs build/files.go
    475472
    476473  TGTDIR="%{_gcclibdir}/gcc/amd64-pc-netbsdelf5.1/%{gcc_version}"
     
    486483    *collect2) ;;
    487484    *libobjc*) echo "$i" >> build/files.objc ;;
     485    *go1) ;; # ignore: explicitly put into rpm elsewhere
    488486    *include/objc*) ;;
    489487    *include/g++*);;
     
    491489    *include-fixed/*);;
    492490    *finclude/*);;
     491    */go/*) ;; # ignore : explicitly put into rpm elsewhere
    493492    *adainclude*);;
    494493    *adalib*);;
     
    497496    *jvgenmain) ;;
    498497    */libgfortran*.*) echo "$i" >> build/files.gfortran ;;
     498    */libgo*.a) echo "$i" >> build/files.go ;;
    499499    %{!?with_pygdb:*/libstdc++*gdb.py*) rm ${RPM_BUILD_ROOT}/$i ;;} # ignore for now
    500500    %{?with_pygdb:*/libstdc++*gdb.py*) >> build/files.g++ ;;}
     
    622622%{_bindir}/amd64-pc-netbsdelf5.1-gcc-%{gcc_version}%{_exeext}
    623623%{_bindir}/amd64-pc-netbsdelf5.1-gcov%{_exeext}
     624%if "%{gcc_version}" < "4.6.0"
    624625%{_bindir}/amd64-pc-netbsdelf5.1-gccbug
     626%endif
    625627
    626628%dir %{_libexecdir}/gcc
Note: See TracChangeset for help on using the changeset viewer.