OpenPKG CVS Repository
http://cvs.openpkg.org/
____________________________________________________________________________
Server: cvs.openpkg.org Name: Ralf S. Engelschall
Root: /e/openpkg/cvs Email: [EMAIL PROTECTED]
Module: openpkg-src openpkg-web Date: 09-Sep-2003 11:50:22
Branch: HEAD Handle: 2003090910502002
Modified files:
openpkg-src/gcc gcc.spec
openpkg-web news.txt
Log:
convert to new %{l_platform} world order
Summary:
Revision Changes Path
1.72 +7 -7 openpkg-src/gcc/gcc.spec
1.6467 +1 -0 openpkg-web/news.txt
____________________________________________________________________________
patch -p0 <<'@@ .'
Index: openpkg-src/gcc/gcc.spec
============================================================================
$ cvs diff -u -r1.71 -r1.72 gcc.spec
--- openpkg-src/gcc/gcc.spec 22 Aug 2003 12:42:29 -0000 1.71
+++ openpkg-src/gcc/gcc.spec 9 Sep 2003 09:50:22 -0000 1.72
@@ -39,7 +39,7 @@
Group: Compiler
License: GPL
Version: %{V_full}
-Release: 20030822
+Release: 20030909
# package options
%option with_cxx yes
@@ -67,8 +67,8 @@
# build information
Prefix: %{l_prefix}
BuildRoot: %{l_buildroot}
-BuildPreReq: OpenPKG, openpkg >= 20030103, make
-PreReq: OpenPKG, openpkg >= 20030103
+BuildPreReq: OpenPKG, openpkg >= 20030909, make
+PreReq: OpenPKG, openpkg >= 20030909
%if "%{with_binutils}" == "yes"
BuildPreReq: binutils >= 2.13
PreReq: binutils >= 2.13
@@ -109,7 +109,7 @@
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_target}" in
+ case "%{l_platform -t}" in
*-linux* | *-freebsd* )
l_with_gnu_ld_as="${l_with_gnu_ld_as} --with-gnu-as --with-gnu-ld"
;;
@@ -174,9 +174,9 @@
# (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 -funroll-loops"
- case "%{l_target}" in
- *x86-* ) l_boot_cflags="$l_boot_cflags -mcpu=pentium3" ;;
- *sparc64-* ) l_boot_cflags="$l_boot_cflags -mtune=v9" ;;
+ case "%{l_platform -t}" in
+ *i?86-* ) l_boot_cflags="$l_boot_cflags -mcpu=pentium3" ;;
+ *sun4u-* ) l_boot_cflags="$l_boot_cflags -mtune=v9" ;;
esac
l_libcxxflags="$l_libcxxflags -O2 -fno-implicit-templates"
%else
@@ .
patch -p0 <<'@@ .'
Index: openpkg-web/news.txt
============================================================================
$ cvs diff -u -r1.6466 -r1.6467 news.txt
--- openpkg-web/news.txt 9 Sep 2003 09:47:29 -0000 1.6466
+++ openpkg-web/news.txt 9 Sep 2003 09:50:20 -0000 1.6467
@@ -1,3 +1,4 @@
+09-Sep-2003: Upgraded package: P<gcc-3.3.1-20030909>
09-Sep-2003: Upgraded package: P<cpu-1.4.0a-20030909>
09-Sep-2003: Upgraded package: P<chkrootkit-0.41-20030909>
09-Sep-2003: Upgraded package: P<binutils-2.14-20030909>
@@ .
______________________________________________________________________
The OpenPKG Project www.openpkg.org
CVS Repository Commit List [EMAIL PROTECTED]