aboutsummaryrefslogtreecommitdiffstats
path: root/science
diff options
context:
space:
mode:
authorlippe <lippe@FreeBSD.org>2008-10-19 23:59:53 +0800
committerlippe <lippe@FreeBSD.org>2008-10-19 23:59:53 +0800
commitd3b569566cf678e9020a12465a5f1b7c3914df9b (patch)
tree488a8f7034128593da6d199e26c7f04a004fbe1f /science
parentec2701ad88cafa4ebe6528f40b42f60b2c5a068c (diff)
downloadfreebsd-ports-gnome-d3b569566cf678e9020a12465a5f1b7c3914df9b.tar.gz
freebsd-ports-gnome-d3b569566cf678e9020a12465a5f1b7c3914df9b.tar.zst
freebsd-ports-gnome-d3b569566cf678e9020a12465a5f1b7c3914df9b.zip
- 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)
Diffstat (limited to 'science')
-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