[91032] trunk/dports/lang/gcc47/Portfile
mww at macports.org
mww at macports.org
Thu Mar 22 11:36:10 PDT 2012
Revision: 91032
https://trac.macports.org/changeset/91032
Author: mww at macports.org
Date: 2012-03-22 11:36:10 -0700 (Thu, 22 Mar 2012)
Log Message:
-----------
gcc47: version 4.7.0
Modified Paths:
--------------
trunk/dports/lang/gcc47/Portfile
Modified: trunk/dports/lang/gcc47/Portfile
===================================================================
--- trunk/dports/lang/gcc47/Portfile 2012-03-22 17:31:26 UTC (rev 91031)
+++ trunk/dports/lang/gcc47/Portfile 2012-03-22 18:36:10 UTC (rev 91032)
@@ -4,30 +4,27 @@
PortGroup select 1.0
name gcc47
-version 4.7-20120225
-revision 1
+version 4.7.0
platforms darwin
categories lang
maintainers mww openmaintainer
license GPL-3
-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++, Fortran and Java.
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}/ \
- http://mirrors-us.seosue.com/gcc/snapshots/${version}/ \
- http://gcc.skazkaforyou.com/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}
distname gcc-${version}
-checksums md5 b906a1595b3b55c637b32d0e8ff8254c \
- rmd160 303ad20350ee6f8e139662cf9d4ee0424619d7d5 \
- sha256 da53532b956fd87097420606e5ab6abd895201f6dc1f6177f8e9b739891d49a3
+checksums md5 2a0f1d99fda235c29d40b561f81d9a77 \
+ rmd160 4ed660b281cdb9bcf98f5c2cf2da105c71db5be4 \
+ sha256 a680083e016f656dab7acd45b9729912e70e71bbffcbf0e3e8aa1cccf19dc9a5
use_bzip2 yes
@@ -47,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++,lto,fortran,java \
--libdir=${prefix}/lib/${name} \
--includedir=${prefix}/include/${name} \
--infodir=${prefix}/share/info \
@@ -97,26 +94,6 @@
select.group gcc
select.file ${filespath}/mp-${name}
-# due to popular request - untested for the BETA; will be removed as soon as other languages than C compile successfuly
-variant gfortran conflicts java \
- description "Enables Fortran/gfortran; 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
-}
-
-# due to popular request - untested for the BETA; will be removed as soon as other languages than C compile successfuly
-variant java conflicts gfortran \
- description "Enables Java/gcj; 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++,java
- post-destroot {
- file rename ${destroot}${prefix}/share/python/aotcompile.py \
- ${destroot}${prefix}/share/python/aotcompile-46.py
- file rename ${destroot}${prefix}/share/python/classfile.py \
- ${destroot}${prefix}/share/python/classfile-46.py
- }
-}
-
platform powerpc {
configure.universal_archs ppc ppc64
}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20120322/da842d5d/attachment.html>
More information about the macports-changes
mailing list