OpenPKG CVS Repository
http://cvs.openpkg.org/
____________________________________________________________________________
Server: cvs.openpkg.org Name: Ralf S. Engelschall
Root: /v/openpkg/cvs Email: [EMAIL PROTECTED]
Module: openpkg-src Date: 24-Jul-2005 10:27:40
Branch: HEAD Handle: 2005072409274000
Modified files:
openpkg-src/gcc40 gcc40.spec
Log:
rename with_f77 to with_fortran because GCC 4.0 now supports F77 and
F95; also use F95 now for Fortran support
Summary:
Revision Changes Path
1.36 +9 -4 openpkg-src/gcc40/gcc40.spec
____________________________________________________________________________
patch -p0 <<'@@ .'
Index: openpkg-src/gcc40/gcc40.spec
============================================================================
$ cvs diff -u -r1.35 -r1.36 gcc40.spec
--- openpkg-src/gcc40/gcc40.spec 16 Jun 2005 09:20:37 -0000 1.35
+++ openpkg-src/gcc40/gcc40.spec 24 Jul 2005 08:27:40 -0000 1.36
@@ -39,13 +39,13 @@
Group: Compiler
License: GPL
Version: %{V_full}
-Release: 20050616
+Release: 20050724
# package options
%option with_cxx yes
%option with_objc no
%option with_java no
-%option with_f77 no
+%option with_fortran no
%option with_optimize no
%option with_profile no
%option with_binutils yes
@@ -65,6 +65,10 @@
BuildPreReq: binutils >= 2.14
PreReq: binutils >= 2.14
%endif
+%if "%{with_fortran}" == "yes"
+BuildPreReq: mpfr
+PreReq: mpfr
+%endif
AutoReq: no
AutoReqProv: no
%if "%{with_gcc}" == "yes"
@@ -136,8 +140,8 @@
%if "%{with_java}" == "yes"
l_enable_languages="${l_enable_languages},java"
%endif
-%if "%{with_f77}" == "yes"
- l_enable_languages="${l_enable_languages},f77"
+%if "%{with_fortran}" == "yes"
+ l_enable_languages="${l_enable_languages},f95"
%endif
# disable GNU iconv usage
@@ -148,6 +152,7 @@
# configure the package
CC="%{l_cc}" \
CFLAGS="%{l_cflags}" \
+ CPPFLAGS="%{l_cppflags}" \
CONFIG_SHELL="%{l_bash}" \
../configure \
--cache-file=./config.cache \
@@ .
______________________________________________________________________
The OpenPKG Project www.openpkg.org
CVS Repository Commit List [email protected]