-
diff --git a/trunk/dports/audio/ardour2/Portfile b/trunk/dports/audio/ardour2/Portfile
a
|
b
|
|
78 | 78 | depends_lib-append port:slv2 |
79 | 79 | } |
80 | 80 | |
81 | | variant gcc43 conflicts gcc44 gcc45 description {build with gcc 4.3} { |
| 81 | variant gcc43 conflicts gcc44 gcc45 gcc46 gcc47 description {build with gcc 4.3} { |
82 | 82 | depends_build-append port:gcc43 |
83 | 83 | configure.compiler macports-gcc-4.3 |
84 | 84 | build.env CC=${configure.cc} CXX=${configure.cxx} CPP=${configure.cpp} |
85 | 85 | destroot.env CC=${configure.cc} CXX=${configure.cxx} CPP=${configure.cpp} |
86 | 86 | } |
87 | 87 | |
88 | | variant gcc44 conflicts gcc43 gcc45 description {build with gcc 4.4} { |
| 88 | variant gcc44 conflicts gcc43 gcc45 gcc46 gcc47 description {build with gcc 4.4} { |
89 | 89 | depends_build-append port:gcc44 |
90 | 90 | configure.compiler macports-gcc-4.4 |
91 | 91 | build.env CC=${configure.cc} CXX=${configure.cxx} CPP=${configure.cpp} |
92 | 92 | destroot.env CC=${configure.cc} CXX=${configure.cxx} CPP=${configure.cpp} |
93 | 93 | } |
94 | 94 | |
95 | | variant gcc45 conflicts gcc43 gcc44 description {build with gcc 4.5} { |
| 95 | variant gcc45 conflicts gcc43 gcc44 gcc46 gcc47 description {build with gcc 4.5} { |
96 | 96 | depends_build-append port:gcc45 |
97 | 97 | configure.compiler macports-gcc-4.5 |
98 | 98 | build.env CC=${configure.cc} CXX=${configure.cxx} CPP=${configure.cpp} |
99 | 99 | destroot.env CC=${configure.cc} CXX=${configure.cxx} CPP=${configure.cpp} |
100 | 100 | } |
101 | 101 | |
102 | | if {![variant_isset gcc43] && ![variant_isset gcc44]} { |
103 | | default_variants +gcc45 |
| 102 | variant gcc46 conflicts gcc43 gcc44 gcc45 gcc47 description {build with gcc 4.6} { |
| 103 | depends_build-append port:gcc46 |
| 104 | configure.compiler macports-gcc-4.6 |
| 105 | build.env CC=${configure.cc} CXX=${configure.cxx} CPP=${configure.cpp} |
| 106 | destroot.env CC=${configure.cc} CXX=${configure.cxx} CPP=${configure.cpp} |
104 | 107 | } |
105 | 108 | |
| 109 | variant gcc47 conflicts gcc43 gcc44 gcc45 gcc46 description {build with gcc 4.7} { |
| 110 | depends_build-append port:gcc47 |
| 111 | configure.compiler macports-gcc-4.7 |
| 112 | build.env CC=${configure.cc} CXX=${configure.cxx} CPP=${configure.cpp} |
| 113 | destroot.env CC=${configure.cc} CXX=${configure.cxx} CPP=${configure.cpp} |
| 114 | } |
| 115 | |
| 116 | if {![variant_isset gcc43] && ![variant_isset gcc44] && ![variant_isset gcc45] && ![variant_isset gcc46]} { |
| 117 | default_variants +gcc47 |
| 118 | } |
| 119 | |
106 | 120 | platform darwin 10 { |
107 | 121 | # Broken on SL due to lack of support in scons configuration script. |
108 | 122 | pre-fetch { |
-
diff --git a/trunk/dports/devel/fortrancl/Portfile b/trunk/dports/devel/fortrancl/Portfile
a
|
b
|
|
38 | 38 | ${destroot}${prefix}/share/${name}/examples/ |
39 | 39 | } |
40 | 40 | |
41 | | if {![variant_isset g95]} { |
42 | | default_variants +gcc45 |
| 41 | if {![variant_isset g95] && ![variant_isset gcc45] && ![variant_isset gcc46]} { |
| 42 | default_variants +gcc47 |
43 | 43 | } |
44 | 44 | |
45 | | variant gcc45 conflicts g95 description {build with gfortran-mp-4.5} { |
| 45 | variant gcc45 conflicts g95 gcc46 gcc47 description {build with gfortran-mp-4.5} { |
46 | 46 | depends_build-append port:gcc45 |
47 | 47 | configure.compiler macports-gcc-4.5 |
48 | 48 | } |
49 | 49 | |
50 | | variant g95 conflicts gcc45 description {build with g95} { |
| 50 | variant gcc46 conflicts g95 gcc45 gcc47 description {build with gfortran-mp-4.6} { |
| 51 | depends_build-append port:gcc46 |
| 52 | configure.compiler macports-gcc-4.6 |
| 53 | } |
| 54 | |
| 55 | variant gcc47 conflicts g95 gcc45 gcc46 description {build with gfortran-mp-4.7} { |
| 56 | depends_build-append port:gcc47 |
| 57 | configure.compiler macports-gcc-4.7 |
| 58 | } |
| 59 | |
| 60 | variant g95 conflicts gcc45 gcc46 gcc47 description {build with g95} { |
51 | 61 | depends_build-append port:gcc45 |
52 | 62 | configure.fc g95 |
53 | 63 | } |
-
diff --git a/trunk/dports/devel/lua-numlua/Portfile b/trunk/dports/devel/lua-numlua/Portfile
a
|
b
|
|
4 | 4 | |
5 | 5 | name lua-numlua |
6 | 6 | version 0.2.1 |
7 | | revision 1 |
| 7 | revision 2 |
8 | 8 | license MIT |
9 | 9 | categories devel |
10 | 10 | platforms darwin |
… |
… |
|
29 | 29 | rmd160 6238e6b79cd446c47a676c4bcb3afa8fd41c42a6 |
30 | 30 | |
31 | 31 | depends_build-append port:lua \ |
32 | | port:gcc43 |
| 32 | port:gcc47 |
33 | 33 | |
34 | 34 | depends_lib-append lib:fftw:fftw-3 |
35 | 35 | |
-
diff --git a/trunk/dports/devel/pure-gen/Portfile b/trunk/dports/devel/pure-gen/Portfile
a
|
b
|
|
25 | 25 | |
26 | 26 | # pure-gen uses gcc at runtime to parse C headers but the |
27 | 27 | # -fdirectives-only option it needs is only available in gcc 4.3 and up. |
28 | | variant gcc43 conflicts gcc44 gcc45 gcc46 description {Use gcc43 for runtime C header parsing} { |
| 28 | variant gcc43 conflicts gcc44 gcc45 gcc46 gcc47 description {Use gcc43 for runtime C header parsing} { |
29 | 29 | depends_run-append path:bin/gcc-mp-4.3:gcc43 |
30 | 30 | global gcc_version |
31 | 31 | set gcc_version 4.3 |
32 | 32 | } |
33 | | variant gcc44 conflicts gcc43 gcc45 gcc46 description {Use gcc44 for runtime C header parsing} { |
| 33 | variant gcc44 conflicts gcc43 gcc45 gcc46 gcc47 description {Use gcc44 for runtime C header parsing} { |
34 | 34 | depends_run-append path:bin/gcc-mp-4.4:gcc44 |
35 | 35 | global gcc_version |
36 | 36 | set gcc_version 4.4 |
37 | 37 | } |
38 | | variant gcc45 conflicts gcc43 gcc44 gcc46 description {Use gcc45 for runtime C header parsing} { |
| 38 | variant gcc45 conflicts gcc43 gcc44 gcc46 gcc47 description {Use gcc45 for runtime C header parsing} { |
39 | 39 | depends_run-append path:bin/gcc-mp-4.5:gcc45 |
40 | 40 | global gcc_version |
41 | 41 | set gcc_version 4.5 |
42 | 42 | } |
43 | | variant gcc46 conflicts gcc43 gcc44 gcc45 description {Use gcc46 for runtime C header parsing} { |
| 43 | variant gcc46 conflicts gcc43 gcc44 gcc45 gcc47 description {Use gcc46 for runtime C header parsing} { |
44 | 44 | depends_run-append path:bin/gcc-mp-4.6:gcc46 |
45 | 45 | global gcc_version |
46 | 46 | set gcc_version 4.6 |
47 | 47 | } |
| 48 | variant gcc47 conflicts gcc43 gcc44 gcc45 gcc46 description {Use gcc47 for runtime C header parsing} { |
| 49 | depends_run-append path:bin/gcc-mp-4.6:gcc47 |
| 50 | global gcc_version |
| 51 | set gcc_version 4.7 |
| 52 | } |
48 | 53 | if {![variant_isset gcc43] && ![variant_isset gcc44] && ![variant_isset gcc45] && ![variant_isset gcc46]} { |
49 | 54 | if {${os.platform} == "darwin" && ${os.major} < 9} { |
50 | 55 | # gcc44 doesn't build for me on Tiger |
51 | 56 | default_variants +gcc43 |
52 | 57 | } else { |
53 | | default_variants +gcc45 |
| 58 | default_variants +gcc47 |
54 | 59 | } |
55 | 60 | } |
56 | 61 | |
-
diff --git a/trunk/dports/devel/swig/Portfile b/trunk/dports/devel/swig/Portfile
a
|
b
|
|
49 | 49 | chicken {port:chicken chicken} |
50 | 50 | clisp {port:clisp clisp} |
51 | 51 | csharp {port:mono csharp} |
52 | | gcj {port:gcc45 "gcj=${prefix}/bin/gcj-mp-4.5 --with-gcjh=${prefix}/bin/gcjh-mp-4.5"} |
| 52 | gcj {port:gcc47 "gcj=${prefix}/bin/gcj-mp-4.7 --with-gcjh=${prefix}/bin/gcjh-mp-4.7"} |
53 | 53 | go {port:go go} |
54 | 54 | guile {port:guile guile} |
55 | 55 | java {bin:java:kaffe java} |
… |
… |
|
89 | 89 | } |
90 | 90 | |
91 | 91 | subport swig-gcj { |
92 | | variant gcc43 conflicts gcc44 gcc45 description {build using GCJ 4.3} { |
93 | | depends_lib-delete port:gcc45 |
| 92 | variant gcc43 conflicts gcc44 gcc45 gcc47 description {build using GCJ 4.3} { |
| 93 | depends_lib-delete port:gcc47 |
94 | 94 | depends_lib-append port:gcc43 |
95 | | configure.args-delete --with-gcj=${prefix}/bin/gcj-mp-4.5 --with-gcjh=${prefix}/bin/gcjh-mp-4.5 |
| 95 | configure.args-delete --with-gcj=${prefix}/bin/gcj-mp-4.7 --with-gcjh=${prefix}/bin/gcjh-mp-4.7 |
96 | 96 | configure.args-append --with-gcj=${prefix}/bin/gcj-mp-4.3 --with-gcjh=${prefix}/bin/gcjh-mp-4.3 |
97 | 97 | } |
98 | 98 | |
99 | | variant gcc44 conflicts gcc43 gcc45 description {build using GCJ 4.4} { |
100 | | depends_lib-delete port:gcc45 |
| 99 | variant gcc44 conflicts gcc43 gcc45 gcc47 description {build using GCJ 4.4} { |
| 100 | depends_lib-delete port:gcc47 |
101 | 101 | depends_lib-append port:gcc44 |
102 | | configure.args-delete --with-gcj=${prefix}/bin/gcj-mp-4.5 --with-gcjh=${prefix}/bin/gcjh-mp-4.5 |
| 102 | configure.args-delete --with-gcj=${prefix}/bin/gcj-mp-4.7 --with-gcjh=${prefix}/bin/gcjh-mp-4.7 |
103 | 103 | configure.args-append --with-gcj=${prefix}/bin/gcj-mp-4.4 --with-gcjh=${prefix}/bin/gcjh-mp-4.4 |
104 | 104 | } |
105 | 105 | |
106 | | # just a placeholder variant until gcc46 gets added |
107 | | variant gcc45 conflicts gcc43 gcc44 description {build using GCJ 4.5} {} |
| 106 | variant gcc45 conflicts gcc43 gcc44 gcc47 description {build using GCJ 4.5} { |
| 107 | depends_lib-delete port:gcc47 |
| 108 | depends_lib-append port:gcc45 |
| 109 | configure.args-delete --with-gcj=${prefix}/bin/gcj-mp-4.7 --with-gcjh=${prefix}/bin/gcjh-mp-4.7 |
| 110 | configure.args-append --with-gcj=${prefix}/bin/gcj-mp-4.5 --with-gcjh=${prefix}/bin/gcjh-mp-4.5 |
| 111 | } |
108 | 112 | |
109 | | if {![variant_isset gcc43] && ![variant_isset gcc44]} { |
110 | | default_variants +gcc45 |
| 113 | # No +gcc46 because the gcc46 port does not build GCJ. |
| 114 | |
| 115 | # Placeholder variant for the default. |
| 116 | variant gcc47 conflicts gcc43 gcc44 gcc45 description {build using GCJ 4.7} {} |
| 117 | |
| 118 | if {![variant_isset gcc43] && ![variant_isset gcc44] && ![variant_isset gcc45]} { |
| 119 | default_variants +gcc47 |
111 | 120 | } |
112 | 121 | } |
113 | 122 | |
-
diff --git a/trunk/dports/fuse/offlinefs/Portfile b/trunk/dports/fuse/offlinefs/Portfile
a
|
b
|
|
5 | 5 | |
6 | 6 | name offlinefs |
7 | 7 | version 0.4.6 |
8 | | revision 1 |
| 8 | revision 2 |
9 | 9 | categories fuse |
10 | 10 | |
11 | 11 | platforms darwin |
… |
… |
|
32 | 32 | depends_build port:automake \ |
33 | 33 | port:autoconf \ |
34 | 34 | port:libtool \ |
35 | | port:gcc45 |
| 35 | port:gcc47 |
36 | 36 | |
37 | 37 | depends_lib port:fuse4x \ |
38 | 38 | port:dbus-devel \ |
-
diff --git a/trunk/dports/games/snoopy/Portfile b/trunk/dports/games/snoopy/Portfile
a
|
b
|
|
31 | 31 | patchfiles patch-brain.c.diff |
32 | 32 | } |
33 | 33 | |
34 | | variant gcc45 conflicts gcc43 gcc44 description {build with gcc 4.5} { |
| 34 | variant gcc47 conflicts gcc43 gcc44 gcc45 gcc46 description {build with gcc 4.7} { |
| 35 | depends_lib-append port:gcc47 |
| 36 | configure.compiler macports-gcc-4.7 |
| 37 | } |
| 38 | |
| 39 | variant gcc46 conflicts gcc43 gcc44 gcc45 gcc47 description {build with gcc 4.6} { |
| 40 | depends_lib-append port:gcc46 |
| 41 | configure.compiler macports-gcc-4.6 |
| 42 | } |
| 43 | |
| 44 | variant gcc45 conflicts gcc43 gcc44 gcc46 gcc47 description {build with gcc 4.5} { |
35 | 45 | depends_lib-append port:gcc45 |
36 | 46 | configure.compiler macports-gcc-4.5 |
37 | 47 | } |
38 | 48 | |
39 | | variant gcc44 conflicts gcc43 gcc45 description {build with gcc 4.4} { |
| 49 | variant gcc44 conflicts gcc43 gcc45 gcc46 gcc47 description {build with gcc 4.4} { |
40 | 50 | depends_lib-append port:gcc44 |
41 | 51 | configure.compiler macports-gcc-4.4 |
42 | 52 | } |
43 | 53 | |
44 | | variant gcc43 conflicts gcc44 gcc45 description {build with gcc 4.3} { |
| 54 | variant gcc43 conflicts gcc44 gcc45 gcc46 gcc47 description {build with gcc 4.3} { |
45 | 55 | depends_lib-append port:gcc43 |
46 | 56 | configure.compiler macports-gcc-4.3 |
47 | 57 | } |
48 | 58 | |
49 | | if {![variant_isset gcc43] && ![variant_isset gcc44]} { |
50 | | default_variants +gcc45 |
| 59 | if {![variant_isset gcc43] && ![variant_isset gcc44] && ![variant_isset gcc45] && ![variant_isset gcc46]} { |
| 60 | default_variants +gcc47 |
51 | 61 | } |
52 | 62 | |
53 | 63 | livecheck.type regex |
-
diff --git a/trunk/dports/graphics/pgplot/Portfile b/trunk/dports/graphics/pgplot/Portfile
a
|
b
|
|
223 | 223 | } |
224 | 224 | } |
225 | 225 | |
226 | | variant gcc43 description {build with gfortran from gcc43} conflicts gcc44 gcc45 gcc46 g95 { |
| 226 | variant gcc43 description {build with gfortran from gcc43} conflicts gcc44 gcc45 gcc46 gcc47 g95 { |
227 | 227 | depends_lib-append port:gcc43 |
228 | 228 | configure.fc ${prefix}/bin/gfortran-mp-4.3 |
229 | 229 | } |
230 | 230 | |
231 | | variant gcc44 description {build with gfortran from gcc44} conflicts gcc43 gcc45 gcc46 g95 { |
| 231 | variant gcc44 description {build with gfortran from gcc44} conflicts gcc43 gcc45 gcc46 gcc47 g95 { |
232 | 232 | depends_lib-append port:gcc44 |
233 | 233 | configure.fc ${prefix}/bin/gfortran-mp-4.4 |
234 | 234 | } |
235 | 235 | |
236 | | variant gcc45 description {build with gfortran from gcc45} conflicts gcc43 gcc44 gcc46 g95 { |
| 236 | variant gcc45 description {build with gfortran from gcc45} conflicts gcc43 gcc44 gcc46 gcc47 g95 { |
237 | 237 | depends_lib-append port:gcc45 |
238 | 238 | configure.fc ${prefix}/bin/gfortran-mp-4.5 |
239 | 239 | } |
240 | 240 | |
241 | | variant gcc46 description {build with gfortran from gcc46} conflicts gcc43 gcc44 gcc45 g95 { |
| 241 | variant gcc46 description {build with gfortran from gcc46} conflicts gcc43 gcc44 gcc45 gcc47 g95 { |
242 | 242 | depends_lib-append port:gcc46 |
243 | 243 | configure.fc ${prefix}/bin/gfortran-mp-4.6 |
244 | 244 | } |
245 | 245 | |
246 | | variant g95 description {build with g95} conflicts gcc43 gcc44 gcc45 gcc46 { |
| 246 | variant gcc47 description {build with gfortran from gcc47} conflicts gcc43 gcc44 gcc45 gcc46 g95 { |
| 247 | depends_lib-append port:gcc47 |
| 248 | configure.fc ${prefix}/bin/gfortran-mp-4.7 |
| 249 | } |
| 250 | |
| 251 | variant g95 description {build with g95} conflicts gcc43 gcc44 gcc45 gcc46 gcc47 { |
247 | 252 | depends_lib-append port:g95 |
248 | 253 | configure.fc ${prefix}/bin/g95 |
249 | 254 | } |
250 | 255 | |
251 | | if {![variant_isset g95] && ![variant_isset gcc43] && ![variant_isset gcc44] && ![variant_isset gcc46]} { |
252 | | default_variants +gcc45 |
| 256 | if {![variant_isset g95] && ![variant_isset gcc43] && ![variant_isset gcc44] && ![variant_isset gcc45] && ![variant_isset gcc46]} { |
| 257 | default_variants +gcc47 |
253 | 258 | } |
254 | 259 | |
255 | 260 | variant docs description {Create and install docs} { |
-
diff --git a/trunk/dports/lang/adaptor/Portfile b/trunk/dports/lang/adaptor/Portfile
a
|
b
|
|
60 | 60 | |
61 | 61 | destroot.destdir PREFIX=${destroot}${prefix}/lib/${name} |
62 | 62 | |
63 | | variant gcc43 conflicts g95 gcc44 gcc45 description {build with gfortran 4.3} { |
| 63 | variant gcc43 conflicts g95 gcc44 gcc45 gcc46 gcc47 description {build with gfortran 4.3} { |
64 | 64 | depends_lib-append port:gcc43 |
65 | 65 | configure.f77 ${prefix}/bin/gfortran-mp-4.3 |
66 | 66 | configure.f90 ${prefix}/bin/gfortran-mp-4.3 |
67 | 67 | } |
68 | 68 | |
69 | | variant gcc44 conflicts g95 gcc43 gcc45 description {build with gfortran 4.4} { |
| 69 | variant gcc44 conflicts g95 gcc43 gcc45 gcc46 gcc47 description {build with gfortran 4.4} { |
70 | 70 | depends_lib-append port:gcc44 |
71 | 71 | configure.f77 ${prefix}/bin/gfortran-mp-4.4 |
72 | 72 | configure.f90 ${prefix}/bin/gfortran-mp-4.4 |
73 | 73 | } |
74 | 74 | |
75 | | variant gcc45 conflicts g95 gcc43 gcc44 description {build with gfortran 4.5} { |
| 75 | variant gcc45 conflicts g95 gcc43 gcc44 gcc46 gcc47 description {build with gfortran 4.5} { |
76 | 76 | depends_lib-append port:gcc45 |
77 | 77 | configure.f77 ${prefix}/bin/gfortran-mp-4.5 |
78 | 78 | configure.f90 ${prefix}/bin/gfortran-mp-4.5 |
79 | 79 | } |
80 | 80 | |
81 | | variant g95 conflicts gcc43 gcc44 gcc45 description {build with g95} { |
| 81 | variant gcc46 conflicts g95 gcc43 gcc44 gcc45 gcc47 description {build with gfortran 4.6} { |
| 82 | depends_lib-append port:gcc46 |
| 83 | configure.f77 ${prefix}/bin/gfortran-mp-4.6 |
| 84 | configure.f90 ${prefix}/bin/gfortran-mp-4.6 |
| 85 | } |
| 86 | |
| 87 | variant gcc47 conflicts g95 gcc43 gcc44 gcc45 gcc46 description {build with gfortran 4.7} { |
| 88 | depends_lib-append port:gcc47 |
| 89 | configure.f77 ${prefix}/bin/gfortran-mp-4.7 |
| 90 | configure.f90 ${prefix}/bin/gfortran-mp-4.7 |
| 91 | } |
| 92 | |
| 93 | variant g95 conflicts gcc43 gcc44 gcc45 gcc46 gcc47 description {build with g95} { |
82 | 94 | depends_lib-append port:g95 |
83 | 95 | configure.f77 ${prefix}/bin/g95 |
84 | 96 | configure.f90 ${prefix}/bin/g95 |
… |
… |
|
87 | 99 | |
88 | 100 | } |
89 | 101 | |
90 | | if {![variant_isset gcc43] && ![variant_isset gcc44] && ![variant_isset g95]} { |
91 | | default_variants +gcc45 |
| 102 | if {![variant_isset gcc43] && ![variant_isset gcc44] && ![variant_isset gcc45] && ![variant_isset gcc46] && ![variant_isset g95]} { |
| 103 | default_variants +gcc47 |
92 | 104 | } |
-
diff --git a/trunk/dports/lang/ftidy/Portfile b/trunk/dports/lang/ftidy/Portfile
a
|
b
|
|
31 | 31 | |
32 | 32 | patchfiles tidy.for.patch |
33 | 33 | |
34 | | if { ![variant_isset gcc43] && ![variant_isset gcc44] } { |
35 | | default_variants +gcc45 |
| 34 | if { ![variant_isset gcc43] && ![variant_isset gcc44] && ![variant_isset gcc45] && ![variant_isset gcc46] } { |
| 35 | default_variants +gcc47 |
36 | 36 | } |
37 | 37 | |
38 | | variant gcc43 conflicts gcc44 gcc45 description {Build using gcc43} { |
| 38 | variant gcc43 conflicts gcc44 gcc45 gcc46 gcc47 description {Build using gcc43} { |
39 | 39 | depends_build port:gcc43 |
40 | 40 | configure.compiler macports-gcc-4.3 |
41 | 41 | } |
42 | 42 | |
43 | | variant gcc44 conflicts gcc43 gcc45 description {Build using gcc44} { |
| 43 | variant gcc44 conflicts gcc43 gcc45 gcc46 gcc47 description {Build using gcc44} { |
44 | 44 | depends_build port:gcc44 |
45 | 45 | configure.compiler macports-gcc-4.4 |
46 | 46 | } |
47 | 47 | |
48 | | variant gcc45 conflicts gcc43 gcc44 description {Build using gcc45} { |
| 48 | variant gcc45 conflicts gcc43 gcc44 gcc46 gcc47 description {Build using gcc45} { |
49 | 49 | depends_build port:gcc45 |
50 | 50 | configure.compiler macports-gcc-4.5 |
51 | 51 | } |
52 | 52 | |
| 53 | variant gcc46 conflicts gcc43 gcc44 gcc45 gcc47 description {Build using gcc46} { |
| 54 | depends_build port:gcc46 |
| 55 | configure.compiler macports-gcc-4.6 |
| 56 | } |
| 57 | |
| 58 | variant gcc47 conflicts gcc43 gcc44 gcc45 gcc46 description {Build using gcc47} { |
| 59 | depends_build port:gcc47 |
| 60 | configure.compiler macports-gcc-4.7 |
| 61 | } |
| 62 | |
53 | 63 | build.pre_args ${configure.fflags} ${configure.f77_archflags} |
54 | 64 | pre-build { |
55 | 65 | build.cmd ${configure.f77} |
-
diff --git a/trunk/dports/lang/omnixmp/Portfile b/trunk/dports/lang/omnixmp/Portfile
a
|
b
|
|
45 | 45 | ln -s ${prefix}/lib/${name}/bin/xmpcc ${destroot}${prefix}/bin |
46 | 46 | } |
47 | 47 | |
48 | | if {![variant_isset gcc44] && ![variant_isset gcc46] && ![variant_isset gcc47]} { |
49 | | default_variants +gcc45 |
| 48 | if {![variant_isset gcc44] && ![variant_isset gcc45] && ![variant_isset gcc46]} { |
| 49 | default_variants +gcc47 |
50 | 50 | } |
51 | 51 | |
52 | 52 | if {![variant_isset mpich]} { |
-
diff --git a/trunk/dports/math/R/Portfile b/trunk/dports/math/R/Portfile
a
|
b
|
|
103 | 103 | |
104 | 104 | if {![variant_isset gcc42] && ![variant_isset gcc43] && ![variant_isset gcc44] && |
105 | 105 | ![variant_isset gcc45] && ![variant_isset gcc46] && ![variant_isset gcc47]} { |
106 | | default_variants-append +gcc45 |
| 106 | default_variants-append +gcc47 |
107 | 107 | } |
108 | 108 | |
109 | 109 | post-patch { |
-
diff --git a/trunk/dports/math/arpack/Portfile b/trunk/dports/math/arpack/Portfile
a
|
b
|
|
91 | 91 | configure.env-append F77=${prefix}/bin/g95 |
92 | 92 | } |
93 | 93 | |
94 | | if { ![variant_isset gcc43] && ![variant_isset gcc44] && ![variant_isset gcc46] && ![variant_isset gcc47] && ![variant_isset g95] } { |
95 | | default_variants +gcc45 |
| 94 | if { ![variant_isset gcc43] && ![variant_isset gcc44] && ![variant_isset gcc45] && ![variant_isset gcc46] && ![variant_isset g95] } { |
| 95 | default_variants +gcc47 |
96 | 96 | } |
97 | 97 | |
98 | 98 | # warning: this is ignored if atlas is installed |
-
diff --git a/trunk/dports/math/atlas/Portfile b/trunk/dports/math/atlas/Portfile
a
|
b
|
|
125 | 125 | configure.cc ${prefix}/bin/clang-mp-3.2 |
126 | 126 | } else { |
127 | 127 | |
128 | | # Defaults to gcc45 |
129 | | set gccversion 4.5 |
130 | | default_variants +gcc45 |
| 128 | # Defaults to gcc47 |
| 129 | set gccversion 4.7 |
| 130 | default_variants +gcc47 |
131 | 131 | } |
132 | 132 | } else { |
133 | 133 | |
… |
… |
|
159 | 159 | |
160 | 160 | } else { |
161 | 161 | |
162 | | # Defaults to gcc45 |
163 | | set gccversion 4.5 |
164 | | default_variants +gcc45 |
| 162 | # Defaults to gcc47 |
| 163 | set gccversion 4.7 |
| 164 | default_variants +gcc47 |
165 | 165 | } |
166 | 166 | } |
167 | 167 | |
-
diff --git a/trunk/dports/math/dotwrp/Portfile b/trunk/dports/math/dotwrp/Portfile
a
|
b
|
|
20 | 20 | |
21 | 21 | use_configure no |
22 | 22 | |
23 | | if { ![variant_isset g95] && ![variant_isset gcc44] && ![variant_isset gcc46] && ![variant_isset gcc47]} { |
24 | | default_variants +gcc45 |
| 23 | if { ![variant_isset g95] && ![variant_isset gcc44] && ![variant_isset gcc45] && ![variant_isset gcc46]} { |
| 24 | default_variants +gcc47 |
25 | 25 | } |
26 | 26 | |
27 | 27 | if {[variant_isset g95]} { |
… |
… |
|
63 | 63 | depends_build port:gcc46 |
64 | 64 | } |
65 | 65 | |
66 | | variant gcc47 conflicts g95 gcc44 gcc45 gcc46 description {compile with gfortran-mp-4.6} { |
| 66 | variant gcc47 conflicts g95 gcc44 gcc45 gcc46 description {compile with gfortran-mp-4.7} { |
67 | 67 | depends_build port:gcc47 |
68 | 68 | } |
-
diff --git a/trunk/dports/math/fftw/Portfile b/trunk/dports/math/fftw/Portfile
a
|
b
|
|
36 | 36 | |
37 | 37 | variant fortran requires g95 description {obsolete synonym for g95} {} |
38 | 38 | |
39 | | variant g95 conflicts gcc43 gcc44 gcc45 description {include fortran-callable wrappers built with g95} { |
| 39 | variant g95 conflicts gcc43 gcc44 gcc45 gcc46 gcc47 description {include fortran-callable wrappers built with g95} { |
40 | 40 | depends_lib-append port:g95 |
41 | 41 | configure.f77 ${prefix}/bin/g95 |
42 | 42 | } |
43 | 43 | |
44 | | variant gcc43 conflicts g95 gcc44 gcc45 description {include fortran-callable wrappers built with gcc 4.3} { |
| 44 | variant gcc43 conflicts g95 gcc44 gcc45 gcc46 gcc47 description {include fortran-callable wrappers built with gcc 4.3} { |
45 | 45 | depends_lib-append port:gcc43 |
46 | 46 | configure.compiler macports-gcc-4.3 |
47 | 47 | } |
48 | 48 | |
49 | | variant gcc44 conflicts g95 gcc43 gcc45 description {include fortran-callable wrappers built with gcc 4.4} { |
| 49 | variant gcc44 conflicts g95 gcc43 gcc45 gcc46 gcc47 description {include fortran-callable wrappers built with gcc 4.4} { |
50 | 50 | depends_lib-append port:gcc44 |
51 | 51 | configure.compiler macports-gcc-4.4 |
52 | 52 | } |
53 | 53 | |
54 | | variant gcc45 conflicts g95 gcc43 gcc44 description {include fortran-callable wrappers built with gcc 4.5} { |
| 54 | variant gcc45 conflicts g95 gcc43 gcc44 gcc46 gcc47 description {include fortran-callable wrappers built with gcc 4.5} { |
55 | 55 | depends_lib-append port:gcc45 |
56 | 56 | configure.compiler macports-gcc-4.5 |
57 | 57 | } |
58 | 58 | |
59 | | if {[variant_isset g95] || [variant_isset gcc43] || [variant_isset gcc44] || [variant_isset gcc45]} { |
| 59 | variant gcc46 conflicts g95 gcc43 gcc44 gcc45 gcc47 description {include fortran-callable wrappers built with gcc 4.6} { |
| 60 | depends_lib-append port:gcc46 |
| 61 | configure.compiler macports-gcc-4.6 |
| 62 | } |
| 63 | |
| 64 | variant gcc47 conflicts g95 gcc43 gcc44 gcc45 gcc46 description {include fortran-callable wrappers built with gcc 4.7} { |
| 65 | depends_lib-append port:gcc47 |
| 66 | configure.compiler macports-gcc-4.7 |
| 67 | } |
| 68 | |
| 69 | if {[variant_isset g95] || [variant_isset gcc43] || [variant_isset gcc44] || [variant_isset gcc45] || [variant_isset gcc46] || [variant_isset gcc47]} { |
60 | 70 | configure.args-delete --disable-fortran |
61 | 71 | configure.args-append --enable-fortran |
62 | 72 | if {![variant_isset g95]} { |
-
diff --git a/trunk/dports/math/fftw-single/Portfile b/trunk/dports/math/fftw-single/Portfile
a
|
b
|
|
42 | 42 | --infodir=${prefix}/share/info \ |
43 | 43 | --enable-shared |
44 | 44 | |
45 | | variant g95 conflicts gcc43 gcc44 gcc45 description {include fortran-callable wrappers built with g95} { |
| 45 | variant g95 conflicts gcc43 gcc44 gcc45 gcc46 gcc47 description {include fortran-callable wrappers built with g95} { |
46 | 46 | depends_lib-append port:g95 |
47 | 47 | configure.f77 ${prefix}/bin/g95 |
48 | 48 | } |
49 | 49 | |
50 | | variant gcc43 conflicts g95 gcc44 gcc45 description {include fortran-callable wrappers built with gcc 4.3} { |
| 50 | variant gcc43 conflicts g95 gcc44 gcc45 gcc46 gcc47 description {include fortran-callable wrappers built with gcc 4.3} { |
51 | 51 | depends_lib-append port:gcc43 |
52 | 52 | configure.compiler macports-gcc-4.3 |
53 | 53 | } |
54 | 54 | |
55 | | variant gcc44 conflicts g95 gcc43 gcc45 description {include fortran-callable wrappers built with gcc 4.4} { |
| 55 | variant gcc44 conflicts g95 gcc43 gcc45 gcc46 gcc47 description {include fortran-callable wrappers built with gcc 4.4} { |
56 | 56 | depends_lib-append port:gcc44 |
57 | 57 | configure.compiler macports-gcc-4.4 |
58 | 58 | } |
59 | 59 | |
60 | | variant gcc45 conflicts g95 gcc43 gcc44 description {include fortran-callable wrappers built with gcc 4.5} { |
| 60 | variant gcc45 conflicts g95 gcc43 gcc44 gcc46 gcc47 description {include fortran-callable wrappers built with gcc 4.5} { |
61 | 61 | depends_lib-append port:gcc45 |
62 | 62 | configure.compiler macports-gcc-4.5 |
63 | 63 | } |
64 | 64 | |
65 | | if {[variant_isset g95] || [variant_isset gcc43] || [variant_isset gcc44] || [variant_isset gcc45]} { |
| 65 | variant gcc46 conflicts g95 gcc43 gcc44 gcc45 gcc47 description {include fortran-callable wrappers built with gcc 4.6} { |
| 66 | depends_lib-append port:gcc46 |
| 67 | configure.compiler macports-gcc-4.6 |
| 68 | } |
| 69 | |
| 70 | variant gcc47 conflicts g95 gcc43 gcc44 gcc45 gcc46 description {include fortran-callable wrappers built with gcc 4.7} { |
| 71 | depends_lib-append port:gcc47 |
| 72 | configure.compiler macports-gcc-4.7 |
| 73 | } |
| 74 | |
| 75 | if {[variant_isset g95] || [variant_isset gcc43] || [variant_isset gcc44] || [variant_isset gcc45] || [variant_isset gcc46] || [variant_isset gcc47]} { |
66 | 76 | configure.args-delete --disable-fortran |
67 | 77 | configure.args-append --enable-fortran |
68 | 78 | if {![variant_isset g95]} { |
-
diff --git a/trunk/dports/math/octave/Portfile b/trunk/dports/math/octave/Portfile
a
|
b
|
|
109 | 109 | } |
110 | 110 | } |
111 | 111 | |
112 | | variant gcc43 description {build with the macports gcc43 toolchain} conflicts gcc44 gcc45 g95 { |
| 112 | variant gcc43 description {build with the macports gcc43 toolchain} conflicts gcc44 gcc45 gcc46 gcc47 g95 { |
113 | 113 | depends_build-append port:gcc43 |
114 | 114 | configure.compiler macports-gcc-4.3 |
115 | 115 | } |
116 | 116 | |
117 | | variant gcc44 description {build with the macports gcc44 toolchain} conflicts gcc43 gcc45 g95 { |
| 117 | variant gcc44 description {build with the macports gcc44 toolchain} conflicts gcc43 gcc45 gcc46 gcc47 g95 { |
118 | 118 | depends_build-append port:gcc44 |
119 | 119 | configure.compiler macports-gcc-4.4 |
120 | 120 | } |
121 | 121 | |
122 | | variant gcc45 description {build with the macports gcc45 toolchain} conflicts gcc43 gcc44 g95 { |
| 122 | variant gcc45 description {build with the macports gcc45 toolchain} conflicts gcc43 gcc44 gcc46 gcc47 g95 { |
123 | 123 | depends_build-append port:gcc45 |
124 | 124 | configure.compiler macports-gcc-4.5 |
125 | 125 | } |
126 | 126 | |
127 | | variant g95 description {build with g95} requires accelerate conflicts atlas gcc43 gcc44 gcc45 { |
| 127 | variant gcc46 description {build with the macports gcc46 toolchain} conflicts gcc43 gcc44 gcc45 gcc47 g95 { |
| 128 | depends_build-append port:gcc46 |
| 129 | configure.compiler macports-gcc-4.6 |
| 130 | } |
| 131 | |
| 132 | variant gcc47 description {build with the macports gcc47 toolchain} conflicts gcc43 gcc44 gcc45 gcc46 g95 { |
| 133 | depends_build-append port:gcc47 |
| 134 | configure.compiler macports-gcc-4.7 |
| 135 | } |
| 136 | |
| 137 | variant g95 description {build with g95} requires accelerate conflicts atlas gcc43 gcc44 gcc45 gcc46 gcc47 { |
128 | 138 | depends_build-append port:g95 |
129 | 139 | configure.f77 "${prefix}/bin/g95" |
130 | 140 | } |
131 | 141 | |
132 | | if { ![variant_isset gcc43] && ![variant_isset gcc44] && ![variant_isset g95] } { |
133 | | default_variants +gcc45 |
| 142 | if { ![variant_isset gcc43] && ![variant_isset gcc44] && ![variant_isset gcc45] && ![variant_isset gcc46] && ![variant_isset g95] } { |
| 143 | default_variants +gcc47 |
134 | 144 | } |
135 | | if {![variant_isset gcc43] && ![variant_isset gcc44] && ![variant_isset gcc45] && ![variant_isset g95]} { |
| 145 | if {![variant_isset gcc43] && ![variant_isset gcc44] && ![variant_isset gcc45] && ![variant_isset gcc46] && ![variant_isset gcc47] && ![variant_isset g95]} { |
136 | 146 | pre-fetch { |
137 | 147 | return -code error "You must use one of the compiler variants." |
138 | 148 | } |
-
diff --git a/trunk/dports/math/octave-devel/Portfile b/trunk/dports/math/octave-devel/Portfile
a
|
b
|
|
148 | 148 | # check for GCC / G95 variants. The default here must match the |
149 | 149 | # default found in the 'atlas' port (but, this is not checked for). |
150 | 150 | |
151 | | # check for setting the default variant (gcc44) |
| 151 | # check for setting the default variant (gcc47) |
152 | 152 | if { ![variant_isset gcc43] && ![variant_isset gcc44] && \ |
153 | | ![variant_isset gcc46] && ![variant_isset gcc47] && ![variant_isset g95] } { |
154 | | default_variants +gcc45 |
| 153 | ![variant_isset gcc45] && ![variant_isset gcc46] && ![variant_isset g95] } { |
| 154 | default_variants +gcc47 |
155 | 155 | } |
156 | 156 | |
157 | | # check if the user disabled just the default variant: -gcc44 |
| 157 | # check if the user disabled just the default variant: -gcc47 |
158 | 158 | if { ![variant_isset gcc43] && ![variant_isset gcc44] && \ |
159 | 159 | ![variant_isset gcc45] && ![variant_isset gcc46] && \ |
160 | 160 | ![variant_isset gcc47] && ![variant_isset g95] } { |
-
diff --git a/trunk/dports/math/qrupdate/Portfile b/trunk/dports/math/qrupdate/Portfile
a
|
b
|
|
115 | 115 | } |
116 | 116 | } |
117 | 117 | |
118 | | if {![variant_isset gcc46] && ![variant_isset gcc47] \ |
| 118 | if {![variant_isset gcc45] && ![variant_isset gcc46] \ |
119 | 119 | && ![variant_isset g95]} { |
120 | | if {![variant_isset universal]} { |
121 | | default_variants +gcc45 |
122 | | } else { |
123 | | default_variants +gcc46 |
124 | | } |
| 120 | default_variants +gcc47 |
125 | 121 | } |
126 | 122 | |
127 | 123 | |
-
diff --git a/trunk/dports/math/shogun/Portfile b/trunk/dports/math/shogun/Portfile
a
|
b
|
|
143 | 143 | # configure.args-delete --disable-doxygen |
144 | 144 | # } |
145 | 145 | |
146 | | variant gcc43 conflicts gcc44 gcc45 description {build with gcc 4.3} {} |
147 | | variant gcc44 conflicts gcc43 gcc45 description {build with gcc 4.4} {} |
148 | | variant gcc45 conflicts gcc43 gcc44 description {build with gcc 4.5} {} |
| 146 | variant gcc43 conflicts gcc44 gcc45 gcc46 gcc47 description {build with gcc 4.3} {} |
| 147 | variant gcc44 conflicts gcc43 gcc45 gcc46 gcc47 description {build with gcc 4.4} {} |
| 148 | variant gcc45 conflicts gcc43 gcc44 gcc46 gcc47 description {build with gcc 4.5} {} |
| 149 | variant gcc46 conflicts gcc43 gcc44 gcc45 gcc47 description {build with gcc 4.6} {} |
| 150 | variant gcc47 conflicts gcc43 gcc44 gcc45 gcc46 description {build with gcc 4.7} {} |
149 | 151 | |
150 | 152 | if {[variant_isset gcc43]} { |
151 | 153 | set gccversion 4.3 |
152 | 154 | } elseif {[variant_isset gcc44]} { |
153 | 155 | set gccversion 4.4 |
| 156 | } elseif {[variant_isset gcc45]} { |
| 157 | set gccversion 4.5 |
| 158 | } elseif {[variant_isset gcc46]} { |
| 159 | set gccversion 4.6 |
154 | 160 | } else { |
155 | | default_variants +gcc45 |
156 | | set gccversion 4.5 |
| 161 | default_variants +gcc47 |
| 162 | set gccversion 4.7 |
157 | 163 | } |
158 | 164 | |
159 | 165 | set gccnumber [join [split ${gccversion} .] ""] |
-
diff --git a/trunk/dports/net/lam/Portfile b/trunk/dports/net/lam/Portfile
a
|
b
|
|
35 | 35 | |
36 | 36 | destroot.args docdir=${prefix}/share/doc/lam |
37 | 37 | |
38 | | variant gcc43 description {enable Fortran support with GCC 4.3} conflicts gcc44 gcc45 g95 { |
| 38 | variant gcc43 description {enable Fortran support with GCC 4.3} conflicts gcc44 gcc45 gcc46 gcc47 g95 { |
39 | 39 | depends_lib port:gcc43 |
40 | 40 | configure.args-delete --without-fc |
41 | 41 | configure.args-append --with-fc=${prefix}/bin/gfortran-mp-4.3 |
42 | 42 | } |
43 | 43 | |
44 | | variant gcc44 description {enable Fortran support with GCC 4.4} conflicts gcc43 gcc45 g95 { |
| 44 | variant gcc44 description {enable Fortran support with GCC 4.4} conflicts gcc43 gcc45 gcc46 gcc47 g95 { |
45 | 45 | depends_lib port:gcc44 |
46 | 46 | configure.args-delete --without-fc |
47 | 47 | configure.args-append --with-fc=${prefix}/bin/gfortran-mp-4.4 |
48 | 48 | } |
49 | 49 | |
50 | | variant gcc45 description {enable Fortran support with GCC 4.5} conflicts gcc43 gcc44 g95 { |
| 50 | variant gcc45 description {enable Fortran support with GCC 4.5} conflicts gcc43 gcc44 gcc46 gcc47 g95 { |
51 | 51 | depends_lib port:gcc45 |
52 | 52 | configure.args-delete --without-fc |
53 | 53 | configure.args-append --with-fc=${prefix}/bin/gfortran-mp-4.5 |
54 | 54 | } |
55 | 55 | |
56 | | variant g95 description {enable Fortran support with G95} conflicts gcc43 gcc44 gcc45 { |
| 56 | variant gcc46 description {enable Fortran support with GCC 4.6} conflicts gcc43 gcc44 gcc45 gcc47 g95 { |
| 57 | depends_lib port:gcc46 |
| 58 | configure.args-delete --without-fc |
| 59 | configure.args-append --with-fc=${prefix}/bin/gfortran-mp-4.6 |
| 60 | } |
| 61 | |
| 62 | variant gcc47 description {enable Fortran support with GCC 4.7} conflicts gcc43 gcc44 gcc45 gcc46 g95 { |
| 63 | depends_lib port:gcc47 |
| 64 | configure.args-delete --without-fc |
| 65 | configure.args-append --with-fc=${prefix}/bin/gfortran-mp-4.7 |
| 66 | } |
| 67 | |
| 68 | variant g95 description {enable Fortran support with G95} conflicts gcc43 gcc44 gcc45 gcc46 gcc47 { |
57 | 69 | depends_lib port:g95 |
58 | 70 | configure.args-delete --without-fc |
59 | 71 | configure.args-append --with-fc=${prefix}/bin/g95 |
-
diff --git a/trunk/dports/perl/p5-extutils-f77/Portfile b/trunk/dports/perl/p5-extutils-f77/Portfile
a
|
b
|
|
5 | 5 | |
6 | 6 | perl5.branches 5.8 5.10 5.12 5.14 5.16 |
7 | 7 | perl5.setup ExtUtils-F77 1.16 |
8 | | revision 3 |
| 8 | revision 4 |
9 | 9 | license {Artistic-1 GPL} |
10 | 10 | maintainers nomaintainer |
11 | 11 | description Helper for linking C with Fortran subroutines |
… |
… |
|
22 | 22 | if {${perl5.major} != ""} { |
23 | 23 | # Note, patch-F77.pm has some bits specific to gcc43, so if this dependency |
24 | 24 | # is updated, update the patch as well |
25 | | depends_lib-append port:gcc43 |
| 25 | depends_lib-append port:gcc47 |
26 | 26 | |
27 | 27 | supported_archs noarch |
28 | 28 | |
29 | 29 | platform darwin { |
30 | | patchfiles-append patch-F77.pm |
| 30 | patchfiles-append patch-F77.pm.diff |
31 | 31 | post-patch { |
32 | 32 | reinplace "s|@@PREFIX@@|${prefix}|g" ${worksrcpath}/F77.pm |
33 | 33 | } |
-
diff --git a/trunk/dports/perl/p5-extutils-f77/files/patch-F77.pm b/trunk/dports/perl/p5-extutils-f77/files/patch-F77.pm
deleted file mode 10644
+
|
-
|
|
1 | | --- F77.pm.orig 2007-04-01 22:40:23.000000000 -0600 |
2 | | +++ F77.pm 2009-03-05 15:32:52.000000000 -0700 |
3 | | @@ -341,10 +341,10 @@ |
4 | | |
5 | | $F77config{Darwin}{GFortran}{Trail_} = 1; |
6 | | $F77config{Darwin}{GFortran}{Cflags} = ' '; # <---need this space! |
7 | | -$F77config{Darwin}{GFortran}{Link} = '-L/usr/local/lib -lgfortran'; |
8 | | -$F77config{Darwin}{GFortran}{Compiler} = 'gfortran'; |
9 | | +$F77config{Darwin}{GFortran}{Link} = '-L@@PREFIX@@/lib/gcc43 -lgfortran'; |
10 | | +$F77config{Darwin}{GFortran}{Compiler} = 'gfortran-mp-4.3'; |
11 | | |
12 | | -$F77config{Darwin}{DEFAULT} = 'G77'; |
13 | | +$F77config{Darwin}{DEFAULT} = 'GFortran'; |
14 | | |
15 | | ############ End of database is here ############ |
16 | | |
-
diff --git a/trunk/dports/perl/p5-extutils-f77/files/patch-F77.pm b/trunk/dports/perl/p5-extutils-f77/files/patch-F77.pm.diff
copy from trunk/dports/perl/p5-extutils-f77/files/patch-F77.pm
copy to trunk/dports/perl/p5-extutils-f77/files/patch-F77.pm.diff
a
|
b
|
|
1 | | --- F77.pm.orig 2007-04-01 22:40:23.000000000 -0600 |
2 | | +++ F77.pm 2009-03-05 15:32:52.000000000 -0700 |
| 1 | --- F77.pm.orig 2007-04-02 00:40:23.000000000 -0400 |
| 2 | +++ F77.pm 2013-02-28 02:20:42.000000000 -0500 |
3 | 3 | @@ -341,10 +341,10 @@ |
4 | 4 | |
5 | 5 | $F77config{Darwin}{GFortran}{Trail_} = 1; |
6 | 6 | $F77config{Darwin}{GFortran}{Cflags} = ' '; # <---need this space! |
7 | 7 | -$F77config{Darwin}{GFortran}{Link} = '-L/usr/local/lib -lgfortran'; |
8 | 8 | -$F77config{Darwin}{GFortran}{Compiler} = 'gfortran'; |
9 | | +$F77config{Darwin}{GFortran}{Link} = '-L@@PREFIX@@/lib/gcc43 -lgfortran'; |
10 | | +$F77config{Darwin}{GFortran}{Compiler} = 'gfortran-mp-4.3'; |
| 9 | +$F77config{Darwin}{GFortran}{Link} = '-L@@PREFIX@@/lib/gcc47 -lgfortran'; |
| 10 | +$F77config{Darwin}{GFortran}{Compiler} = 'gfortran-mp-4.7'; |
11 | 11 | |
12 | 12 | -$F77config{Darwin}{DEFAULT} = 'G77'; |
13 | 13 | +$F77config{Darwin}{DEFAULT} = 'GFortran'; |
-
diff --git a/trunk/dports/python/py-milk/Portfile b/trunk/dports/python/py-milk/Portfile
a
|
b
|
|
47 | 47 | } |
48 | 48 | |
49 | 49 | if {![variant_isset gcc45] && ![variant_isset gcc46] && ![variant_isset gcc47]} { |
50 | | default_variants +gcc45 |
| 50 | default_variants +gcc47 |
51 | 51 | } |
52 | 52 | |
53 | 53 | if {[variant_isset gcc45] || [variant_isset gcc46] || [variant_isset gcc47]} { |
-
diff --git a/trunk/dports/python/py-obspy/Portfile b/trunk/dports/python/py-obspy/Portfile
a
|
b
|
|
73 | 73 | } |
74 | 74 | |
75 | 75 | if {![variant_isset gcc43] && ![variant_isset gcc44] && ![variant_isset gcc45] && ![variant_isset gcc46] && ![variant_isset gcc47]} { |
76 | | default_variants +gcc45 |
| 76 | default_variants +gcc47 |
77 | 77 | } |
78 | 78 | } |
-
diff --git a/trunk/dports/python/py-scipy/Portfile b/trunk/dports/python/py-scipy/Portfile
a
|
b
|
|
126 | 126 | CXX="${prefix}/bin/g++-mp-4.7" |
127 | 127 | } |
128 | 128 | |
129 | | if { ![variant_isset gcc43] && ![variant_isset gcc44] && ![variant_isset gcc46] && ![variant_isset gcc47]} { |
130 | | default_variants +gcc45 |
| 129 | if { ![variant_isset gcc43] && ![variant_isset gcc44] && ![variant_isset gcc45] && ![variant_isset gcc46]} { |
| 130 | default_variants +gcc47 |
131 | 131 | } |
132 | 132 | |
133 | 133 | } |
-
diff --git a/trunk/dports/python/py-usadel1/Portfile b/trunk/dports/python/py-usadel1/Portfile
a
|
b
|
|
54 | 54 | configure.compiler macports-gcc-4.8 |
55 | 55 | } |
56 | 56 | |
57 | | if {![variant_isset gcc46] && ![variant_isset gcc47] && ![variant_isset gcc48]} { |
58 | | default_variants +gcc45 |
| 57 | if {![variant_isset gcc45] && ![variant_isset gcc46] && ![variant_isset gcc48]} { |
| 58 | default_variants +gcc47 |
59 | 59 | } |
60 | 60 | |
61 | 61 | build.args config_fc \ |
-
diff --git a/trunk/dports/python/py25-pymc/Portfile b/trunk/dports/python/py25-pymc/Portfile
a
|
b
|
|
32 | 32 | patchfiles-append patch-pymc-gibbsit.f.diff |
33 | 33 | depends_lib-append port:py25-numpy |
34 | 34 | |
35 | | variant gcc43 description {create Fortran wrappers using gcc43} conflicts gcc44 gcc45 g95 { |
| 35 | variant gcc43 description {create Fortran wrappers using gcc43} conflicts gcc44 gcc45 gcc46 gcc47 g95 { |
36 | 36 | depends_lib-append port:gcc43 |
37 | 37 | set fc ${prefix}/bin/gfortran-mp-4.3 |
38 | 38 | build.env-append F77=${fc} F90=${fc} |
39 | 39 | } |
40 | 40 | |
41 | | variant gcc44 description {create Fortran wrappers using gcc44} conflicts gcc43 gcc45 g95 { |
| 41 | variant gcc44 description {create Fortran wrappers using gcc44} conflicts gcc43 gcc45 gcc46 gcc47 g95 { |
42 | 42 | depends_lib-append port:gcc44 |
43 | 43 | set fc ${prefix}/bin/gfortran-mp-4.4 |
44 | 44 | build.env-append F77=${fc} F90=${fc} |
45 | 45 | } |
46 | 46 | |
47 | | variant gcc45 description {create Fortran wrappers using gcc45} conflicts gcc43 gcc44 g95 { |
| 47 | variant gcc45 description {create Fortran wrappers using gcc45} conflicts gcc43 gcc44 gcc46 gcc47 g95 { |
48 | 48 | depends_lib-append port:gcc45 |
49 | 49 | set fc ${prefix}/bin/gfortran-mp-4.5 |
50 | 50 | build.env-append F77=${fc} F90=${fc} |
51 | 51 | } |
52 | 52 | |
53 | | variant g95 description {create Fortran wrappers using f95} conflicts gcc43 gcc44 gcc45 { |
| 53 | variant gcc46 description {create Fortran wrappers using gcc46} conflicts gcc43 gcc44 gcc45 gcc47 g95 { |
| 54 | depends_lib-append port:gcc46 |
| 55 | set fc ${prefix}/bin/gfortran-mp-4.6 |
| 56 | build.env-append F77=${fc} F90=${fc} |
| 57 | } |
| 58 | |
| 59 | variant gcc47 description {create Fortran wrappers using gcc47} conflicts gcc43 gcc44 gcc45 gcc46 g95 { |
| 60 | depends_lib-append port:gcc47 |
| 61 | set fc ${prefix}/bin/gfortran-mp-4.7 |
| 62 | build.env-append F77=${fc} F90=${fc} |
| 63 | } |
| 64 | |
| 65 | variant g95 description {create Fortran wrappers using f95} conflicts gcc43 gcc44 gcc45 gcc46 gcc47 { |
54 | 66 | depends_lib-append port:g95 |
55 | 67 | set fc ${prefix}/bin/g95 |
56 | 68 | build.env-append F77=${fc} F90=${fc} |
57 | 69 | } |
58 | 70 | |
59 | | if {![variant_isset gcc43] && ![variant_isset gcc44] && ![variant_isset g95]} { |
60 | | default_variants +gcc45 |
| 71 | if {![variant_isset gcc43] && ![variant_isset gcc44] && ![variant_isset gcc45] && ![variant_isset gcc46] && ![variant_isset g95]} { |
| 72 | default_variants +gcc47 |
61 | 73 | } |
62 | 74 | |
63 | 75 | livecheck.regex <a href=\"http://pymc.googlecode.com/files/pymc-(\[\\d\.\]+)${extract.suffix} |
-
diff --git a/trunk/dports/python/py25-pynifti/Portfile b/trunk/dports/python/py25-pynifti/Portfile
a
|
b
|
|
31 | 31 | reinplace "s|@@PREFIX@@|${prefix}|g" ${worksrcpath}/setup.py |
32 | 32 | } |
33 | 33 | |
34 | | variant gcc43 conflicts gcc44 gcc45 description {build with gcc 4.3} { |
| 34 | variant gcc43 conflicts gcc44 gcc45 gcc46 gcc47 description {build with gcc 4.3} { |
35 | 35 | depends_build-append port:gcc43 |
36 | 36 | configure.compiler macports-gcc-4.3 |
37 | 37 | } |
38 | 38 | |
39 | | variant gcc44 conflicts gcc43 gcc45 description {build with gcc 4.4} { |
| 39 | variant gcc44 conflicts gcc43 gcc45 gcc46 gcc47 description {build with gcc 4.4} { |
40 | 40 | depends_build-append port:gcc44 |
41 | 41 | configure.compiler macports-gcc-4.4 |
42 | 42 | } |
43 | 43 | |
44 | | variant gcc45 conflicts gcc43 gcc44 description {build with gcc 4.5} { |
| 44 | variant gcc45 conflicts gcc43 gcc44 gcc46 gcc47 description {build with gcc 4.5} { |
45 | 45 | depends_build-append port:gcc45 |
46 | 46 | configure.compiler macports-gcc-4.5 |
47 | 47 | } |
48 | 48 | |
49 | | if {![variant_isset gcc43] && ![variant_isset gcc44]} { |
50 | | default_variants +gcc45 |
| 49 | variant gcc46 conflicts gcc43 gcc44 gcc45 gcc47 description {build with gcc 4.6} { |
| 50 | depends_build-append port:gcc46 |
| 51 | configure.compiler macports-gcc-4.6 |
51 | 52 | } |
52 | 53 | |
| 54 | variant gcc47 conflicts gcc43 gcc44 gcc45 gcc46 description {build with gcc 4.7} { |
| 55 | depends_build-append port:gcc47 |
| 56 | configure.compiler macports-gcc-4.7 |
| 57 | } |
| 58 | |
| 59 | if {![variant_isset gcc43] && ![variant_isset gcc44] && ![variant_isset gcc45] && ![variant_isset gcc46]} { |
| 60 | default_variants +gcc47 |
| 61 | } |
| 62 | |
53 | 63 | livecheck.regex {pynifti_([0-9.]+).tar.gz} |
-
diff --git a/trunk/dports/python/py26-logilab-hmm/Portfile b/trunk/dports/python/py26-logilab-hmm/Portfile
a
|
b
|
|
31 | 31 | universal_variant no |
32 | 32 | python.add_archflags no |
33 | 33 | |
34 | | variant gcc43 conflicts gcc44 gcc45 description "Use gfortran-mp-4.3 as fortran compiler" { |
| 34 | variant gcc43 conflicts gcc44 gcc45 gcc46 gcc47 description "Use gfortran-mp-4.3 as fortran compiler" { |
35 | 35 | configure.compiler macports-gcc-4.3 |
36 | 36 | depends_lib-append port:gcc43 |
37 | 37 | set fc_options "config_fc --fcompiler gnu95 --f77exec ${prefix}/bin/gfortran-mp-4.3 --f90exec ${prefix}/bin/gfortran-mp-4.3" |
… |
… |
|
39 | 39 | destroot.cmd-append ${fc_options} |
40 | 40 | } |
41 | 41 | |
42 | | variant gcc44 conflicts gcc43 gcc45 description "Use gfortran-mp-4.4 as fortran compiler" { |
| 42 | variant gcc44 conflicts gcc43 gcc45 gcc46 gcc47 description "Use gfortran-mp-4.4 as fortran compiler" { |
43 | 43 | configure.compiler macports-gcc-4.4 |
44 | 44 | depends_lib-append port:gcc44 |
45 | 45 | set fc_options "config_fc --fcompiler gnu95 --f77exec ${prefix}/bin/gfortran-mp-4.4 --f90exec ${prefix}/bin/gfortran-mp-4.4" |
… |
… |
|
47 | 47 | destroot.cmd-append ${fc_options} |
48 | 48 | } |
49 | 49 | |
50 | | variant gcc45 conflicts gcc43 gcc44 description "Use gfortran-mp-4.5 as fortran compiler" { |
| 50 | variant gcc45 conflicts gcc43 gcc44 gcc46 gcc47 description "Use gfortran-mp-4.5 as fortran compiler" { |
51 | 51 | configure.compiler macports-gcc-4.5 |
52 | 52 | depends_lib-append port:gcc45 |
53 | 53 | set fc_options "config_fc --fcompiler gnu95 --f77exec ${prefix}/bin/gfortran-mp-4.5 --f90exec ${prefix}/bin/gfortran-mp-4.5" |
… |
… |
|
55 | 55 | destroot.cmd-append ${fc_options} |
56 | 56 | } |
57 | 57 | |
58 | | if { ![variant_isset gcc43] && ![variant_isset gcc44] } { |
59 | | default_variants +gcc45 |
| 58 | variant gcc46 conflicts gcc43 gcc44 gcc45 gcc47 description "Use gfortran-mp-4.6 as fortran compiler" { |
| 59 | configure.compiler macports-gcc-4.6 |
| 60 | depends_lib-append port:gcc46 |
| 61 | set fc_options "config_fc --fcompiler gnu95 --f77exec ${prefix}/bin/gfortran-mp-4.6 --f90exec ${prefix}/bin/gfortran-mp-4.6" |
| 62 | build.cmd-append ${fc_options} |
| 63 | destroot.cmd-append ${fc_options} |
60 | 64 | } |
61 | 65 | |
| 66 | variant gcc47 conflicts gcc43 gcc44 gcc45 gcc46 description "Use gfortran-mp-4.7 as fortran compiler" { |
| 67 | configure.compiler macports-gcc-4.7 |
| 68 | depends_lib-append port:gcc47 |
| 69 | set fc_options "config_fc --fcompiler gnu95 --f77exec ${prefix}/bin/gfortran-mp-4.7 --f90exec ${prefix}/bin/gfortran-mp-4.7" |
| 70 | build.cmd-append ${fc_options} |
| 71 | destroot.cmd-append ${fc_options} |
| 72 | } |
| 73 | |
| 74 | if { ![variant_isset gcc43] && ![variant_isset gcc44] && ![variant_isset gcc45] && ![variant_isset gcc46] } { |
| 75 | default_variants +gcc47 |
| 76 | } |
| 77 | |
62 | 78 | post-destroot { |
63 | 79 | xinstall -m 755 -d ${destroot}${prefix}/share/doc/${name} |
64 | 80 | xinstall -m 644 -W ${worksrcpath} README \ |
-
diff --git a/trunk/dports/python/py26-ngl/Portfile b/trunk/dports/python/py26-ngl/Portfile
a
|
b
|
|
44 | 44 | NCARG_ROOT=${prefix} |
45 | 45 | destroot.env NCARG_ROOT=${prefix} |
46 | 46 | |
47 | | if {![variant_isset g95] && ![variant_isset gcc43] && ![variant_isset gcc44] && ![variant_isset universal]} { |
48 | | default_variants +gcc45 |
| 47 | if {![variant_isset g95] && ![variant_isset gcc43] && ![variant_isset gcc44] && ![variant_isset gcc45] && ![variant_isset gcc46] && ![variant_isset universal]} { |
| 48 | default_variants +gcc47 |
49 | 49 | } |
50 | 50 | |
51 | | variant gcc43 conflicts g95 gcc44 gcc45 universal description {link to libraries build with gfortran 4.3} { |
| 51 | variant gcc43 conflicts g95 gcc44 gcc45 gcc46 gcc47 universal description {link to libraries build with gfortran 4.3} { |
52 | 52 | depends_build-append port:gcc43 |
53 | 53 | configure.compiler macports-gcc-4.3 |
54 | 54 | build.env-append F2CLIBS=gfortran \ |
… |
… |
|
56 | 56 | CC=${configure.cc} |
57 | 57 | } |
58 | 58 | |
59 | | variant gcc44 conflicts g95 gcc43 gcc45 universal description {link to libraries build with gfortran 4.4} { |
| 59 | variant gcc44 conflicts g95 gcc43 gcc45 gcc46 gcc47 universal description {link to libraries build with gfortran 4.4} { |
60 | 60 | depends_build-append port:gcc44 |
61 | 61 | configure.compiler macports-gcc-4.4 |
62 | 62 | build.env-append F2CLIBS=gfortran \ |
… |
… |
|
64 | 64 | CC=${configure.cc} |
65 | 65 | } |
66 | 66 | |
67 | | variant gcc45 conflicts g95 gcc43 gcc44 universal description {link to libraries build with gfortran 4.5} { |
| 67 | variant gcc45 conflicts g95 gcc43 gcc44 gcc46 gcc47 universal description {link to libraries build with gfortran 4.5} { |
68 | 68 | depends_build-append port:gcc45 |
69 | 69 | configure.compiler macports-gcc-4.5 |
70 | 70 | build.env-append F2CLIBS=gfortran \ |
… |
… |
|
72 | 72 | CC=${configure.cc} |
73 | 73 | } |
74 | 74 | |
75 | | variant g95 conflicts gcc43 gcc44 gcc45 universal description {link to libraries build with g95} { |
| 75 | variant gcc46 conflicts g95 gcc43 gcc44 gcc45 gcc47 universal description {link to libraries build with gfortran 4.6} { |
| 76 | depends_build-append port:gcc46 |
| 77 | configure.compiler macports-gcc-4.6 |
| 78 | build.env-append F2CLIBS=gfortran \ |
| 79 | F2CLIBS_PREFIX=${prefix}/lib/gcc46 \ |
| 80 | CC=${configure.cc} |
| 81 | } |
| 82 | |
| 83 | variant gcc47 conflicts g95 gcc43 gcc44 gcc45 gcc46 universal description {link to libraries build with gfortran 4.7} { |
| 84 | depends_build-append port:gcc47 |
| 85 | configure.compiler macports-gcc-4.7 |
| 86 | build.env-append F2CLIBS=gfortran \ |
| 87 | F2CLIBS_PREFIX=${prefix}/lib/gcc47 \ |
| 88 | CC=${configure.cc} |
| 89 | } |
| 90 | |
| 91 | variant g95 conflicts gcc43 gcc44 gcc45 gcc46 gcc47 universal description {link to libraries build with g95} { |
76 | 92 | depends_build-append port:g95 |
77 | 93 | build.env-append F2CLIBS=f95 \ |
78 | 94 | F2CLIBS_PREFIX=${prefix}/lib \ |
-
diff --git a/trunk/dports/python/py26-nio/Portfile b/trunk/dports/python/py26-nio/Portfile
a
|
b
|
|
47 | 47 | NCARG_ROOT=${prefix} |
48 | 48 | destroot.env NCARG_ROOT=${prefix} |
49 | 49 | |
50 | | if {![variant_isset g95] && ![variant_isset gcc43] && ![variant_isset gcc44] && ![variant_isset universal]} { |
51 | | default_variants +gcc45 |
| 50 | if {![variant_isset g95] && ![variant_isset gcc43] && ![variant_isset gcc44] && ![variant_isset gcc45] && ![variant_isset gcc46] && ![variant_isset universal]} { |
| 51 | default_variants +gcc47 |
52 | 52 | } |
53 | 53 | |
54 | | variant gcc43 conflicts g95 gcc44 gcc45 universal description {link to libraries build with gfortran 4.3} { |
| 54 | variant gcc43 conflicts g95 gcc44 gcc45 gcc46 gcc47 universal description {link to libraries build with gfortran 4.3} { |
55 | 55 | depends_build-append port:gcc43 |
56 | 56 | configure.compiler macports-gcc-4.3 |
57 | 57 | build.env-append F2CLIBS=gfortran \ |
… |
… |
|
59 | 59 | CC=${configure.cc} |
60 | 60 | } |
61 | 61 | |
62 | | variant gcc44 conflicts g95 gcc43 gcc45 universal description {link to libraries build with gfortran 4.4} { |
| 62 | variant gcc44 conflicts g95 gcc43 gcc45 gcc46 gcc47 universal description {link to libraries build with gfortran 4.4} { |
63 | 63 | depends_build-append port:gcc44 |
64 | 64 | configure.compiler macports-gcc-4.4 |
65 | 65 | build.env-append F2CLIBS=gfortran \ |
… |
… |
|
67 | 67 | CC=${configure.cc} |
68 | 68 | } |
69 | 69 | |
70 | | variant gcc45 conflicts g95 gcc43 gcc44 universal description {link to libraries build with gfortran 4.5} { |
| 70 | variant gcc45 conflicts g95 gcc43 gcc44 gcc46 gcc47 universal description {link to libraries build with gfortran 4.5} { |
71 | 71 | depends_build-append port:gcc45 |
72 | 72 | configure.compiler macports-gcc-4.5 |
73 | 73 | build.env-append F2CLIBS=gfortran \ |
… |
… |
|
75 | 75 | CC=${configure.cc} |
76 | 76 | } |
77 | 77 | |
78 | | variant g95 conflicts gcc43 gcc44 gcc45 universal description {link to libraries build with g95} { |
| 78 | variant gcc46 conflicts g95 gcc43 gcc44 gcc45 gcc47 universal description {link to libraries build with gfortran 4.6} { |
| 79 | depends_build-append port:gcc46 |
| 80 | configure.compiler macports-gcc-4.6 |
| 81 | build.env-append F2CLIBS=gfortran \ |
| 82 | F2CLIBS_PREFIX=${prefix}/lib/gcc46 \ |
| 83 | CC=${configure.cc} |
| 84 | } |
| 85 | |
| 86 | variant gcc47 conflicts g95 gcc43 gcc44 gcc45 gcc46 universal description {link to libraries build with gfortran 4.7} { |
| 87 | depends_build-append port:gcc47 |
| 88 | configure.compiler macports-gcc-4.7 |
| 89 | build.env-append F2CLIBS=gfortran \ |
| 90 | F2CLIBS_PREFIX=${prefix}/lib/gcc47 \ |
| 91 | CC=${configure.cc} |
| 92 | } |
| 93 | |
| 94 | variant g95 conflicts gcc43 gcc44 gcc45 gcc46 gcc47 universal description {link to libraries build with g95} { |
79 | 95 | depends_build-append port:g95 |
80 | 96 | build.env-append F2CLIBS=f95 \ |
81 | 97 | F2CLIBS_PREFIX=${prefix}/lib \ |
-
diff --git a/trunk/dports/python/py26-pymc/Portfile b/trunk/dports/python/py26-pymc/Portfile
a
|
b
|
|
33 | 33 | depends_lib-append port:py26-numpy |
34 | 34 | python.add_archflags no |
35 | 35 | |
36 | | variant gcc43 description {create Fortran wrappers using gcc43} conflicts gcc44 gcc45 g95 { |
| 36 | variant gcc43 description {create Fortran wrappers using gcc43} conflicts gcc44 gcc45 gcc46 gcc47 g95 { |
37 | 37 | depends_lib-append port:gcc43 |
38 | 38 | set fc ${prefix}/bin/gfortran-mp-4.3 |
39 | 39 | build.env-append F77=${fc} F90=${fc} |
40 | 40 | } |
41 | 41 | |
42 | | variant gcc44 description {create Fortran wrappers using gcc44} conflicts gcc43 gcc45 g95 { |
| 42 | variant gcc44 description {create Fortran wrappers using gcc44} conflicts gcc43 gcc45 gcc46 gcc47 g95 { |
43 | 43 | depends_lib-append port:gcc44 |
44 | 44 | set fc ${prefix}/bin/gfortran-mp-4.4 |
45 | 45 | build.env-append F77=${fc} F90=${fc} |
46 | 46 | } |
47 | 47 | |
48 | | variant gcc45 description {create Fortran wrappers using gcc45} conflicts gcc43 gcc44 g95 { |
| 48 | variant gcc45 description {create Fortran wrappers using gcc45} conflicts gcc43 gcc44 gcc46 gcc47 g95 { |
49 | 49 | depends_lib-append port:gcc45 |
50 | 50 | set fc ${prefix}/bin/gfortran-mp-4.5 |
51 | 51 | build.env-append F77=${fc} F90=${fc} |
52 | 52 | } |
53 | 53 | |
54 | | variant g95 description {create Fortran wrappers using f95} conflicts gcc43 gcc44 gcc45 { |
| 54 | variant gcc46 description {create Fortran wrappers using gcc46} conflicts gcc43 gcc44 gcc45 gcc47 g95 { |
| 55 | depends_lib-append port:gcc46 |
| 56 | set fc ${prefix}/bin/gfortran-mp-4.6 |
| 57 | build.env-append F77=${fc} F90=${fc} |
| 58 | } |
| 59 | |
| 60 | variant gcc47 description {create Fortran wrappers using gcc47} conflicts gcc43 gcc44 gcc45 gcc46 g95 { |
| 61 | depends_lib-append port:gcc47 |
| 62 | set fc ${prefix}/bin/gfortran-mp-4.7 |
| 63 | build.env-append F77=${fc} F90=${fc} |
| 64 | } |
| 65 | |
| 66 | variant g95 description {create Fortran wrappers using f95} conflicts gcc43 gcc44 gcc45 gcc46 gcc47 { |
55 | 67 | depends_lib-append port:g95 |
56 | 68 | set fc ${prefix}/bin/g95 |
57 | 69 | build.env-append F77=${fc} F90=${fc} |
58 | 70 | } |
59 | 71 | |
60 | | if {![variant_isset gcc43] && ![variant_isset gcc44] && ![variant_isset g95]} { |
61 | | default_variants +gcc45 |
| 72 | if {![variant_isset gcc43] && ![variant_isset gcc44] && ![variant_isset gcc45] && ![variant_isset gcc46] && ![variant_isset g95]} { |
| 73 | default_variants +gcc47 |
62 | 74 | } |
63 | 75 | |
64 | 76 | livecheck.regex <a href=\"http://pymc.googlecode.com/files/pymc-(\[\\d\.\]+)${extract.suffix} |
-
diff --git a/trunk/dports/python/py26-pymvpa/Portfile b/trunk/dports/python/py26-pymvpa/Portfile
a
|
b
|
|
65 | 65 | depends_lib-delete port:shogun |
66 | 66 | } |
67 | 67 | |
68 | | variant gcc43 conflicts gcc44 description {build with gcc 4.3} { |
| 68 | variant gcc43 conflicts gcc44 gcc45 gcc46 gcc47 description {build with gcc 4.3} { |
69 | 69 | depends_build-append port:gcc43 |
70 | 70 | } |
71 | | variant gcc44 conflicts gcc43 description {build with gcc 4.4} { |
| 71 | variant gcc44 conflicts gcc43 gcc45 gcc46 gcc47 description {build with gcc 4.4} { |
72 | 72 | depends_build-append port:gcc44 |
73 | 73 | } |
74 | | variant gcc45 conflicts gcc43 gcc44 description {build with gcc 4.5} { |
| 74 | variant gcc45 conflicts gcc43 gcc44 gcc46 gcc47 description {build with gcc 4.5} { |
75 | 75 | depends_build-append port:gcc45 |
76 | 76 | } |
| 77 | variant gcc46 conflicts gcc43 gcc44 gcc45 gcc47 description {build with gcc 4.6} { |
| 78 | depends_build-append port:gcc46 |
| 79 | } |
| 80 | variant gcc47 conflicts gcc43 gcc44 gcc45 gcc46 description {build with gcc 4.7} { |
| 81 | depends_build-append port:gcc47 |
| 82 | } |
77 | 83 | |
78 | 84 | if {[variant_isset gcc43]} { |
79 | 85 | set gccversion 4.3 |
80 | 86 | } elseif {[variant_isset gcc44]} { |
81 | 87 | set gccversion 4.4 |
| 88 | } elseif {[variant_isset gcc45]} { |
| 89 | set gccversion 4.5 |
| 90 | } elseif {[variant_isset gcc46]} { |
| 91 | set gccversion 4.6 |
82 | 92 | } else { |
83 | | default_variants +gcc45 |
84 | | set gccversion 4.5 |
| 93 | default_variants +gcc47 |
| 94 | set gccversion 4.7 |
85 | 95 | } |
86 | 96 | |
87 | 97 | set gccnumber [join [split ${gccversion} .] ""] |
-
diff --git a/trunk/dports/python/py26-pynifti/Portfile b/trunk/dports/python/py26-pynifti/Portfile
a
|
b
|
|
31 | 31 | reinplace "s|@@PREFIX@@|${prefix}|g" ${worksrcpath}/setup.py |
32 | 32 | } |
33 | 33 | |
34 | | variant gcc43 conflicts gcc44 gcc45 description {build with gcc 4.3} { |
| 34 | variant gcc43 conflicts gcc44 gcc45 gcc46 gcc47 description {build with gcc 4.3} { |
35 | 35 | depends_build-append port:gcc43 |
36 | 36 | configure.compiler macports-gcc-4.3 |
37 | 37 | } |
38 | 38 | |
39 | | variant gcc44 conflicts gcc43 gcc45 description {build with gcc 4.4} { |
| 39 | variant gcc44 conflicts gcc43 gcc45 gcc46 gcc47 description {build with gcc 4.4} { |
40 | 40 | depends_build-append port:gcc44 |
41 | 41 | configure.compiler macports-gcc-4.4 |
42 | 42 | } |
43 | 43 | |
44 | | variant gcc45 conflicts gcc43 gcc44 description {build with gcc 4.5} { |
| 44 | variant gcc45 conflicts gcc43 gcc44 gcc46 gcc47 description {build with gcc 4.5} { |
45 | 45 | depends_build-append port:gcc45 |
46 | 46 | configure.compiler macports-gcc-4.5 |
47 | 47 | } |
48 | 48 | |
49 | | if {![variant_isset gcc43] && ![variant_isset gcc44]} { |
50 | | default_variants +gcc45 |
| 49 | variant gcc46 conflicts gcc43 gcc44 gcc45 gcc47 description {build with gcc 4.6} { |
| 50 | depends_build-append port:gcc46 |
| 51 | configure.compiler macports-gcc-4.6 |
51 | 52 | } |
52 | 53 | |
| 54 | variant gcc47 conflicts gcc43 gcc44 gcc45 gcc46 description {build with gcc 4.7} { |
| 55 | depends_build-append port:gcc47 |
| 56 | configure.compiler macports-gcc-4.7 |
| 57 | } |
| 58 | |
| 59 | if {![variant_isset gcc43] && ![variant_isset gcc44] && ![variant_isset gcc45] && ![variant_isset gcc46]} { |
| 60 | default_variants +gcc47 |
| 61 | } |
| 62 | |
53 | 63 | livecheck.regex {pynifti_([0-9.]+).tar.gz} |
-
diff --git a/trunk/dports/python/py27-pymc/Portfile b/trunk/dports/python/py27-pymc/Portfile
a
|
b
|
|
33 | 33 | depends_lib-append port:py27-numpy |
34 | 34 | python.add_archflags no |
35 | 35 | |
36 | | variant gcc43 description {create Fortran wrappers using gcc43} conflicts gcc44 gcc45 g95 { |
| 36 | variant gcc43 description {create Fortran wrappers using gcc43} conflicts gcc44 gcc45 gcc46 gcc47 g95 { |
37 | 37 | depends_lib-append port:gcc43 |
38 | 38 | set fc ${prefix}/bin/gfortran-mp-4.3 |
39 | 39 | build.env-append F77=${fc} F90=${fc} |
40 | 40 | } |
41 | 41 | |
42 | | variant gcc44 description {create Fortran wrappers using gcc44} conflicts gcc43 gcc45 g95 { |
| 42 | variant gcc44 description {create Fortran wrappers using gcc44} conflicts gcc43 gcc45 gcc46 gcc47 g95 { |
43 | 43 | depends_lib-append port:gcc44 |
44 | 44 | set fc ${prefix}/bin/gfortran-mp-4.4 |
45 | 45 | build.env-append F77=${fc} F90=${fc} |
46 | 46 | } |
47 | 47 | |
48 | | variant gcc45 description {create Fortran wrappers using gcc45} conflicts gcc43 gcc44 g95 { |
| 48 | variant gcc45 description {create Fortran wrappers using gcc45} conflicts gcc43 gcc44 gcc46 gcc47 g95 { |
49 | 49 | depends_lib-append port:gcc45 |
50 | 50 | set fc ${prefix}/bin/gfortran-mp-4.5 |
51 | 51 | build.env-append F77=${fc} F90=${fc} |
52 | 52 | } |
53 | 53 | |
54 | | variant g95 description {create Fortran wrappers using f95} conflicts gcc43 gcc44 gcc45 { |
| 54 | variant gcc46 description {create Fortran wrappers using gcc46} conflicts gcc43 gcc44 gcc45 gcc47 g95 { |
| 55 | depends_lib-append port:gcc46 |
| 56 | set fc ${prefix}/bin/gfortran-mp-4.6 |
| 57 | build.env-append F77=${fc} F90=${fc} |
| 58 | } |
| 59 | |
| 60 | variant gcc47 description {create Fortran wrappers using gcc47} conflicts gcc43 gcc44 gcc45 gcc46 g95 { |
| 61 | depends_lib-append port:gcc47 |
| 62 | set fc ${prefix}/bin/gfortran-mp-4.7 |
| 63 | build.env-append F77=${fc} F90=${fc} |
| 64 | } |
| 65 | |
| 66 | variant g95 description {create Fortran wrappers using f95} conflicts gcc43 gcc44 gcc45 gcc46 gcc47 { |
55 | 67 | depends_lib-append port:g95 |
56 | 68 | set fc ${prefix}/bin/g95 |
57 | 69 | build.env-append F77=${fc} F90=${fc} |
58 | 70 | } |
59 | 71 | |
60 | | if {![variant_isset gcc43] && ![variant_isset gcc44] && ![variant_isset g95]} { |
61 | | default_variants +gcc45 |
| 72 | if {![variant_isset gcc43] && ![variant_isset gcc44] && ![variant_isset gcc45] && ![variant_isset gcc46] && ![variant_isset g95]} { |
| 73 | default_variants +gcc47 |
62 | 74 | } |
63 | 75 | |
64 | 76 | livecheck.regex <a href=\"http://pymc.googlecode.com/files/pymc-(\[\\d\.\]+)${extract.suffix} |
-
diff --git a/trunk/dports/science/apbs/Portfile b/trunk/dports/science/apbs/Portfile
a
|
b
|
|
6 | 6 | |
7 | 7 | name apbs |
8 | 8 | version 1.3.0 |
9 | | revision 1 |
| 9 | revision 2 |
10 | 10 | set branch [join [lrange [split ${version} .] 0 1] .] |
11 | 11 | categories science |
12 | 12 | maintainers bromo.med.uc.edu:howarth |
… |
… |
|
25 | 25 | checksums md5 f99a505365f07f6853979cfe2ef23365 \ |
26 | 26 | sha1 1494f36e35f2e4b1a18d4b22516fad4948c6391f |
27 | 27 | |
28 | | depends_lib port:gcc45 \ |
| 28 | depends_lib port:gcc47 \ |
29 | 29 | port:readline \ |
30 | 30 | port:py26-zsi |
31 | 31 | patchfiles apbs.diff |
… |
… |
|
36 | 36 | |
37 | 37 | build.cmd make |
38 | 38 | build.target all |
39 | | configure.env py_path=${python.bin} F77=gfortran-mp-4.5 |
| 39 | configure.env py_path=${python.bin} F77=gfortran-mp-4.7 |
40 | 40 | configure.args --enable-python --with-python=${python.bin} --with-blas="-L/System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vecLib.framework/Versions/A -lblas -Wl,-framework -Wl,vecLib -Wl,-undefined -Wl,dynamic_lookup" FFLAGS="-O3" |
41 | 41 | |
42 | 42 | post-patch { |
-
diff --git a/trunk/dports/science/apbs-mpi/Portfile b/trunk/dports/science/apbs-mpi/Portfile
a
|
b
|
|
5 | 5 | |
6 | 6 | name apbs-mpi |
7 | 7 | version 1.3.0 |
8 | | revision 1 |
| 8 | revision 2 |
9 | 9 | set branch [join [lrange [split ${version} .] 0 1] .] |
10 | 10 | categories science |
11 | 11 | maintainers bromo.med.uc.edu:howarth |
… |
… |
|
21 | 21 | distname apbs-${branch}-source |
22 | 22 | checksums md5 f99a505365f07f6853979cfe2ef23365 \ |
23 | 23 | sha1 1494f36e35f2e4b1a18d4b22516fad4948c6391f |
24 | | depends_lib port:gcc45 \ |
| 24 | depends_lib port:gcc47 \ |
25 | 25 | port:readline \ |
26 | 26 | port:openmpi |
27 | 27 | depends_run port:apbs |
-
diff --git a/trunk/dports/science/bali-phy/Portfile b/trunk/dports/science/bali-phy/Portfile
a
|
b
|
|
39 | 39 | configure.args-append --with-mpi |
40 | 40 | } |
41 | 41 | |
42 | | variant gcc43 conflicts gcc44 gcc45 description {build using macports-gcc-4.3} { |
| 42 | variant gcc43 conflicts gcc44 gcc45 gcc46 gcc47 description {build using macports-gcc-4.3} { |
43 | 43 | depends_lib-append port:gcc43 |
44 | 44 | configure.compiler macports-gcc-4.3 |
45 | 45 | } |
46 | 46 | |
47 | | variant gcc44 conflicts gcc43 gcc45 description {build using macports-gcc-4.4} { |
| 47 | variant gcc44 conflicts gcc43 gcc45 gcc46 gcc47 description {build using macports-gcc-4.4} { |
48 | 48 | depends_lib-append port:gcc44 |
49 | 49 | configure.compiler macports-gcc-4.4 |
50 | 50 | } |
51 | 51 | |
52 | | variant gcc45 conflicts gcc43 gcc44 description {build using macports-gcc-4.5} { |
| 52 | variant gcc45 conflicts gcc43 gcc44 gcc46 gcc47 description {build using macports-gcc-4.5} { |
53 | 53 | depends_lib-append port:gcc45 |
54 | 54 | configure.compiler macports-gcc-4.5 |
55 | 55 | } |
56 | 56 | |
| 57 | variant gcc46 conflicts gcc43 gcc44 gcc45 gcc47 description {build using macports-gcc-4.6} { |
| 58 | depends_lib-append port:gcc46 |
| 59 | configure.compiler macports-gcc-4.6 |
| 60 | } |
| 61 | |
| 62 | variant gcc47 conflicts gcc43 gcc44 gcc45 gcc46 description {build using macports-gcc-4.7} { |
| 63 | depends_lib-append port:gcc47 |
| 64 | configure.compiler macports-gcc-4.7 |
| 65 | } |
| 66 | |
57 | 67 | livecheck.type regex |
58 | 68 | livecheck.url ${master_sites} |
59 | 69 | livecheck.regex {BAli-Phy (\d+\.\d+\.\d+) released} |
-
diff --git a/trunk/dports/science/ccpnmr/Portfile b/trunk/dports/science/ccpnmr/Portfile
a
|
b
|
|
5 | 5 | |
6 | 6 | name ccpnmr |
7 | 7 | version 2.2.2 |
8 | | revision 1 |
| 8 | revision 2 |
9 | 9 | set branch [join [lrange [split $version .] 0 1] .] |
10 | 10 | categories science python |
11 | 11 | maintainers bromo.med.uc.edu:howarth |
… |
… |
|
23 | 23 | checksums md5 a3ede39ed484d261eb82137055dc66a1 \ |
24 | 24 | sha1 825ad7487ef6191baac0e5aa3d0ec6a6ed94a04f |
25 | 25 | worksrcdir ${name} |
26 | | depends_lib port:py27-scipy port:mesa port:freeglut port:tk port:py27-tkinter port:gcc45 |
| 26 | depends_lib port:py27-scipy port:mesa port:freeglut port:tk port:py27-tkinter port:gcc47 |
27 | 27 | patchfiles ccpnmr.patch |
28 | 28 | use_configure no |
29 | 29 | |
… |
… |
|
56 | 56 | copy ${worksrcpath}/ccpnmr${branch}/c/environment-opengl.txt ${worksrcpath}/ccpnmr${branch}/c/environment.txt |
57 | 57 | } |
58 | 58 | |
59 | | configure.compiler macports-gcc-4.5 |
| 59 | configure.compiler macports-gcc-4.7 |
60 | 60 | build.args CC=${configure.cc} ARCHFLAGS="${configure.cc_archflags}" |
61 | 61 | build.dir ${worksrcpath}/ccpnmr${branch}/c |
62 | 62 | build.target all links |
-
diff --git a/trunk/dports/science/cdf/Portfile b/trunk/dports/science/cdf/Portfile
a
|
b
|
|
102 | 102 | } |
103 | 103 | |
104 | 104 | if {![variant_isset gcc44] && ![variant_isset gcc45] && ![variant_isset gcc46] && ![variant_isset gcc47]} { |
105 | | default_variants +gcc45 |
| 105 | default_variants +gcc47 |
106 | 106 | } |
107 | 107 | |
108 | 108 | livecheck.type regex |
-
diff --git a/trunk/dports/science/ds9/Portfile b/trunk/dports/science/ds9/Portfile
a
|
b
|
|
5 | 5 | |
6 | 6 | name ds9 |
7 | 7 | version 7.1 |
| 8 | revision 1 |
8 | 9 | categories science |
9 | 10 | platforms darwin |
10 | 11 | maintainers aronnax |
… |
… |
|
23 | 24 | checksums sha1 417543d6fd67d4507f4bbe098e22456e11c9373f \ |
24 | 25 | rmd160 6b65af16dfb6320c4d3629b83acda1f2a79dca49 |
25 | 26 | |
26 | | depends_build-append port:gcc45 |
| 27 | depends_build-append port:gcc47 |
27 | 28 | depends_lib-append port:xorg-libX11 \ |
28 | 29 | port:xorg-libXext \ |
29 | 30 | port:Xft2 \ |
… |
… |
|
76 | 77 | # The 'ast' component apparently checks for a working Fortran compiler, |
77 | 78 | # even though there appears to be no Fortran code. Is it possible to remove this |
78 | 79 | # dependency? |
79 | | configure.fc ${prefix}/bin/gfortran-mp-4.5 |
| 80 | configure.fc ${prefix}/bin/gfortran-mp-4.7 |
80 | 81 | |
81 | 82 | # The 'configure' stage for ds9 consists of copying or symbolically linking a |
82 | 83 | # platform-specific file to 'make.include'. |
-
diff --git a/trunk/dports/science/emos/Portfile b/trunk/dports/science/emos/Portfile
a
|
b
|
|
95 | 95 | } |
96 | 96 | |
97 | 97 | use_parallel_build no |
98 | | if {![variant_isset gcc43] && ![variant_isset gcc44] && ![variant_isset gcc46] && ![variant_isset gcc47] && ![variant_isset g95]} { |
99 | | default_variants +gcc45 |
| 98 | if {![variant_isset gcc43] && ![variant_isset gcc44] && ![variant_isset gcc45] && ![variant_isset gcc46] && ![variant_isset g95]} { |
| 99 | default_variants +gcc47 |
100 | 100 | } |
101 | 101 | if {[variant_isset g95]} { |
102 | 102 | configure.fflags-append -r8 -fsloppy-char -fno-second-underscore -DUSE_NO_POINTERS -DINTEGER_IS_INT -Dlinux |
-
diff --git a/trunk/dports/science/eo/Portfile b/trunk/dports/science/eo/Portfile
a
|
b
|
|
60 | 60 | configure.args-delete --disable-tutorial |
61 | 61 | } |
62 | 62 | |
63 | | variant gcc43 conflicts gcc44 gcc45 description "Use GCC 4.3 for compilation of EO - optimized for host machine" { |
| 63 | variant gcc43 conflicts gcc44 gcc45 gcc46 gcc47 description "Use GCC 4.3 for compilation of EO - optimized for host machine" { |
64 | 64 | depends_build-append port:gcc43 |
65 | 65 | configure.cc gcc-mp-4.3 |
66 | 66 | configure.cxx g++-mp-4.3 |
… |
… |
|
68 | 68 | configure.cxxflags-append "-ftree-vectorize -march=native -O3" |
69 | 69 | } |
70 | 70 | |
71 | | variant gcc44 conflicts gcc43 gcc45 description "Use GCC 4.4 for compilation of EO - optimized for host machine" { |
| 71 | variant gcc44 conflicts gcc43 gcc45 gcc46 gcc47 description "Use GCC 4.4 for compilation of EO - optimized for host machine" { |
72 | 72 | depends_build-append port:gcc44 |
73 | 73 | configure.cc gcc-mp-4.4 |
74 | 74 | configure.cxx g++-mp-4.4 |
… |
… |
|
76 | 76 | configure.cxxflags-append "-ftree-vectorize -march=native -O3" |
77 | 77 | } |
78 | 78 | |
79 | | variant gcc45 conflicts gcc43 gcc44 description "Use GCC 4.5 for compilation of EO - optimized for host machine" { |
| 79 | variant gcc45 conflicts gcc43 gcc44 gcc46 gcc47 description "Use GCC 4.5 for compilation of EO - optimized for host machine" { |
80 | 80 | depends_build-append port:gcc45 |
81 | 81 | configure.cc gcc-mp-4.5 |
82 | 82 | configure.cxx g++-mp-4.5 |
83 | 83 | configure.cflags-append "-ftree-vectorize -march=native -O3" |
84 | 84 | configure.cxxflags-append "-ftree-vectorize -march=native -O3" |
85 | 85 | } |
| 86 | |
| 87 | variant gcc46 conflicts gcc43 gcc44 gcc45 gcc47 description "Use GCC 4.6 for compilation of EO - optimized for host machine" { |
| 88 | depends_build-append port:gcc46 |
| 89 | configure.cc gcc-mp-4.6 |
| 90 | configure.cxx g++-mp-4.6 |
| 91 | configure.cflags-append "-ftree-vectorize -march=native -O3" |
| 92 | configure.cxxflags-append "-ftree-vectorize -march=native -O3" |
| 93 | } |
| 94 | |
| 95 | variant gcc47 conflicts gcc43 gcc44 gcc45 gcc46 description "Use GCC 4.7 for compilation of EO - optimized for host machine" { |
| 96 | depends_build-append port:gcc47 |
| 97 | configure.cc gcc-mp-4.7 |
| 98 | configure.cxx g++-mp-4.7 |
| 99 | configure.cflags-append "-ftree-vectorize -march=native -O3" |
| 100 | configure.cxxflags-append "-ftree-vectorize -march=native -O3" |
| 101 | } |
-
diff --git a/trunk/dports/science/gpp4/Portfile b/trunk/dports/science/gpp4/Portfile
a
|
b
|
|
54 | 54 | depends_lib-append port:gcc47 |
55 | 55 | } |
56 | 56 | |
57 | | if {![variant_isset gcc43] && ![variant_isset gcc44] && ![variant_isset gcc46] && ![variant_isset gcc47]} { |
58 | | default_variants +gcc45 |
| 57 | if {![variant_isset gcc43] && ![variant_isset gcc44] && ![variant_isset gcc45] && ![variant_isset gcc46]} { |
| 58 | default_variants +gcc47 |
59 | 59 | } |
60 | 60 | |
61 | 61 | universal_variant no |
-
diff --git a/trunk/dports/science/hdf5/Portfile b/trunk/dports/science/hdf5/Portfile
a
|
b
|
|
58 | 58 | configure.args-delete --disable-fortran |
59 | 59 | configure.args-append --enable-fortran |
60 | 60 | pre-fetch { |
61 | | if { ![variant_isset gcc45] && ![variant_isset gcc44] && ![variant_isset gcc43] && ![variant_isset g95] } { |
| 61 | if { ![variant_isset gcc47] && ![variant_isset gcc46] && ![variant_isset gcc45] && ![variant_isset gcc44] && ![variant_isset gcc43] && ![variant_isset g95] } { |
62 | 62 | error "You must specify a compiler variant in order to build the Fortran interface" |
63 | 63 | } |
64 | 64 | } |
… |
… |
|
76 | 76 | } |
77 | 77 | |
78 | 78 | |
79 | | variant gcc43 conflicts g95 gcc44 gcc45 description {Compile using GCC 4.3} { |
| 79 | variant gcc43 conflicts g95 gcc44 gcc45 gcc46 gcc47 description {Compile using GCC 4.3} { |
80 | 80 | depends_lib-append port:gcc43 |
81 | 81 | configure.compiler macports-gcc-4.3 |
82 | 82 | configure.env-append LD=${prefix}/bin/g++-mp-4.3 |
83 | 83 | } |
84 | 84 | |
85 | | variant gcc44 conflicts g95 gcc43 gcc45 description {Compile using GCC 4.4} { |
| 85 | variant gcc44 conflicts g95 gcc43 gcc45 gcc46 gcc47 description {Compile using GCC 4.4} { |
86 | 86 | depends_lib-append port:gcc44 |
87 | 87 | configure.compiler macports-gcc-4.4 |
88 | 88 | configure.env-append LD=${prefix}/bin/g++-mp-4.4 |
89 | 89 | } |
90 | 90 | |
91 | | variant gcc45 conflicts g95 gcc43 gcc44 description {Compile using GCC 4.5} { |
| 91 | variant gcc45 conflicts g95 gcc43 gcc44 gcc46 gcc47 description {Compile using GCC 4.5} { |
92 | 92 | depends_lib-append port:gcc45 |
93 | 93 | configure.compiler macports-gcc-4.5 |
94 | 94 | configure.env-append LD=${prefix}/bin/g++-mp-4.5 |
95 | 95 | } |
96 | 96 | |
97 | | variant g95 requires fortran conflicts gcc43 gcc44 gcc45 description {Use g95 Fortran compiler (unsupported)} { |
| 97 | variant gcc46 conflicts g95 gcc43 gcc44 gcc45 gcc47 description {Compile using GCC 4.6} { |
| 98 | depends_lib-append port:gcc46 |
| 99 | configure.compiler macports-gcc-4.6 |
| 100 | configure.env-append LD=${prefix}/bin/g++-mp-4.6 |
| 101 | } |
| 102 | |
| 103 | variant gcc47 conflicts g95 gcc43 gcc44 gcc45 gcc46 description {Compile using GCC 4.7} { |
| 104 | depends_lib-append port:gcc47 |
| 105 | configure.compiler macports-gcc-4.7 |
| 106 | configure.env-append LD=${prefix}/bin/g++-mp-4.7 |
| 107 | } |
| 108 | |
| 109 | variant g95 requires fortran conflicts gcc43 gcc44 gcc45 gcc46 gcc47 description {Use g95 Fortran compiler (unsupported)} { |
98 | 110 | depends_lib-append port:g95 |
99 | 111 | patchfiles-append patch-powerpc-apple.diff |
100 | 112 | configure.fc ${prefix}/bin/g95 |
101 | 113 | } |
102 | 114 | |
103 | | variant optimized description {Higher compiler optimization for host machine (esp. for gcc43/gcc44)} { |
| 115 | variant optimized description {Higher compiler optimization for host machine} { |
104 | 116 | configure.optflags-delete -O2 |
105 | 117 | configure.optflags-append -ftree-vectorize -O3 |
106 | | if { [variant_isset gcc43] || [variant_isset gcc44] } { |
| 118 | if { [variant_isset gcc43] || [variant_isset gcc44] || [variant_isset gcc45] || [variant_isset gcc46] || [variant_isset gcc47] } { |
107 | 119 | configure.optflags-append -march=native |
108 | 120 | } |
109 | 121 | } |
-
diff --git a/trunk/dports/science/jags/Portfile b/trunk/dports/science/jags/Portfile
a
|
b
|
|
28 | 28 | configure.args --with-blas='-framework vecLib' \ |
29 | 29 | --with-lapack='-framework vecLib' |
30 | 30 | |
31 | | variant gcc43 conflicts gcc44 gcc45 description {Use the gcc43 compiler} { |
| 31 | variant gcc43 conflicts gcc44 gcc45 gcc46 gcc47 description {Use the gcc43 compiler} { |
32 | 32 | depends_lib-append port:gcc43 |
33 | 33 | configure.compiler macports-gcc-4.3 |
34 | 34 | } |
35 | 35 | |
36 | | variant gcc44 conflicts gcc43 gcc45 description {Use the gcc44 compiler} { |
| 36 | variant gcc44 conflicts gcc43 gcc45 gcc46 gcc47 description {Use the gcc44 compiler} { |
37 | 37 | depends_lib-append port:gcc44 |
38 | 38 | configure.compiler macports-gcc-4.4 |
39 | 39 | } |
40 | 40 | |
41 | | variant gcc45 conflicts gcc43 gcc44 description {Use the gcc45 compiler} { |
| 41 | variant gcc45 conflicts gcc43 gcc44 gcc46 gcc47 description {Use the gcc45 compiler} { |
42 | 42 | depends_lib-append port:gcc45 |
43 | 43 | configure.compiler macports-gcc-4.5 |
44 | 44 | } |
45 | 45 | |
46 | | if {![variant_isset gcc43] && ![variant_isset gcc44]} { |
47 | | default_variants +gcc45 |
| 46 | variant gcc46 conflicts gcc43 gcc44 gcc45 gcc47 description {Use the gcc46 compiler} { |
| 47 | depends_lib-append port:gcc46 |
| 48 | configure.compiler macports-gcc-4.6 |
48 | 49 | } |
49 | 50 | |
| 51 | variant gcc47 conflicts gcc43 gcc44 gcc45 gcc46 description {Use the gcc47 compiler} { |
| 52 | depends_lib-append port:gcc47 |
| 53 | configure.compiler macports-gcc-4.7 |
| 54 | } |
| 55 | |
| 56 | if {![variant_isset gcc43] && ![variant_isset gcc44] && ![variant_isset gcc45] && ![variant_isset gcc46]} { |
| 57 | default_variants +gcc47 |
| 58 | } |
| 59 | |
50 | 60 | pre-build { |
51 | 61 | build.env-append CC="${configure.cc}" \ |
52 | 62 | CXX="${configure.cxx}" \ |
-
diff --git a/trunk/dports/science/lanHEP/Portfile b/trunk/dports/science/lanHEP/Portfile
a
|
b
|
|
5 | 5 | name lanHEP |
6 | 6 | set shortname lhep |
7 | 7 | version 3.1.5 |
| 8 | revision 1 |
8 | 9 | set shortversion 315 |
9 | 10 | categories science |
10 | 11 | maintainers nomaintainer |
… |
… |
|
30 | 31 | sha1 5469899da20645a14f0a2d1a0e18149fa46c33a9 \ |
31 | 32 | rmd160 779f8226a7da7977c671ecd7e17d38f55651fbf5 |
32 | 33 | |
33 | | depends_build port:gcc43 |
| 34 | depends_build port:gcc47 |
34 | 35 | |
35 | 36 | use_parallel_build no |
36 | 37 | use_configure no |
37 | 38 | |
38 | | build.env-append FC=gfortran-mp-4.3 |
| 39 | build.env-append FC=gfortran-mp-4.7 |
39 | 40 | build.target { } |
40 | 41 | |
41 | 42 | destroot { |
-
diff --git a/trunk/dports/science/libctl/Portfile b/trunk/dports/science/libctl/Portfile
a
|
b
|
|
26 | 26 | |
27 | 27 | depends_lib port:guile16 |
28 | 28 | |
29 | | variant gcc43 conflicts gcc44 gcc45 gcc46 description {Compile with gcc 4.3} { |
| 29 | variant gcc43 conflicts gcc44 gcc45 gcc46 gcc47 description {Compile with gcc 4.3} { |
30 | 30 | configure.compiler macports-gcc-4.3 |
31 | 31 | depends_lib-append port:gcc43 |
32 | 32 | } |
33 | 33 | |
34 | | variant gcc44 conflicts gcc43 gcc45 gcc46 description {Compile with gcc 4.4} { |
| 34 | variant gcc44 conflicts gcc43 gcc45 gcc46 gcc47 description {Compile with gcc 4.4} { |
35 | 35 | configure.compiler macports-gcc-4.4 |
36 | 36 | depends_lib-append port:gcc44 |
37 | 37 | } |
38 | 38 | |
39 | | variant gcc45 conflicts gcc43 gcc44 gcc46 description {Compile with gcc 4.5} { |
| 39 | variant gcc45 conflicts gcc43 gcc44 gcc46 gcc47 description {Compile with gcc 4.5} { |
40 | 40 | configure.compiler macports-gcc-4.5 |
41 | 41 | depends_lib-append port:gcc45 |
42 | 42 | } |
43 | 43 | |
44 | | variant gcc46 conflicts gcc43 gcc44 gcc45 description {Compile with gcc 4.6} { |
| 44 | variant gcc46 conflicts gcc43 gcc44 gcc45 gcc47 description {Compile with gcc 4.6} { |
45 | 45 | configure.compiler macports-gcc-4.6 |
46 | 46 | depends_lib-append port:gcc46 |
47 | 47 | } |
48 | 48 | |
49 | | if {![variant_isset gcc43] && ![variant_isset gcc44] && ![variant_isset gcc46]} { |
50 | | default_variants +gcc45 |
| 49 | variant gcc47 conflicts gcc43 gcc44 gcc45 gcc46 description {Compile with gcc 4.7} { |
| 50 | configure.compiler macports-gcc-4.7 |
| 51 | depends_lib-append port:gcc47 |
51 | 52 | } |
52 | 53 | |
| 54 | if {![variant_isset gcc43] && ![variant_isset gcc44] && ![variant_isset gcc45] && ![variant_isset gcc46]} { |
| 55 | default_variants +gcc47 |
| 56 | } |
| 57 | |
53 | 58 | patchfiles guile16.diff |
54 | 59 | |
55 | 60 | use_autoreconf yes |
-
diff --git a/trunk/dports/science/libxc/Portfile b/trunk/dports/science/libxc/Portfile
a
|
b
|
|
5 | 5 | |
6 | 6 | name libxc |
7 | 7 | version 1.0 |
8 | | revision 1 |
| 8 | revision 2 |
9 | 9 | categories science |
10 | 10 | platforms darwin |
11 | 11 | maintainers googlemail.com:fabian.renn |
… |
… |
|
24 | 24 | checksums sha1 48a54c718bfb8784bf5e6aadf82d62ffb70bc5a2 \ |
25 | 25 | rmd160 0e48a6ab484d1c9f6e305dfc9c860e46c01aa330 |
26 | 26 | |
27 | | depends_lib port:gcc45 |
28 | | configure.compiler macports-gcc-4.5 |
| 27 | depends_lib port:gcc47 |
| 28 | configure.compiler macports-gcc-4.7 |
29 | 29 | |
30 | 30 | configure.args --with-gnu-ld |
31 | 31 | |
-
diff --git a/trunk/dports/science/magicspp/Portfile b/trunk/dports/science/magicspp/Portfile
a
|
b
|
|
45 | 45 | |
46 | 46 | use_parallel_build no |
47 | 47 | universal_variant no |
48 | | if {![variant_isset gcc43] && ![variant_isset gcc44] && ![variant_isset gcc46] && ![variant_isset gcc47]} { |
49 | | default_variants +gcc45 |
| 48 | if {![variant_isset gcc43] && ![variant_isset gcc44] && ![variant_isset gcc45] && ![variant_isset gcc46]} { |
| 49 | default_variants +gcc47 |
50 | 50 | } |
51 | 51 | if {![variant_isset python25] && ![variant_isset python26]} { |
52 | 52 | default_variants-append +python27 |
-
diff --git a/trunk/dports/science/miriad/Portfile b/trunk/dports/science/miriad/Portfile
a
|
b
|
|
79 | 79 | } |
80 | 80 | |
81 | 81 | if {![variant_isset gcc45] && ![variant_isset gcc46] && ![variant_isset gcc47] && ![variant_isset gcc_select]} { |
82 | | default_variants +gcc45 |
| 82 | default_variants +gcc47 |
83 | 83 | } |
84 | 84 | |
85 | 85 | universal_variant no |
-
diff --git a/trunk/dports/science/molden/Portfile b/trunk/dports/science/molden/Portfile
a
|
b
|
|
85 | 85 | configure.compiler macports-gcc-4.5 |
86 | 86 | } |
87 | 87 | |
88 | | variant gcc46 conflicts gcc44 gcc45 gcc47 gcc48 description {Build using gcc43} { |
| 88 | variant gcc46 conflicts gcc44 gcc45 gcc47 gcc48 description {Build using gcc46} { |
89 | 89 | depends_lib-append port:gcc46 |
90 | 90 | configure.compiler macports-gcc-4.6 |
91 | 91 | } |
92 | 92 | |
93 | | variant gcc47 conflicts gcc44 gcc45 gcc46 gcc48 description {Build using gcc43} { |
| 93 | variant gcc47 conflicts gcc44 gcc45 gcc46 gcc48 description {Build using gcc47} { |
94 | 94 | depends_lib-append port:gcc47 |
95 | 95 | configure.compiler macports-gcc-4.7 |
96 | 96 | } |
97 | 97 | |
98 | | variant gcc48 conflicts gcc44 gcc45 gcc46 gcc47 description {Build using gcc43} { |
| 98 | variant gcc48 conflicts gcc44 gcc45 gcc46 gcc47 description {Build using gcc48} { |
99 | 99 | depends_lib-append port:gcc48 |
100 | 100 | configure.compiler macports-gcc-4.8 |
101 | 101 | } |
102 | 102 | |
103 | 103 | if {![variant_isset gcc44] && ![variant_isset gcc45] && ![variant_isset gcc46] && ![variant_isset gcc47] && ![variant_isset gcc48]} { |
104 | | default_variants +gcc45 |
| 104 | default_variants +gcc47 |
105 | 105 | } |
106 | 106 | |
107 | 107 | variant opengl description "Install moldenogl OpenGL helper program" { |
-
diff --git a/trunk/dports/science/ncarg/Portfile b/trunk/dports/science/ncarg/Portfile
a
|
b
|
|
92 | 92 | set fortranlib "-L${prefix}/lib/gcc44 -lgfortran" |
93 | 93 | } elseif {[variant_isset gcc45]} { |
94 | 94 | set fortranlib "-L${prefix}/lib/gcc45 -lgfortran" |
| 95 | } elseif {[variant_isset gcc46]} { |
| 96 | set fortranlib "-L${prefix}/lib/gcc46 -lgfortran" |
| 97 | } elseif {[variant_isset gcc47]} { |
| 98 | set fortranlib "-L${prefix}/lib/gcc47 -lgfortran" |
95 | 99 | } |
96 | 100 | foreach f {Darwin Darwin_Intel} { |
97 | 101 | reinplace "s|-lgfortran|${fortranlib}|" ${worksrcpath}/config/${f} |
… |
… |
|
216 | 220 | # Only configure.fc is set (against UsingTheRightCompiler) since |
217 | 221 | # ncl function setfileoption() causes Segmentation Fault |
218 | 222 | # when built with macports-gcc-4.x. |
219 | | variant g95 conflicts gcc43 gcc44 gcc45 description {compile with g95} { |
| 223 | variant g95 conflicts gcc43 gcc44 gcc45 gcc46 gcc47 description {compile with g95} { |
220 | 224 | configure.fc ${prefix}/bin/g95 |
221 | 225 | depends_build-append port:g95 |
222 | 226 | configure.fflags-append -fno-second-underscore |
223 | 227 | } |
224 | 228 | |
225 | | variant gcc43 conflicts gcc44 gcc45 g95 description {compile with gcc 4.3} { |
| 229 | variant gcc43 conflicts gcc44 gcc45 gcc46 gcc47 g95 description {compile with gcc 4.3} { |
226 | 230 | configure.fc ${prefix}/bin/gfortran-mp-4.3 |
227 | 231 | depends_build-append port:gcc43 |
228 | 232 | } |
229 | 233 | |
230 | | variant gcc44 conflicts gcc43 gcc45 g95 description {compile with gcc 4.4} { |
| 234 | variant gcc44 conflicts gcc43 gcc45 gcc46 gcc47 g95 description {compile with gcc 4.4} { |
231 | 235 | configure.fc ${prefix}/bin/gfortran-mp-4.4 |
232 | 236 | depends_build-append port:gcc44 |
233 | 237 | } |
234 | 238 | |
235 | | variant gcc45 conflicts gcc43 gcc44 g95 description {compile with gcc 4.5} { |
| 239 | variant gcc45 conflicts gcc43 gcc44 gcc46 gcc47 g95 description {compile with gcc 4.5} { |
236 | 240 | configure.fc ${prefix}/bin/gfortran-mp-4.5 |
237 | 241 | depends_build-append port:gcc45 |
238 | 242 | } |
239 | 243 | |
240 | | if {![variant_isset gcc43] && ![variant_isset gcc44] && ![variant_isset g95]} { |
241 | | default_variants +gcc45 |
| 244 | variant gcc46 conflicts gcc43 gcc44 gcc45 gcc47 g95 description {compile with gcc 4.6} { |
| 245 | configure.fc ${prefix}/bin/gfortran-mp-4.6 |
| 246 | depends_build-append port:gcc46 |
242 | 247 | } |
243 | 248 | |
| 249 | variant gcc47 conflicts gcc43 gcc44 gcc45 gcc46 g95 description {compile with gcc 4.7} { |
| 250 | configure.fc ${prefix}/bin/gfortran-mp-4.7 |
| 251 | depends_build-append port:gcc47 |
| 252 | } |
| 253 | |
| 254 | if {![variant_isset gcc43] && ![variant_isset gcc44] && ![variant_isset gcc45] && ![variant_isset gcc46] && ![variant_isset g95]} { |
| 255 | default_variants +gcc47 |
| 256 | } |
| 257 | |
244 | 258 | variant accelerate description {use Accelerate.framework} { |
245 | 259 | if {![variant_isset g95]} { |
246 | 260 | configure.fflags-append -ff2c |
-
diff --git a/trunk/dports/science/netcdf-fortran/Portfile b/trunk/dports/science/netcdf-fortran/Portfile
a
|
b
|
|
82 | 82 | destroot.destdir prefix=${destroot}${prefix} \ |
83 | 83 | MANDIR=\\\${prefix}/share/man |
84 | 84 | |
85 | | if {![variant_isset gcc43] && ![variant_isset gcc44] && ![variant_isset gcc46] && ![variant_isset gcc47] && ![variant_isset g95]} { |
86 | | default_variants +gcc45 |
| 85 | if {![variant_isset gcc43] && ![variant_isset gcc44] && ![variant_isset gcc45] && ![variant_isset gcc46] && ![variant_isset g95]} { |
| 86 | default_variants +gcc47 |
87 | 87 | } |
88 | 88 | |
89 | 89 | variant gcc43 conflicts g95 gcc44 gcc45 gcc46 gcc47 description {Enable Fortran support with gfortran 4.3} { |
-
diff --git a/trunk/dports/science/openmpi/Portfile b/trunk/dports/science/openmpi/Portfile
a
|
b
|
|
127 | 127 | } |
128 | 128 | |
129 | 129 | # dependents like netcdf need some form of fortran |
130 | | if {![variant_isset gcc43] && ![variant_isset gcc44] && ![variant_isset gcc46] && ![variant_isset gcc47] && ![variant_isset g95]} { |
131 | | default_variants +gcc45 |
| 130 | if {![variant_isset gcc43] && ![variant_isset gcc44] && ![variant_isset gcc45] && ![variant_isset gcc46] && ![variant_isset g95]} { |
| 131 | default_variants +gcc47 |
132 | 132 | } |
133 | 133 | |
134 | 134 | livecheck.type regex |
-
diff --git a/trunk/dports/science/pdb2pqr/Portfile b/trunk/dports/science/pdb2pqr/Portfile
a
|
b
|
|
6 | 6 | |
7 | 7 | name pdb2pqr |
8 | 8 | version 1.7 |
9 | | revision 1 |
| 9 | revision 2 |
10 | 10 | categories science |
11 | 11 | maintainers bromo.med.uc.edu:howarth |
12 | 12 | description automate Poisson-Boltzmann electrostatics calculations |
… |
… |
|
23 | 23 | use_configure yes |
24 | 24 | build.cmd make |
25 | 25 | build.target all |
26 | | depends_lib port:gcc45 \ |
| 26 | depends_lib port:gcc47 \ |
27 | 27 | port:py26-numeric |
28 | 28 | post-patch { |
29 | | reinplace "s|fort xlf95 lf95 g95|gfortran-mp-4.5|g" ${worksrcpath}/propka/configure |
| 29 | reinplace "s|fort xlf95 lf95 g95|gfortran-mp-4.7|g" ${worksrcpath}/propka/configure |
30 | 30 | reinplace "s|/usr/bin/env python|${python.bin}|g" ${worksrcpath}/pdb2pka/pka.py |
31 | 31 | reinplace "s|/usr/bin/python|${python.bin}|g" ${worksrcpath}/src/psize.py |
32 | 32 | reinplace "s|-Wl,-framework -Wl,Python -bundle|${python.lib} -bundle|g" \ |
… |
… |
|
35 | 35 | delete ${worksrcpath}/contrib |
36 | 36 | } |
37 | 37 | configure.args --with-max-atoms="1000000" --without-url --with-python=${python.bin} \ |
38 | | -with-f77=gfortran-mp-4.5 |
| 38 | -with-f77=gfortran-mp-4.7 |
39 | 39 | destroot { |
40 | 40 | system "find ${worksrcpath} -name '*.o' -delete" |
41 | 41 | file mkdir ${destroot}${prefix}/share/{name} |
-
diff --git a/trunk/dports/science/scotch/Portfile b/trunk/dports/science/scotch/Portfile
a
|
b
|
|
36 | 36 | |
37 | 37 | use_configure no |
38 | 38 | |
39 | | variant gcc44 conflicts gcc45 description {Build with gcc 4.4} {} |
40 | | variant gcc45 conflicts gcc44 description {Build with gcc 4.5} {} |
| 39 | variant gcc44 conflicts gcc45 gcc46 gcc47 description {Build with gcc 4.4} {} |
| 40 | variant gcc45 conflicts gcc44 gcc46 gcc47 description {Build with gcc 4.5} {} |
| 41 | variant gcc46 conflicts gcc44 gcc45 gcc47 description {Build with gcc 4.6} {} |
| 42 | variant gcc47 conflicts gcc44 gcc45 gcc46 description {Build with gcc 4.7} {} |
41 | 43 | |
42 | 44 | if {[variant_isset gcc44]} { |
43 | 45 | depends_lib-append port:gcc44 |
44 | 46 | configure.compiler macports-gcc-4.4 |
45 | | } else { |
46 | | default_variants +gcc45 |
| 47 | } elseif {[variant_isset gcc45]} { |
47 | 48 | depends_lib-append port:gcc45 |
48 | 49 | configure.compiler macports-gcc-4.5 |
| 50 | } elseif {[variant_isset gcc46]} { |
| 51 | depends_lib-append port:gcc46 |
| 52 | configure.compiler macports-gcc-4.6 |
| 53 | } else { |
| 54 | default_variants +gcc47 |
| 55 | depends_lib-append port:gcc47 |
| 56 | configure.compiler macports-gcc-4.7 |
49 | 57 | } |
50 | 58 | |
51 | 59 | variant universal { |
-
diff --git a/trunk/dports/science/splash/Portfile b/trunk/dports/science/splash/Portfile
a
|
b
|
|
22 | 22 | sha256 5c32f3a094faeea7935e5262f64318ceed9af38f73418deff9e905f72fd205a1 |
23 | 23 | |
24 | 24 | if {![variant_isset gcc44] && ![variant_isset gcc45] && ![variant_isset gcc46] && ![variant_isset gcc47]} { |
25 | | default_variants +gcc45 |
| 25 | default_variants +gcc47 |
26 | 26 | } |
27 | 27 | default_variants +giza |
28 | 28 | |
-
diff --git a/trunk/dports/science/whatcheck/Portfile b/trunk/dports/science/whatcheck/Portfile
a
|
b
|
|
34 | 34 | use_bzip2 yes |
35 | 35 | extract.only whatcheck.tar.bz2 |
36 | 36 | |
37 | | variant gcc44 conflicts gcc45 description {Build with GCC 4.4} {} |
38 | | variant gcc45 conflicts gcc44 description {Build with GCC 4.5} {} |
| 37 | variant gcc44 conflicts gcc45 gcc46 gcc47 description {Build with GCC 4.4} {} |
| 38 | variant gcc45 conflicts gcc44 gcc46 gcc47 description {Build with GCC 4.5} {} |
| 39 | variant gcc46 conflicts gcc44 gcc45 gcc47 description {Build with GCC 4.6} {} |
| 40 | variant gcc47 conflicts gcc44 gcc45 gcc46 description {Build with GCC 4.7} {} |
39 | 41 | |
40 | 42 | if {[variant_isset gcc44]} { |
41 | 43 | configure.compiler macports-gcc-4.4 |
42 | 44 | depends_lib-append port:gcc44 |
43 | | } else { |
44 | | default_variants +gcc45 |
| 45 | } elseif {[variant_isset gcc45]} { |
45 | 46 | configure.compiler macports-gcc-4.5 |
46 | 47 | depends_lib-append port:gcc45 |
| 48 | } elseif {[variant_isset gcc46]} { |
| 49 | configure.compiler macports-gcc-4.6 |
| 50 | depends_lib-append port:gcc46 |
| 51 | } else { |
| 52 | default_variants +gcc47 |
| 53 | configure.compiler macports-gcc-4.7 |
| 54 | depends_lib-append port:gcc47 |
47 | 55 | } |
48 | 56 | |
49 | 57 | post-extract { |
-
diff --git a/trunk/dports/science/whizard/Portfile b/trunk/dports/science/whizard/Portfile
a
|
b
|
|
57 | 57 | } |
58 | 58 | |
59 | 59 | if {![variant_isset gcc45] && ![variant_isset gcc46] && ![variant_isset gcc47]} { |
60 | | default_variants +gcc45 |
| 60 | default_variants +gcc47 |
61 | 61 | } |
62 | 62 | |
63 | 63 | livecheck.type regex |