[34906] trunk/dports/lang/gcc43/Portfile

mww at macports.org mww at macports.org
Mon Mar 10 14:28:35 PDT 2008


Revision: 34906
          http://trac.macosforge.org/projects/macports/changeset/34906
Author:   mww at macports.org
Date:     2008-03-10 14:28:35 -0700 (Mon, 10 Mar 2008)

Log Message:
-----------
version 4.3.0

Modified Paths:
--------------
    trunk/dports/lang/gcc43/Portfile

Modified: trunk/dports/lang/gcc43/Portfile
===================================================================
--- trunk/dports/lang/gcc43/Portfile	2008-03-10 20:48:27 UTC (rev 34905)
+++ trunk/dports/lang/gcc43/Portfile	2008-03-10 21:28:35 UTC (rev 34906)
@@ -3,20 +3,20 @@
 PortSystem 1.0
 
 name			gcc43
-version			4.3-20080306
+version			4.3.0
 platforms		darwin
 categories		lang
 maintainers		mww
-description		The GNU compiler collection, prerelease BETA
+description		The GNU compiler collection
 long_description	The GNU compiler collection, including front ends for \
-			C, C++, Objective-C and Objective-C++. This is a \
-			prerelease BETA version and does not have all \
-			available language front ends enabled.
+			C, C++, Objective-C, Objective-C++, Java and Fortran95.
 
 homepage		http://gcc.gnu.org/
-master_sites    ftp://ftp.gwdg.de/pub/linux/gcc/snapshots/${version}/ \
-				ftp://ftp.funet.fi/pub/mirrors/sources.redhat.com/pub/gcc/snapshots/${version}/ \
-				ftp://gcc.gnu.org/pub/gcc/snapshots/${version}/
+master_sites		ftp://ftp.funet.fi/pub/mirrors/sources.redhat.com/pub/gcc/releases/gcc-${version}/ \
+			ftp://ftp.gwdg.de/pub/linux/gcc/releases/gcc-${version}/ \
+			ftp://gcc.ftp.nluug.nl/mirror/languages/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 d5f9dc28801225d47d570793d3737c6b8d8302e8 \
-			${dfort} sha1 eff32b021880321036a266650ef3f1839f3ef0fb \
-			${dcxx} sha1 3ecabd784d45bf316965c43c74ab6df6eeb2e263 \
-			${djava} sha1 ffa1ae2c867aa28e5d9597d1296d8ced147dc753 \
-			${dobjc} sha1 0563687e0265c7433da4855a9424f7ab83d105fb
+checksums		${dcore} sha1 2fcea9d777933517a266175f96bc781675d476b3 \
+			${dfort} sha1 2314783efdf65f0fdc281978916119c6602067a0 \
+			${dcxx} sha1 00f415849605629c1c5a3193edee20eac036ff56 \
+			${djava} sha1 3bcaa722b9c25fb7ec08949ad07bbd7a6d4f855c \
+			${dobjc} sha1 12ed333935647a80d4e27fc29d015adf840ee6d7
 
 use_bzip2		yes
 
@@ -44,7 +44,7 @@
 }
 
 configure.cmd	../gcc-${version}/configure
-configure.args	--enable-languages=c,c++,objc,obj-c++ \
+configure.args	--enable-languages=c,c++,objc,obj-c++,java,fortran \
 		--libdir=${prefix}/lib/${name} \
 		--includedir=${prefix}/include/${name} \
 		--infodir=${prefix}/share/info \
@@ -65,7 +65,6 @@
 			RANLIB_FOR_TARGET=/usr/bin/ranlib \
 			STRIP_FOR_TARGET=/usr/bin/strip
 
-build.target	bootstrap
 use_parallel_build	yes
 
 destroot.target	install install-info-host
@@ -91,26 +90,19 @@
 }
 
 # odcctools currently do not compile for x64 - move to variant for the time being
-variant odcctools \
-	description "Use the odcctools instead of the system provided ones - does not work for x64 currently!" {
-	depends_lib-append	port:odcctools
-	patch {
-		reinplace "s|/usr/bin/libtool|${prefix}/bin/odlibtool|g" \
-			${workpath}/gcc-${version}/gcc/config/darwin.h
-	}
-	configure.args-append	--with-as=${prefix}/bin/odas \
-				--with-ld=${prefix}/bin/odld \
-				--with-ar=${prefix}/bin/odar
-}
+#variant odcctools \
+#	description "Use the odcctools instead of the system provided ones - does not work for x64 currently!" {
+#	depends_lib-append	port:odcctools
+#	patch {
+#		reinplace "s|/usr/bin/libtool|${prefix}/bin/odlibtool|g" \
+#			${workpath}/gcc-${version}/gcc/config/darwin.h
+#	}
+#	configure.args-append	--with-as=${prefix}/bin/odas \
+#				--with-ld=${prefix}/bin/odld \
+#				--with-ar=${prefix}/bin/odar
+#}
 
-# due to popular request - untested for the BETA; will be removed as soon as other languages than C compile successfuly
-variant gfortran \
-	description "Enables fortran; this language will be enabled in the final version - this variant is completely untested!" {
-	configure.args-delete --enable-languages=c,c++,objc,obj-c++
-	configure.args-append --enable-languages=c,c++,objc,obj-c++,fortran
-}
-
 livecheck.check	regex
-livecheck.url	ftp://gcc.gnu.org/pub/gcc/snapshots/
-livecheck.regex	LATEST-4.3 -> (4.3-\[0-9\]+)
+livecheck.url	http://gcc.gnu.org/gcc-4.3/
+livecheck.regex	GCC (4\\.3\\.\[0-9\])
 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.macosforge.org/pipermail/macports-changes/attachments/20080310/e49b519f/attachment.html 


More information about the macports-changes mailing list