diff options
author | Felippe de Meirelles Motta <lippe@FreeBSD.org> | 2008-10-19 15:59:53 +0000 |
---|---|---|
committer | Felippe de Meirelles Motta <lippe@FreeBSD.org> | 2008-10-19 15:59:53 +0000 |
commit | c3afa705b2d6e87b7a9180093e1313878c7a6bef (patch) | |
tree | 19d31a161aa412e9246344261d4d5851d8e08dfe /science/silo/Makefile | |
parent | d19fd1a9a0dedd00ae0ddab42b32e13da11ba8b2 (diff) | |
download | ports-c3afa705b2d6e87b7a9180093e1313878c7a6bef.tar.gz ports-c3afa705b2d6e87b7a9180093e1313878c7a6bef.zip |
Notes
Diffstat (limited to 'science/silo/Makefile')
-rw-r--r-- | science/silo/Makefile | 9 |
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 |