[145177] trunk/dports/science/wannier90/Portfile

dstrubbe at macports.org dstrubbe at macports.org
Wed Jan 27 13:24:45 PST 2016


Revision: 145177
          https://trac.macports.org/changeset/145177
Author:   dstrubbe at macports.org
Date:     2016-01-27 13:24:45 -0800 (Wed, 27 Jan 2016)
Log Message:
-----------
wannier90: Use the right C compiler. Update comment.

Modified Paths:
--------------
    trunk/dports/science/wannier90/Portfile

Modified: trunk/dports/science/wannier90/Portfile
===================================================================
--- trunk/dports/science/wannier90/Portfile	2016-01-27 20:42:37 UTC (rev 145176)
+++ trunk/dports/science/wannier90/Portfile	2016-01-27 21:24:45 UTC (rev 145177)
@@ -24,7 +24,7 @@
 checksums           rmd160  357909e686b4b414d8afd8bb8ef90e71c7519708 \
                     sha1    17af3f22a2623dc4d2c183dae7a5c63a6f0941bb
 
-# TODO: enable use of Accelerate instead (will need f2c or veclibfort)
+# TODO: enable use of Accelerate instead (will need veclibfort)
 depends_lib         port:atlas
 
 # fixes dependencies to enable parallel build
@@ -36,7 +36,7 @@
 
 # TODO: enable use of MPI
 pre-build {
-    build.args      F90=${configure.f90} LDOPTS="-O3" COMMS="" MPIF90=""
+    build.args      F90=${configure.f90} LDOPTS="-O3" COMMS="" MPIF90="" CC=${configure.cc} CFLAGS="${configure.cflags}"
     if {[variant_isset threads]} {
         build.args-append LIBS="-L${prefix}/lib -ltatlas"
     } else {
@@ -50,8 +50,6 @@
     build.target    all w90pov w90vdw
 }
 
-# FIXME: w90pov uses default value of CC.
-
 use_parallel_build  yes
 
 destroot {
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20160127/e862b371/attachment.html>


More information about the macports-changes mailing list