Update of /cvsroot/fink/dists/10.4/unstable/main/finkinfo/languages
In directory sc8-pr-cvs5.sourceforge.net:/tmp/cvs-serv27120
Modified Files:
g95.info
Log Message:
New upstream version, now installs c compiler (useful for building r-base)
Index: g95.info
===================================================================
RCS file: /cvsroot/fink/dists/10.4/unstable/main/finkinfo/languages/g95.info,v
retrieving revision 1.9
retrieving revision 1.10
diff -u -d -r1.9 -r1.10
--- g95.info 6 May 2006 13:07:23 -0000 1.9
+++ g95.info 15 May 2006 16:25:56 -0000 1.10
@@ -1,10 +1,10 @@
Package: g95
Version: 0.50
-Revision: 20060505
+Revision: 20060512
Source: ftp://gcc.gnu.org/pub/gcc/releases/gcc-4.0.3/gcc-core-4.0.3.tar.bz2
Source-MD5: 347231730fb44b609b69226c3e432d80
-Source2: ftp://ftp.cdc.noaa.gov/Public/jsw/g95/g95-%v-%r.tgz
-Source2-MD5: 618f0df9fbd9c0ce672b7a2cf161554c
+Source2: ftp://ftp.cdc.noaa.gov/Public/jsw/g95/g95-%v-20060512.tgz
+Source2-MD5: d9b7adf5088fbba220ae640a6cdc74e2
NoSourceDirectory: True
NoSetCPPFLAGS: True
NoSetLDFLAGS: True
@@ -29,20 +29,35 @@
cd gcc-${gccver}
mkdir g95
cd g95
- ../configure --prefix=%p/lib/gcc-lib/%m-apple-darwin${darwinvers}/${gccver}
--enable-languages=c `if test ! -f /usr/lib/libSystemStubs.a ; then echo -n
"--with-as=%p/lib/odcctools/bin/as --with-ld=%p/lib/odcctools/bin/ld
--with-nm=%p/lib/odcctools/bin/nm" ; fi` --disable-checking
--with-included-gettext
+ # build gcc 4.0.3
+ ../configure --prefix=%p/lib/gcc-lib/%m-apple-darwin${darwinvers}/${gccver}
--enable-languages=c `if test ! -f /usr/lib/libSystemStubs.a ; then echo -n
"--with-as=%p/lib/odcctools/bin/as --with-ld=%p/lib/odcctools/bin/ld
--with-nm=%p/lib/odcctools/bin/nm" ; fi` --with-included-gettext
make
+<<
+ #cd ../../g95-%v
+ #./configure --prefix=%p --with-gcc-dir=%b/gcc-${gccver}
--host=%m-apple-darwin${darwinvers}
+ #make
+ #cd libf95.a-%v
+ #./configure %c --host=%m-apple-darwin${darwinvers}
+ #make
+
+InstallScript: <<
+ #!/bin/sh -e
+ gccver=4.0.3
+ darwinvers=`uname -r|cut -f1 -d.`
+ # since we've gone through the trouble to build it,
+ # also install gcc 4.0.3.
+ cd gcc-${gccver}/g95
+ make install DESTDIR=%d
+ # build and install g95.
+ # have to build g95 after gcc 4.0.3 is installed, cause
+ # g95 messes with the files.
cd ../../g95-%v
./configure --prefix=%p --with-gcc-dir=%b/gcc-${gccver}
--host=%m-apple-darwin${darwinvers}
make
cd libf95.a-%v
./configure %c --host=%m-apple-darwin${darwinvers}
make
-<<
-InstallScript: <<
- #!/bin/sh -e
- gccver=4.0.3
- darwinvers=`uname -r|cut -f1 -d.`
- cd g95-%v
+ cd ..
mv Makefile Makefile.orig
sed
"s|%p/lib/gcc-lib/%m-apple-darwin${darwinvers}/${gccver}|%i/lib/gcc-lib/%m-apple-darwin${darwinvers}/${gccver}|g"
< Makefile.orig > Makefile
make install prefix=%i
@@ -50,10 +65,6 @@
mv Makefile Makefile.orig
sed
"s|%p/lib/gcc-lib/%m-apple-darwin${darwinvers}/${gccver}|%i/lib/gcc-lib/%m-apple-darwin${darwinvers}/${gccver}|g"
< Makefile.orig > Makefile
make install prefix=%i
- # if dylib built, remove it.
- if [[ -f
%i/lib/gcc-lib/%m-apple-darwin${darwinvers}/${gccver}/libgcc_s.1.0.dylib ]];
then
- /bin/rm -f %i/lib/gcc-lib/%m-apple-darwin${darwinvers}/${gccver}/*dylib
- fi
ranlib %i/lib/gcc-lib/%m-apple-darwin${darwinvers}/${gccver}/libf95.a
ranlib %i/lib/gcc-lib/%m-apple-darwin${darwinvers}/${gccver}/libgcc.a
ranlib %i/lib/gcc-lib/%m-apple-darwin${darwinvers}/${gccver}/libgcc_eh.a
@@ -73,6 +84,8 @@
The 'gfortran' package is the official Fortran 95 compiler for the gcc
project, and will be included in gcc 4.0. gfortran originated from
the g95 codebase.
+
+Also installs the gcc 4.0.3 c compiler.
<<
DescPort: <<
Requires that a compatible cctools be installed for Panther (provided by
_______________________________________________
Fink-commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/fink-commits