ports/127099: science/silo: minor cleanups
Pedro F. Giffuni
giffunip at tutopia.com
Fri Sep 5 01:00:06 UTC 2008
>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 at 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:
More information about the freebsd-ports-bugs
mailing list