Hi,
On Mon, Mar 25, 2013 at 04:58:19PM -0700, [email protected] wrote:
> py-netcdf: fix build error by using the same compiler as netcdf
> + # py-netcdf4's setup.py uses nc-config for flags and libs but not
> compiler
> + configure.cc [exec ${prefix}/bin/nc-config --cc]
This change will essentially kick py\d+-netcdf4 out of the index,
because the Portfile fails to execute when nc-config is not present:
Failed to parse file python/py-netcdf4/Portfile with subport 'py26-netcdf4':
couldn't execute "/opt/local/bin/nc-config": no such file or directory
Failed to parse file python/py-netcdf4/Portfile with subport 'py27-netcdf4':
couldn't execute "/opt/local/bin/nc-config": no such file or directory
Consider setting the compiler in a phase (which is suboptimal, because
automatic compiler dependencies will not work). You should however
probably set configure.compiler anyway, to also change all dependent
settings, like the preprocessor, etc.
--
Clemens Lang
_______________________________________________
macports-dev mailing list
[email protected]
https://lists.macosforge.org/mailman/listinfo/macports-dev