=sci-libs/netcdf-4.2 will not compile with -hdf5 useflag if hdf5 libraries are not installed. If hdf5 is installed, I assume that hdf5 support will get compiled into netcdf despite requesting that it be not. The problem is an error in the ebuild, where a dash is missing between netcdf and 4 in the src_configure() function. Reproducible: Always Steps to Reproduce: 1. Make sure hdf5 is not installed 2. USE="-hdf5" emerge =sci-libs/netcdf-4.2 3. compile fails Actual Results: =sci-libs/netcdf-4.2 does not compile with -hdf5 Expected Results: =sci-libs/netcdf-4.2 compiles without hdf5 support patch: --- netcdf-4.2.ebuild.bad 2012-04-18 13:10:26.000000000 -0600 +++ netcdf-4.2.ebuild 2012-04-21 17:09:25.763909618 -0600 @@ -29,7 +29,7 @@ $(use_enable dap) $(use_enable doc doxygen) $(use_enable hdf hdf4) - $(use_enable hdf5 netcdf4) + $(use_enable hdf5 netcdf-4) $(use_enable tools utilities) ) autotools-utils_src_configure
strange, configure says '--enable-netcdf4 just a synonym for enable-netcdf-4'. anyway, fixed, thanks.