ports/108982: [PATCH] science/hdf5
CHAO Shin
quakelee at cn.freebsd.org
Fri Feb 9 17:30:02 UTC 2007
>Number: 108982
>Category: ports
>Synopsis: [PATCH] science/hdf5
>Confidential: no
>Severity: serious
>Priority: low
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: sw-bug
>Submitter-Id: current-users
>Arrival-Date: Fri Feb 09 17:30:00 GMT 2007
>Closed-Date:
>Last-Modified:
>Originator: CHAO Shin
>Release: FreeBSD 7.0-current amd64
>Organization:
The FreeBSD Simplified Chinese Project
>Environment:
System: FreeBSD portyard.sysdept.sina.com.cn 7.0-CURRENT FreeBSD 7.0-CURRENT #0: Thu Feb 1 19:02:06 CST 2007 root at portyard.sysdept.sina.com.cn:/usr/obj/usr/src/sys/GX270 i386
>Description:
Fix the objformat problem
>How-To-Repeat:
>Fix:
--- patch-hdf5.diff begins here ---
Index: Makefile
===================================================================
RCS file: /home/ncvs/ports/science/hdf5/Makefile,v
retrieving revision 1.36
diff -a -u -r1.36 Makefile
--- Makefile 7 May 2006 13:32:25 -0000 1.36
+++ Makefile 9 Feb 2007 16:39:29 -0000
@@ -14,6 +14,8 @@
MAINTAINER= koziol at 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 @@
--enable-threadsafe --disable-debug \
--with-pthread
ALL_TARGET= lib progs
-INSTALLS_SHLIB= yes
.include <bsd.port.pre.mk>
@@ -34,6 +35,10 @@
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
--- patch-hdf5.diff ends here ---
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list