[145132] trunk/dports/science/wannier90/Portfile
dstrubbe at macports.org
dstrubbe at macports.org
Tue Jan 26 07:39:48 PST 2016
Revision: 145132
https://trac.macports.org/changeset/145132
Author: dstrubbe at macports.org
Date: 2016-01-26 07:39:47 -0800 (Tue, 26 Jan 2016)
Log Message:
-----------
wannier90: Fix build with g95. Include test output in log file for convenience.
Modified Paths:
--------------
trunk/dports/science/wannier90/Portfile
Modified: trunk/dports/science/wannier90/Portfile
===================================================================
--- trunk/dports/science/wannier90/Portfile 2016-01-26 15:23:46 UTC (rev 145131)
+++ trunk/dports/science/wannier90/Portfile 2016-01-26 15:39:47 UTC (rev 145132)
@@ -36,12 +36,17 @@
# TODO: enable use of MPI
pre-build {
- build.args F90=${configure.f90} FCOPTS="-O3" LDOPTS="-O3" COMMS="" MPIF90=""
+ build.args F90=${configure.f90} LDOPTS="-O3" COMMS="" MPIF90=""
if {[variant_isset threads]} {
build.args-append LIBS="-L${prefix}/lib -ltatlas"
} else {
build.args-append LIBS="-L${prefix}/lib -lsatlas"
}
+ if {[variant_isset g95]} {
+ build.args-append FCOPTS="-O3 -fno-second-underscore"
+ } else {
+ build.args-append FCOPTS="-O3"
+ }
build.target all w90pov w90vdw
}
@@ -65,7 +70,8 @@
test.run yes
post-test {
- ui_notice "Examine the file ${worksrcpath}/tests/wantest.log."
+ system -W ${worksrcpath} "cat tests/wantest.log"
+ ui_notice "Compare the 'Standard' and 'Current' values in the log to assess test runs."
}
livecheck.type regex
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20160126/d4374ece/attachment.html>
More information about the macports-changes
mailing list