|
|
|
|
@ -26,9 +26,8 @@
|
|
|
|
|
# FIXME: rse: with_cxx=yes fails because of iconv problems |
|
|
|
|
|
|
|
|
|
# package version |
|
|
|
|
%define V_full 4.3 |
|
|
|
|
%define V_full 4.3.0 |
|
|
|
|
%define V_comp 43 |
|
|
|
|
%define V_snap 20080306 |
|
|
|
|
|
|
|
|
|
# package information |
|
|
|
|
Name: gcc43 |
|
|
|
|
@ -40,8 +39,8 @@ Distribution: OpenPKG Community
|
|
|
|
|
Class: EVAL |
|
|
|
|
Group: Compiler |
|
|
|
|
License: GPL |
|
|
|
|
Version: %{V_full}s%{V_snap} |
|
|
|
|
Release: 20080308 |
|
|
|
|
Version: %{V_full} |
|
|
|
|
Release: 20080311 |
|
|
|
|
|
|
|
|
|
# package options |
|
|
|
|
%option with_cxx no |
|
|
|
|
@ -56,7 +55,7 @@ Release: 20080308
|
|
|
|
|
%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 |
|
|
|
|
Source0: ftp://gcc.gnu.org/pub/gcc/releases/gcc-%{V_full}/gcc-%{V_full}.tar.bz2 |
|
|
|
|
Patch0: gcc43.patch |
|
|
|
|
|
|
|
|
|
# build information |
|
|
|
|
@ -88,15 +87,15 @@ Provides: gcc = %{version}-%{release}
|
|
|
|
|
|
|
|
|
|
%track |
|
|
|
|
prog gcc43 = { |
|
|
|
|
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__/ |
|
|
|
|
version = %{V_full} |
|
|
|
|
url = ftp://gcc.gnu.org/pub/gcc/releases/ |
|
|
|
|
regex = gcc-(4\.3\.\d+) |
|
|
|
|
url = ftp://gcc.gnu.org/pub/gcc/releases/__NEWVER__/ |
|
|
|
|
regex = gcc-(\d+\.\d+-\d{8})\.tar\.bz2 |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
%prep |
|
|
|
|
%setup -q -n gcc-%{V_full}-%{V_snap} |
|
|
|
|
%setup -q -n gcc-%{V_full} |
|
|
|
|
%patch -p0 |
|
|
|
|
%{l_shtool} subst -v -s \ |
|
|
|
|
-e 's;PREFIX_INCLUDE_DIR;PREFIX_INCLUDE_DIR_DISABLED;g' \ |
|
|
|
|
|