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

sean at macports.org sean at macports.org
Mon Mar 25 20:38:02 PDT 2013


Revision: 104473
          https://trac.macports.org/changeset/104473
Author:   sean at macports.org
Date:     2013-03-25 20:38:02 -0700 (Mon, 25 Mar 2013)
Log Message:
-----------
py-netcdf: protect call to nc-config with pre-configure phase

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

Modified: trunk/dports/python/py-netcdf4/Portfile
===================================================================
--- trunk/dports/python/py-netcdf4/Portfile	2013-03-26 02:37:15 UTC (rev 104472)
+++ trunk/dports/python/py-netcdf4/Portfile	2013-03-26 03:38:02 UTC (rev 104473)
@@ -35,8 +35,10 @@
     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]
+    pre-configure {
+        # 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 {
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20130325/887daf5f/attachment.html>


More information about the macports-changes mailing list