summaryrefslogtreecommitdiff
path: root/devel/hdf5/Makefile
diff options
context:
space:
mode:
authordrochner <drochner@pkgsrc.org>2006-02-10 19:56:13 +0000
committerdrochner <drochner@pkgsrc.org>2006-02-10 19:56:13 +0000
commit18f2bc3a2d132d5c32ce2ca36efaddb877f48679 (patch)
tree1f4658023d7abfd617e8b5244bec0accad8c1dd7 /devel/hdf5/Makefile
parentddfb21737fb2c171d60e6cec038d4c5e2bd8cfb8 (diff)
downloadpkgsrc-18f2bc3a2d132d5c32ce2ca36efaddb877f48679.tar.gz
-fix MASTER_SITES and distinfo cksum
-make NetBSD ("netbsdelf") a recognized configuration, copied from "freebsd"; this pulls in definitions for gcc, in particular it disables some optimization -work around a memory corruption problem in H5FDstream which appearently is caused by use of free()d memory The latter 2 changes make the library survive its selftests, and help the "pytables" pkg as well. bump PKGREVISION, raise BUILDLINK_RECOMMENDED
Diffstat (limited to 'devel/hdf5/Makefile')
-rw-r--r--devel/hdf5/Makefile11
1 files changed, 7 insertions, 4 deletions
diff --git a/devel/hdf5/Makefile b/devel/hdf5/Makefile
index aa32fced1af..f5fa5d4217b 100644
--- a/devel/hdf5/Makefile
+++ b/devel/hdf5/Makefile
@@ -1,10 +1,9 @@
-# $NetBSD: Makefile,v 1.32 2006/01/04 06:05:44 recht Exp $
+# $NetBSD: Makefile,v 1.33 2006/02/10 19:56:13 drochner Exp $
DISTNAME= hdf5-1.6.5
+PKGREVISION= 1
CATEGORIES= devel
-MASTER_SITES= ftp://ftp.ncsa.uiuc.edu/HDF/HDF5/hdf5-1.6.4/src/ \
- ftp://sunsite.doc.ic.ac.uk/packages/HDF/HDF5/hdf5-1.6.4/src/ \
- http://www.go.dlr.de/fresh/unix/src/misc/
+MASTER_SITES= ftp://ftp.ncsa.uiuc.edu/HDF/HDF5/hdf5-1.6.5/src/
MAINTAINER= tech-pkg@NetBSD.org
HOMEPAGE= http://hdf.ncsa.uiuc.edu/HDF5/
@@ -14,6 +13,7 @@ USE_LIBTOOL= yes
USE_TOOLS+= tr
GNU_CONFIGURE= yes
TEST_TARGET= check
+#CONFIGURE_ARGS+= --disable-production --enable-debug
# it appears that this file is informative only and is not actually
# used by any installed tools
@@ -21,6 +21,9 @@ CHECK_WRKREF_SKIP= ${PREFIX}/lib/libhdf5.settings
.include "options.mk"
+post-extract:
+ ${CP} ${WRKSRC}/config/freebsd ${WRKSRC}/config/netbsdelf
+
post-install:
${INSTALL_SCRIPT} ${WRKSRC}/tools/misc/h5cc ${PREFIX}/bin
${INSTALL_SCRIPT} ${WRKSRC}/tools/misc/h5redeploy.in ${PREFIX}/bin/h5redeploy