Ticket #42970: Portfile-wannier90.diff
File Portfile-wannier90.diff, 893 bytes (added by mf2k (Frank Schima), 11 years ago) |
---|
-
Portfile
old new 2 2 # $Id: Portfile 109743 2013-08-19 19:34:15Z jeremyhu@macports.org $ 3 3 4 4 PortSystem 1.0 5 PortGroup compilers 1.0 5 6 6 7 name wannier90 7 8 version 1.2 … … 43 44 xinstall ${worksrcpath}/libwannier.a ${destroot}${prefix}/lib/ 44 45 } 45 46 46 variant gcc46 conflicts gcc47 description {Build with GCC 4.6} { 47 configure.compiler macports-gcc-4.6 48 } 49 50 variant gcc47 conflicts gcc46 description {Build with GCC 4.7} { 51 configure.compiler macports-gcc-4.7 52 } 47 compilers.choose fc f77 f90 48 compilers.setup require_fortran 53 49 54 if {![ variant_isset gcc46]} {55 default_variants +gcc4750 if {![fortran_variant_isset]} { 51 default_variants-append +gcc48 56 52 } 57 53 58 54 variant threads description {Build with threaded ATLAS} {}