summaryrefslogtreecommitdiff
path: root/devel/hdf
diff options
context:
space:
mode:
authorjoerg <joerg@pkgsrc.org>2006-01-09 19:27:19 +0000
committerjoerg <joerg@pkgsrc.org>2006-01-09 19:27:19 +0000
commit022a2d6e5b7826e70734f2a930d116edd3c6f503 (patch)
tree3f59188f54ef5524de5b3367f3a7e4dc9b93e6a2 /devel/hdf
parent3ff476371165c767832ece1c043702b619e6225b (diff)
downloadpkgsrc-022a2d6e5b7826e70734f2a930d116edd3c6f503.tar.gz
Add DrgaonFly support. Link hdiff explicitly against -lm, it uses sqrt.
Diffstat (limited to 'devel/hdf')
-rw-r--r--devel/hdf/distinfo5
-rw-r--r--devel/hdf/patches/patch-aa13
-rw-r--r--devel/hdf/patches/patch-ba5
3 files changed, 19 insertions, 4 deletions
diff --git a/devel/hdf/distinfo b/devel/hdf/distinfo
index 1362171d5f2..58fb78098e1 100644
--- a/devel/hdf/distinfo
+++ b/devel/hdf/distinfo
@@ -1,12 +1,13 @@
-$NetBSD: distinfo,v 1.7 2005/02/24 16:25:38 adam Exp $
+$NetBSD: distinfo,v 1.8 2006/01/09 19:27:19 joerg Exp $
SHA1 (HDF4.2r1.tar.gz) = 8a9259a22180204a27d8dca3581614066fc6dcd3
RMD160 (HDF4.2r1.tar.gz) = 1a0b7b4bf2a60d32d1e3ed69d40bf23dce912331
Size (HDF4.2r1.tar.gz) = 3911745 bytes
+SHA1 (patch-aa) = a75647eb554a9e9ef4411b3e9675dab3e9137001
SHA1 (patch-ai) = ca2ea7f69d201fb5fd9b4b43201b96aec5c9c0d8
SHA1 (patch-aj) = a3e96cdeebfaf54b25df94742d1fd9a13b85362f
SHA1 (patch-ao) = cf461ca847ddef05c4876fe3527beda3242ee2f2
SHA1 (patch-ap) = b7d704321653cbf95d8784c6364b880bdc8d67df
SHA1 (patch-ar) = 5fbb6e8c56ccf05db0217e9551a0c72ecd9f5c06
SHA1 (patch-as) = b4fa7cd3bcafd75c9bfc045c2849bde21becd2de
-SHA1 (patch-ba) = a5df16f8f577d8ce45e590e37f24ade88684afda
+SHA1 (patch-ba) = 9404fe52de7111b358145a2e99306fe52471cfd6
diff --git a/devel/hdf/patches/patch-aa b/devel/hdf/patches/patch-aa
new file mode 100644
index 00000000000..2d181d87460
--- /dev/null
+++ b/devel/hdf/patches/patch-aa
@@ -0,0 +1,13 @@
+$NetBSD: patch-aa,v 1.3 2006/01/09 19:27:19 joerg Exp $
+
+--- mfhdf/hdiff/Makefile.in.orig 2006-01-09 19:22:02.000000000 +0000
++++ mfhdf/hdiff/Makefile.in
+@@ -189,7 +189,7 @@ am_hdiff_OBJECTS = hdiff.$(OBJEXT) hdiff
+ hdiff_misc.$(OBJEXT) hdiff_sds.$(OBJEXT) hdiff_table.$(OBJEXT) \
+ hdiff_vs.$(OBJEXT)
+ hdiff_OBJECTS = $(am_hdiff_OBJECTS)
+-hdiff_LDFLAGS =
++hdiff_LDFLAGS = -lm
+ am_hdifftst_OBJECTS = hdifftst.$(OBJEXT)
+ hdifftst_OBJECTS = $(am_hdifftst_OBJECTS)
+ hdifftst_LDFLAGS =
diff --git a/devel/hdf/patches/patch-ba b/devel/hdf/patches/patch-ba
index 2ddd1b23808..f00131b55f7 100644
--- a/devel/hdf/patches/patch-ba
+++ b/devel/hdf/patches/patch-ba
@@ -1,12 +1,13 @@
-$NetBSD: patch-ba,v 1.2 2005/02/24 16:25:38 adam Exp $
+$NetBSD: patch-ba,v 1.3 2006/01/09 19:27:19 joerg Exp $
--- configure.orig 2005-02-08 18:29:27.000000000 +0000
+++ configure
-@@ -7515,6 +7515,7 @@ case "$host" in
+@@ -7515,6 +7515,8 @@ case "$host" in
mips*-sgi-irix4*) BAR="irix4" ;;
*-linux*) BAR="linux" ;;
*-freebsd*) BAR="fbsd" ;;
+ *-netbsd*) BAR="fbsd" ;;
++ *-dragonfly*) BAR="fbsd" ;;
ia64-*-*) BAR="ia64" ;;
*-ibm-aix*) BAR="aix" ;;
i386-*-solaris2*) BAR="solarisx86" ;;