summaryrefslogtreecommitdiff
path: root/science/silo
diff options
context:
space:
mode:
authorFelippe de Meirelles Motta <lippe@FreeBSD.org>2008-10-19 15:59:53 +0000
committerFelippe de Meirelles Motta <lippe@FreeBSD.org>2008-10-19 15:59:53 +0000
commitc3afa705b2d6e87b7a9180093e1313878c7a6bef (patch)
tree19d31a161aa412e9246344261d4d5851d8e08dfe /science/silo
parentFirefly (mt-daapd) is an open-source media server for the Roku SoundBridge (diff)
- 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. PR: ports/127099 Submitted by: Pedro F. Giffuni <giffunip@tutopia.com> (maintainer)
Notes
Notes: svn path=/head/; revision=221798
Diffstat (limited to 'science/silo')
-rw-r--r--science/silo/Makefile9
1 files changed, 4 insertions, 5 deletions
diff --git a/science/silo/Makefile b/science/silo/Makefile
index 3a9e251df495..3501fa26e83c 100644
--- a/science/silo/Makefile
+++ b/science/silo/Makefile
@@ -38,7 +38,7 @@ LIBSILO= Silo
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 @@ CONFIGURE_ARGS+= --disable-fortran
.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 @@ CONFIGURE_ARGS+= --enable-optimization
.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