summaryrefslogtreecommitdiff
path: root/science
diff options
context:
space:
mode:
authorGreg Lewis <glewis@FreeBSD.org>2005-03-19 22:10:16 +0000
committerGreg Lewis <glewis@FreeBSD.org>2005-03-19 22:10:16 +0000
commitab01e5a9a1d046064d1ec891a9855231877d4d45 (patch)
treec2ceefb80862bd395e6555921d1e1ee772d2dc20 /science
parentNew port: devel/pear-XML_NITF PEAR NITF XML parser (diff)
. Add an explicit -lm when linking hdiff, required by gcc 3.4. This should
fix the build on 5.x. Reported by: mich, lofi
Notes
Notes: svn path=/head/; revision=131668
Diffstat (limited to 'science')
-rw-r--r--science/hdf/files/patch-mfhdf-hdiff-Makefile.in13
1 files changed, 13 insertions, 0 deletions
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)