Revision: 145132 https://trac.macports.org/changeset/145132 Author: dstrubbe@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
participants (1)
-
dstrubbe@macports.org