aboutsummaryrefslogtreecommitdiff
path: root/science/hdf5-18
diff options
context:
space:
mode:
authorNicola Vitale <nivit@FreeBSD.org>2007-02-10 18:41:54 +0000
committerNicola Vitale <nivit@FreeBSD.org>2007-02-10 18:41:54 +0000
commit4202f6772374e2a7bb2c8290f76fc5ee6354576d (patch)
tree1a41cd8fe7fbc960868deb6f5ab87416d061c522 /science/hdf5-18
parentba9aeed6dae2ab44f04ebbf13a413bceaf0054db (diff)
downloadports-4202f6772374e2a7bb2c8290f76fc5ee6354576d.tar.gz
ports-4202f6772374e2a7bb2c8290f76fc5ee6354576d.zip
Notes
Diffstat (limited to 'science/hdf5-18')
-rw-r--r--science/hdf5-18/Makefile7
1 files changed, 6 insertions, 1 deletions
diff --git a/science/hdf5-18/Makefile b/science/hdf5-18/Makefile
index 16b597eb7688..9fef5beb71a6 100644
--- a/science/hdf5-18/Makefile
+++ b/science/hdf5-18/Makefile
@@ -14,6 +14,8 @@ MASTER_SITES= ftp://hdf.ncsa.uiuc.edu/pub/outgoing/hdf5/${PORTVERSION}/
MAINTAINER= koziol@ncsa.uiuc.edu
COMMENT= Hierarchical Data Format library (from NCSA)
+USE_LDCONFIG= yes
+USE_AUTOTOOLS= libtool:15
GNU_CONFIGURE= yes
LIBTOOLFILES= configure c++/configure
CONFIGURE_TARGET= --build=${ARCH}-portbld-freebsd${OSREL}
@@ -21,7 +23,6 @@ CONFIGURE_ARGS= --enable-cxx --enable-production \
--enable-threadsafe --disable-debug \
--with-pthread
ALL_TARGET= lib progs
-INSTALLS_SHLIB= yes
.include <bsd.port.pre.mk>
@@ -34,6 +35,10 @@ post-patch:
s|[\$$]LDFLAGS -pthread|\$$LDFLAGS ${PTHREAD_LIBS}|g' \
${WRKSRC}/c++/config/freebsd
@${REINPLACE_CMD} -e 's|-O3||g' ${WRKSRC}/config/gnu-flags
+ @${REINPLACE_CMD} -e 's|objformat=|#objformat=|g' ${WRKSRC}/aclocal.m4
+ @${REINPLACE_CMD} -e 's|objformat=|#objformat=|g' ${WRKSRC}/configure
+ @${REINPLACE_CMD} -e '/version_type=freebsd-/s|=.*|=freebsd-elf|g' ${WRKSRC}/aclocal.m4
+ @${REINPLACE_CMD} -e '/version_type=freebsd-/s|=.*|=freebsd-elf|g' ${WRKSRC}/configure
post-install:
.for i in gif2h5 h52gif h5debug h5diff h5dump h5import h5ls h5repart h5jam h5unjam