248 | | variant gfortran description {Adds support for fortran compilation} { |
249 | | configure.args-append --with-f77=gfortran-mp-4.4 |
| 248 | variant gcc44 description {Enables compilation using MacPorts gcc 4.4 compiler} { |
| 249 | configure.args-append --with-cc=gcc-mp-4.4 |
| 250 | configure.args-append --with-cxx=cpp-mp-4.4 |
| 251 | configure.args-append --with-f77=gfortran-mp-4.4 |
| 252 | configure.args-append --with-ld=g++-mp-4.4 |
| 253 | configure.compiler macports-gcc-4.4 |
| 257 | variant gcc45 description {Enables compilation using MacPorts gcc 4.5 compiler} { |
| 258 | configure.args-append --with-cc=gcc-mp-4.5 |
| 259 | configure.args-append --with-cxx=cpp-mp-4.5 |
| 260 | configure.args-append --with-f77=gfortran-mp-4.5 |
| 261 | configure.args-append --with-ld=g++-mp-4.5 |
| 262 | configure.compiler macports-gcc-4.5 |
| 263 | depends_lib-append port:gcc45 |
| 264 | } |
| 265 | |
| 266 | variant gcc46 description {Enables compilation using MacPorts gcc 4.6 compiler} { |
| 267 | configure.args-append --with-cc=gcc-mp-4.6 |
| 268 | configure.args-append --with-cxx=cpp-mp-4.6 |
| 269 | configure.args-append --with-f77=gfortran-mp-4.6 |
| 270 | configure.args-append --with-ld=g++-mp-4.6 |
| 271 | configure.compiler macports-gcc-4.6 |
| 272 | depends_lib-append port:gcc46 |
| 273 | } |
| 274 | |