From owner-freebsd-ports-bugs@FreeBSD.ORG Fri Sep 5 01:00:06 2008 Return-Path: Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 639881065670 for ; Fri, 5 Sep 2008 01:00:06 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 40D5D8FC20 for ; Fri, 5 Sep 2008 01:00:06 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.14.2/8.14.2) with ESMTP id m851066i074296 for ; Fri, 5 Sep 2008 01:00:06 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.2/8.14.1/Submit) id m85106KR074295; Fri, 5 Sep 2008 01:00:06 GMT (envelope-from gnats) Resent-Date: Fri, 5 Sep 2008 01:00:06 GMT Resent-Message-Id: <200809050100.m85106KR074295@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ports-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, "Pedro F. Giffuni" Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 921FA1065675 for ; Fri, 5 Sep 2008 00:55:20 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (www.freebsd.org [IPv6:2001:4f8:fff6::21]) by mx1.freebsd.org (Postfix) with ESMTP id 81FEA8FC15 for ; Fri, 5 Sep 2008 00:55:20 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (localhost [127.0.0.1]) by www.freebsd.org (8.14.2/8.14.2) with ESMTP id m850tKtS074787 for ; Fri, 5 Sep 2008 00:55:20 GMT (envelope-from nobody@www.freebsd.org) Received: (from nobody@localhost) by www.freebsd.org (8.14.2/8.14.1/Submit) id m850tKud074786; Fri, 5 Sep 2008 00:55:20 GMT (envelope-from nobody) Message-Id: <200809050055.m850tKud074786@www.freebsd.org> Date: Fri, 5 Sep 2008 00:55:20 GMT From: "Pedro F. Giffuni" To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-3.1 Cc: Subject: ports/127099: science/silo: minor cleanups X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 05 Sep 2008 01:00:06 -0000 >Number: 127099 >Category: ports >Synopsis: science/silo: minor cleanups >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: maintainer-update >Submitter-Id: current-users >Arrival-Date: Fri Sep 05 01:00:05 UTC 2008 >Closed-Date: >Last-Modified: >Originator: Pedro F. Giffuni >Release: 7.0-Release >Organization: >Environment: FreeBSD kakumen.cable.net.co 7.0-RELEASE-p3 FreeBSD 7.0-RELEASE-p3 #0: Fri Aug 8 16:42:27 COT 2008 root@kakumen.cable.net.co:/usr/src/sys/amd64/compile/GENERIC amd64 >Description: - Cleanup the Makefile OPTIONS and correct some typos. - This is in order to prepare for the update (which currently fails some regression tests). - No functional change. >How-To-Repeat: >Fix: diff -ruN silo.orig/Makefile silo/Makefile --- silo.orig/Makefile 2008-09-03 21:23:23.000000000 -0500 +++ silo/Makefile 2008-09-04 19:51:53.000000000 -0500 @@ -38,7 +38,7 @@ PLIST_SUB+= WITH_PYTHON="@comment " .endif -.ifdef WITH_FORTRAN +.ifdef WITH_HDF5 USE_FORTRAN= yes CONFIGURE_ENV+= ${MAKE_ENV} CONFIGURE_ARGS+= --enable-fortran @@ -48,15 +48,14 @@ .ifdef WITH_HDF5 LIB_DEPENDS+= hdf5.0:${PORTSDIR}/science/hdf5 -CONFIGURE_ARGS= --with-hdf5=${LOCALBASE} +CONFIGURE_ARGS= --with-hdf5=${LOCALBASE}/include,${LOCALBASE}/lib PLIST_SUB+= WITH_HDF5="" -PLIST_SUB+= WITH_HDF5="@comment " +PLIST_SUB+= WITH_NCDF="@comment " LIBSILO= libsiloh5 .else PLIST_SUB+= WITH_HDF5="@comment " PLIST_SUB+= WITH_NCDF="" LIBSILO= libsilo - .endif .ifdef WITH_OPTIMIZATION @@ -64,7 +63,7 @@ .endif post-install: - @${RM} ${PREFIX}/lib/libsilo.settings + @${RM} ${PREFIX}/lib/libsilo*.settings @${MV} ${PREFIX}/lib/${LIBSILO}.so ${PREFIX}/lib/${LIBSILO}.so.4 @${LN} -sf ${PREFIX}/lib/${LIBSILO}.so.4 ${PREFIX}/lib/${LIBSILO}.so >Release-Note: >Audit-Trail: >Unformatted: