diff options
Diffstat (limited to 'media-gfx/kst/files/kst-1.1.0-netcdf-fix.patch')
-rw-r--r-- | media-gfx/kst/files/kst-1.1.0-netcdf-fix.patch | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/media-gfx/kst/files/kst-1.1.0-netcdf-fix.patch b/media-gfx/kst/files/kst-1.1.0-netcdf-fix.patch new file mode 100644 index 000000000..d5e2f5c5d --- /dev/null +++ b/media-gfx/kst/files/kst-1.1.0-netcdf-fix.patch @@ -0,0 +1,28 @@ +--- configure.in.old 2005-10-25 10:37:27.000000000 -0300 ++++ configure.in 2005-10-25 11:09:22.000000000 -0300 +@@ -182,11 +182,20 @@ + # netCDF Test + ac_netcdf_includes="" + ac_netcdf_libraries="" +-AC_ARG_WITH(netcdf, +- AC_HELP_STRING([--with-netcdf=DIR],[where the root of NetCDF is installed ]), +- [ ac_netcdf_includes="-I$withval/include" +- ac_netcdf_libraries="-L$withval/lib" +- ]) ++ ++AC_MSG_CHECKING(--enable-netcdf argument) ++AC_ARG_ENABLE(netcdf, ++ [ --enable-netcdf Enable netcdf support.], ++ [ enable_netcdf=$enableval ], ++ [ enable_netcdf="no" ]) ++ ++if test "$enable_netcdf" = "yes"; then ++ AC_ARG_WITH(netcdf, ++ AC_HELP_STRING([--with-netcdf=DIR],[where the root of NetCDF is installed ]), ++ [ ac_netcdf_includes="-I$withval/include" ++ ac_netcdf_libraries="-L$withval/lib" ++ ]) ++fi + + all_includes_save="$all_includes" + all_includes="$all_includes $ac_netcdf_includes" |