GCC 4.1.0 has been released. The following patch updates the gcc41 port to use it, and changes the build target to be profiledbootstrap, which should generate a slightly faster compiler.
Index: Portfile
===================================================================
RCS file: /Volumes/src/cvs/od/proj/darwinports/dports/lang/gcc41/Portfile,v
retrieving revision 1.12
diff -a -u -u -r1.12 Portfile
--- Portfile 27 Feb 2006 18:22:09 -0000 1.12
+++ Portfile 2 Mar 2006 09:59:13 -0000
@@ -3,20 +3,20 @@
PortSystem 1.0
name gcc41
-version 4.1.0-20060223
+version 4.1.0
platforms darwin
categories lang
maintainers mww@opendarwin.org
description The GNU compiler collection, prerelease BETA
long_description The GNU compiler collection, including front ends for C, \
- C++, Objective-C, Objective-C++, Java and Fortran95, \
- prerelease BETA version.
+ C++, Objective-C, Objective-C++, Java and Fortran95.
homepage http://gcc.gnu.org/
-master_sites ftp://ftp.funet.fi/pub/mirrors/sources.redhat.com/pub/gcc/prerelease-${version}/ \
- ftp://ftp.nluug.nl/mirror/languages/gcc/prerelease-${version}/ \
- ftp://ftp.gwdg.de/pub/linux/gcc/prerelease-${version}/ \
- ftp://gcc.gnu.org/pub/gcc/prerelease-${version}/
+master_sites ftp://ftp.funet.fi/pub/mirrors/sources.redhat.com/pub/gcc/releases/gcc-${version}/ \
+ ftp://ftp.nluug.nl/mirror/languages/gcc/releases/gcc-${version}/ \
+ ftp://ftp.gwdg.de/pub/linux/gcc/releases/gcc-${version}/ \
+ ftp://gcc.gnu.org/pub/gcc/releases/gcc-${version}/ \
+ gnu:/gcc/gcc-${version}
set dcore gcc-core-${version}.tar.bz2
set dfort gcc-fortran-${version}.tar.bz2
@@ -25,11 +25,11 @@
set dobjc gcc-objc-${version}.tar.bz2
distfiles ${dcore} ${dfort} ${dcxx} ${djava} ${dobjc}
-checksums ${dcore} sha1 f824d85e3ec7831c11daf4a98bad54c4495393a5 \
- ${dfort} sha1 93ea452a8db49cc27e6dae137c1ec1d2eb943a2b \
- ${dcxx} sha1 a0cc997d343902b1008e2809714be7e235cb2b6b \
- ${djava} sha1 a22ddbee9304511c70524e3bfb14ff3f4396de8e \
- ${dobjc} sha1 c402ca4a19f8e57912e638aa3e53fe0bc72a36d6
+checksums ${dcore} sha1 b9229cc2dd9952725100f4273252c9dda68ae1ab \
+ ${dfort} sha1 0acef5ebcd0fe59601bdd3dc82e6879abb400322 \
+ ${dcxx} sha1 cd68f1a24c38b203c58633462020bfd58d728cd7 \
+ ${djava} sha1 71f69517a2d0a8377a1e503705c1b5c38ad0ec7d \
+ ${dobjc} sha1 5d2f9fa4f5896cf40c60bcab27f2aa4da402e5e4
use_bzip2 yes
@@ -56,7 +56,7 @@
--with-gmp=${prefix} \
--with-mpfr=${prefix}
-build.target bootstrap
+build.target profiledbootstrap
build.args -j 2
# untested:
Committed, as requested by mww.