aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorglewis <glewis@FreeBSD.org>2005-03-20 06:10:16 +0800
committerglewis <glewis@FreeBSD.org>2005-03-20 06:10:16 +0800
commit2f42aea80caa01ffcd17e6a08184b81f612a1d5a (patch)
tree0a5f7b21776b838d9757eae1eabeb93107889de9
parent94b7f47b06e5269c2433451048b996d0f4eff3ef (diff)
downloadfreebsd-ports-gnome-2f42aea80caa01ffcd17e6a08184b81f612a1d5a.tar.gz
freebsd-ports-gnome-2f42aea80caa01ffcd17e6a08184b81f612a1d5a.tar.zst
freebsd-ports-gnome-2f42aea80caa01ffcd17e6a08184b81f612a1d5a.zip
. Add an explicit -lm when linking hdiff, required by gcc 3.4. This should
fix the build on 5.x. Reported by: mich, lofi
-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)