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: 22-Aug-2003 11:21:09
Branch: HEAD Handle: 2003082210210701
Modified files:
openpkg-src/gcc gcc.spec
openpkg-web news.txt
Log:
add optional Objective-C, Java and Fortran-77 language support
Summary:
Revision Changes Path
1.70 +17 -1 openpkg-src/gcc/gcc.spec
1.6268 +1 -0 openpkg-web/news.txt
____________________________________________________________________________
patch -p0 <<'@@ .'
Index: openpkg-src/gcc/gcc.spec
============================================================================
$ cvs diff -u -r1.69 -r1.70 gcc.spec
--- openpkg-src/gcc/gcc.spec 12 Aug 2003 10:50:12 -0000 1.69
+++ openpkg-src/gcc/gcc.spec 22 Aug 2003 09:21:08 -0000 1.70
@@ -39,10 +39,13 @@
Group: Compiler
License: GPL
Version: %{V_full}
-Release: 20030812
+Release: 20030822
# package options
%option with_cxx yes
+%option with_objc yes
+%option with_java yes
+%option with_f77 yes
%option with_optimize yes
%option with_binutils yes
%option with_threads yes
@@ -125,6 +128,15 @@
%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_f77}" == "yes"
+ l_enable_languages="${l_enable_languages},f77"
+%endif
# configure the package
CC="%{l_cc}" \
@@ -207,6 +219,10 @@
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
+%if "%{with_java}" == "yes"
+ mv $RPM_BUILD_ROOT%{l_prefix}/share/java \
+ $RPM_BUILD_ROOT%{l_prefix}/share/gcc
+%endif
# strip installation tree
rm -rf $RPM_BUILD_ROOT%{l_prefix}/${triple}
@@ .
patch -p0 <<'@@ .'
Index: openpkg-web/news.txt
============================================================================
$ cvs diff -u -r1.6267 -r1.6268 news.txt
--- openpkg-web/news.txt 22 Aug 2003 09:09:46 -0000 1.6267
+++ openpkg-web/news.txt 22 Aug 2003 09:21:07 -0000 1.6268
@@ -1,3 +1,4 @@
+22-Aug-2003: Upgraded package: P<gcc-3.3.1-20030822>
22-Aug-2003: Upgraded package: P<sav-2.14-20030822>
22-Aug-2003: Upgraded package: P<ddd-3.3.1-20030822>
22-Aug-2003: Upgraded package: P<gnupg-1.2.2-20030822>
@@ .
______________________________________________________________________
The OpenPKG Project www.openpkg.org
CVS Repository Commit List [EMAIL PROTECTED]