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:33:28
Branch: HEAD Handle: 2005072409332800
Modified files:
openpkg-src/gcc41 gcc41.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.17 +8 -3 openpkg-src/gcc41/gcc41.spec
____________________________________________________________________________
patch -p0 <<'@@ .'
Index: openpkg-src/gcc41/gcc41.spec
============================================================================
$ cvs diff -u -r1.16 -r1.17 gcc41.spec
--- openpkg-src/gcc41/gcc41.spec 24 Jul 2005 07:22:25 -0000 1.16
+++ openpkg-src/gcc41/gcc41.spec 24 Jul 2005 08:33:28 -0000 1.17
@@ -46,7 +46,7 @@
%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
@@ -66,6 +66,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"
@@ -140,8 +144,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
@@ -152,6 +156,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]