From ab01e5a9a1d046064d1ec891a9855231877d4d45 Mon Sep 17 00:00:00 2001 From: Greg Lewis Date: Sat, 19 Mar 2005 22:10:16 +0000 Subject: [PATCH] . Add an explicit -lm when linking hdiff, required by gcc 3.4. This should fix the build on 5.x. Reported by: mich, lofi --- science/hdf/files/patch-mfhdf-hdiff-Makefile.in | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 science/hdf/files/patch-mfhdf-hdiff-Makefile.in diff --git a/science/hdf/files/patch-mfhdf-hdiff-Makefile.in b/science/hdf/files/patch-mfhdf-hdiff-Makefile.in new file mode 100644 index 000000000000..56838295ad3c --- /dev/null +++ b/science/hdf/files/patch-mfhdf-hdiff-Makefile.in @@ -0,0 +1,13 @@ +$FreeBSD$ + +--- mfhdf/hdiff/Makefile.in.orig Sat Mar 19 15:02:26 2005 ++++ mfhdf/hdiff/Makefile.in Sat Mar 19 15:03:32 2005 +@@ -250,7 +250,7 @@ + -test -z "$(noinst_PROGRAMS)" || rm -f $(noinst_PROGRAMS) + hdiff$(EXEEXT): $(hdiff_OBJECTS) $(hdiff_DEPENDENCIES) + @rm -f hdiff$(EXEEXT) +- $(LINK) $(hdiff_LDFLAGS) $(hdiff_OBJECTS) $(hdiff_LDADD) $(LIBS) ++ $(LINK) $(hdiff_LDFLAGS) $(hdiff_OBJECTS) $(hdiff_LDADD) $(LIBS) -lm + hdifftst$(EXEEXT): $(hdifftst_OBJECTS) $(hdifftst_DEPENDENCIES) + @rm -f hdifftst$(EXEEXT) + $(LINK) $(hdifftst_LDFLAGS) $(hdifftst_OBJECTS) $(hdifftst_LDADD) $(LIBS)