Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 10 Feb 2007 01:24:23 +0800 (CST)
From:      CHAO Shin <quakelee@cn.freebsd.org>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/108982: [PATCH] science/hdf5
Message-ID:  <200702091724.l19HON0J068458@tarsier.delphij.net>
Resent-Message-ID: <200702091730.l19HU1NZ003760@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>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@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@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:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200702091724.l19HON0J068458>