diff options
author | Max Brazhnikov <makc@FreeBSD.org> | 2010-08-01 12:15:44 +0000 |
---|---|---|
committer | Max Brazhnikov <makc@FreeBSD.org> | 2010-08-01 12:15:44 +0000 |
commit | b052c29e52bd7f4ab68e050dadc6d3f3d51c1409 (patch) | |
tree | 60c51104641ffd2083e030d7d7d0684d3793a4be /math/octave | |
parent | 9483c4f2b2c9f7640854e4342b95819b4c2dd61d (diff) | |
download | ports-b052c29e52bd7f4ab68e050dadc6d3f3d51c1409.tar.gz ports-b052c29e52bd7f4ab68e050dadc6d3f3d51c1409.zip |
Notes
Diffstat (limited to 'math/octave')
-rw-r--r-- | math/octave/Makefile | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/math/octave/Makefile b/math/octave/Makefile index ba1c16c056e7..9d377842618e 100644 --- a/math/octave/Makefile +++ b/math/octave/Makefile @@ -23,7 +23,6 @@ RUN_DEPENDS= gnuplot:${PORTSDIR}/math/gnuplot \ gsed:${PORTSDIR}/textproc/gsed LIB_DEPENDS= fftw3:${PORTSDIR}/math/fftw3 \ glpk.28:${PORTSDIR}/math/glpk \ - hdf5:${PORTSDIR}/science/hdf5 \ umfpack.1:${PORTSDIR}/math/suitesparse \ qhull:${PORTSDIR}/math/qhull \ arpack:${PORTSDIR}/math/arpack \ @@ -43,8 +42,16 @@ USE_AUTOTOOLS= autoconf:262 INFO= octave liboctave MAN1= octave.1 octave-bug.1 mkoctfile.1 octave-config.1 +OPTIONS= LEGACY_HDF5 "Build with HDF5 v1.6 (otherwise with HDF5 v1.8)" on + .include <bsd.port.pre.mk> +.if defined(WITHOUT_LEGACY_HDF5) +LIB_DEPENDS+= hdf5:${PORTSDIR}/science/hdf5-18 +.else +LIB_DEPENDS+= hdf5:${PORTSDIR}/science/hdf5 +.endif + USE_BLAS?= reference .if exists(${LOCALBASE}/lib/libgoto2.so) |