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: 04-Jul-2003 11:40:57
Branch: HEAD Handle: 2003070410405601
Modified files:
openpkg-src/gcc32 gcc32.spec
openpkg-web news.txt
Log:
add multilib support here, too
Summary:
Revision Changes Path
1.5 +8 -1 openpkg-src/gcc32/gcc32.spec
1.5234 +1 -0 openpkg-web/news.txt
____________________________________________________________________________
patch -p0 <<'@@ .'
Index: openpkg-src/gcc32/gcc32.spec
============================================================================
$ cvs diff -u -r1.4 -r1.5 gcc32.spec
--- openpkg-src/gcc32/gcc32.spec 2 Jul 2003 07:48:25 -0000 1.4
+++ openpkg-src/gcc32/gcc32.spec 4 Jul 2003 09:40:57 -0000 1.5
@@ -38,7 +38,7 @@
Group: Language
License: GPL
Version: %{V_full}
-Release: 20030702
+Release: 20030704
# package options
%option with_cxx yes
@@ -183,6 +183,13 @@
# cleanup installation tree
mv $RPM_BUILD_ROOT%{l_prefix}/lib/lib*.a \
$RPM_BUILD_ROOT%{l_prefix}/lib/gcc%{V_comp}-lib/${triple}/%{V_full}/
+ 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}-lib/${triple}/%{V_full}/$subdir/
+ 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}-lib/${triple}/%{V_full}/include/
\
>/dev/null 2>&1 || true
@@ .
patch -p0 <<'@@ .'
Index: openpkg-web/news.txt
============================================================================
$ cvs diff -u -r1.5233 -r1.5234 news.txt
--- openpkg-web/news.txt 4 Jul 2003 09:40:48 -0000 1.5233
+++ openpkg-web/news.txt 4 Jul 2003 09:40:56 -0000 1.5234
@@ -1,3 +1,4 @@
+04-Jul-2003: Upgraded package: P<gcc32-3.2.3-20030704>
04-Jul-2003: Upgraded package: P<pks-0.9.6-20030704>
04-Jul-2003: Upgraded package: P<mtr-0.54-20030704>
04-Jul-2003: Upgraded package: P<lha-1.14i-20030704>
@@ .
______________________________________________________________________
The OpenPKG Project www.openpkg.org
CVS Repository Commit List [EMAIL PROTECTED]