Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 5 Sep 2008 00:55:20 GMT
From:      "Pedro F. Giffuni" <giffunip@tutopia.com>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/127099: science/silo: minor cleanups
Message-ID:  <200809050055.m850tKud074786@www.freebsd.org>
Resent-Message-ID: <200809050100.m85106KR074295@freefall.freebsd.org>

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

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



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