[104467] trunk/dports/python/py-netcdf4/Portfile

sean at macports.org sean at macports.org
Mon Mar 25 16:58:19 PDT 2013


Revision: 104467
          https://trac.macports.org/changeset/104467
Author:   sean at macports.org
Date:     2013-03-25 16:58:19 -0700 (Mon, 25 Mar 2013)
Log Message:
-----------
py-netcdf: fix build error by using the same compiler as netcdf

Modified Paths:
--------------
    trunk/dports/python/py-netcdf4/Portfile

Modified: trunk/dports/python/py-netcdf4/Portfile
===================================================================
--- trunk/dports/python/py-netcdf4/Portfile	2013-03-25 23:58:01 UTC (rev 104466)
+++ trunk/dports/python/py-netcdf4/Portfile	2013-03-25 23:58:19 UTC (rev 104467)
@@ -35,6 +35,9 @@
     depends_lib-append  port:netcdf \
                         port:py${python.version}-numpy
 
+    # py-netcdf4's setup.py uses nc-config for flags and libs but not compiler
+    configure.cc        [exec ${prefix}/bin/nc-config --cc]
+
     livecheck.type      none
 } else {
     livecheck.type      googlecode
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20130325/d6bb81c4/attachment.html>


More information about the macports-changes mailing list