pkgsrc/graphics/h5utils/patches/patch-aa
2009-12-10 17:35:45 +00:00

22 lines
871 B
Text

$NetBSD: patch-aa,v 1.3 2009/12/10 17:35:45 drochner Exp $
--- configure.orig 2009-06-12 23:23:44.000000000 +0200
+++ configure
@@ -4822,7 +4822,7 @@ if test "${ac_cv_lib_df_DFSDgetdata+set}
$as_echo_n "(cached) " >&6
else
ac_check_lib_save_LIBS=$LIBS
-LIBS="-ldf -ljpeg $LIBS"
+LIBS="-ldf -lsz -ljpeg $LIBS"
cat >conftest.$ac_ext <<_ACEOF
/* confdefs.h. */
_ACEOF
@@ -4882,7 +4882,7 @@ fi
{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_df_DFSDgetdata" >&5
$as_echo "$ac_cv_lib_df_DFSDgetdata" >&6; }
if test "x$ac_cv_lib_df_DFSDgetdata" = x""yes; then
- H4_LIBS="-ldf -ljpeg"; HDF4=yes
+ H4_LIBS="-ldf -lsz -ljpeg"; HDF4=yes
else
{ $as_echo "$as_me:$LINENO: WARNING: can't find libdf (HDF4): won't be able to compile h5fromh4 or h4fromh5" >&5
$as_echo "$as_me: WARNING: can't find libdf (HDF4): won't be able to compile h5fromh4 or h4fromh5" >&2;}