[119999] trunk/dports/science/wannier90/Portfile
mf2k at macports.org
mf2k at macports.org
Mon May 12 14:18:59 PDT 2014
Revision: 119999
https://trac.macports.org/changeset/119999
Author: mf2k at macports.org
Date: 2014-05-12 14:18:59 -0700 (Mon, 12 May 2014)
Log Message:
-----------
wannier90: Use compilers portgroup. (#42970)
Modified Paths:
--------------
trunk/dports/science/wannier90/Portfile
Modified: trunk/dports/science/wannier90/Portfile
===================================================================
--- trunk/dports/science/wannier90/Portfile 2014-05-12 21:14:51 UTC (rev 119998)
+++ trunk/dports/science/wannier90/Portfile 2014-05-12 21:18:59 UTC (rev 119999)
@@ -2,6 +2,7 @@
# $Id$
PortSystem 1.0
+PortGroup compilers 1.0
name wannier90
version 1.2
@@ -43,18 +44,13 @@
xinstall ${worksrcpath}/libwannier.a ${destroot}${prefix}/lib/
}
-variant gcc46 conflicts gcc47 description {Build with GCC 4.6} {
- configure.compiler macports-gcc-4.6
-}
+compilers.choose fc f77 f90
+compilers.setup require_fortran
-variant gcc47 conflicts gcc46 description {Build with GCC 4.7} {
- configure.compiler macports-gcc-4.7
+if {![fortran_variant_isset]} {
+ default_variants-append +gcc48
}
-if {![variant_isset gcc46]} {
- default_variants +gcc47
-}
-
variant threads description {Build with threaded ATLAS} {}
livecheck.type regex
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20140512/f16757ad/attachment-0001.html>
More information about the macports-changes
mailing list