diff options
author | maho <maho@FreeBSD.org> | 2009-08-07 12:16:17 +0800 |
---|---|---|
committer | maho <maho@FreeBSD.org> | 2009-08-07 12:16:17 +0800 |
commit | 31ce29b4b4db2301885504a66f601b09181afe22 (patch) | |
tree | c69a4ba2a30854ed12a1403be4405fd4594f09d7 /math | |
parent | 753b6f8acd8eb1db1b1b4f1d36b816328613aa79 (diff) | |
download | freebsd-ports-gnome-31ce29b4b4db2301885504a66f601b09181afe22.tar.gz freebsd-ports-gnome-31ce29b4b4db2301885504a66f601b09181afe22.tar.zst freebsd-ports-gnome-31ce29b4b4db2301885504a66f601b09181afe22.zip |
Detect arpack correctly for BLAS and ATLAS, and bump port revision.
Submitted by: Robert Jenssen <robertjenssen@ozemail.com.au>
Diffstat (limited to 'math')
-rw-r--r-- | math/octave/Makefile | 2 | ||||
-rw-r--r-- | math/octave/files/patch-configure.in | 15 |
2 files changed, 13 insertions, 4 deletions
diff --git a/math/octave/Makefile b/math/octave/Makefile index 4386c186faaa..cee9fc575fbf 100644 --- a/math/octave/Makefile +++ b/math/octave/Makefile @@ -7,7 +7,7 @@ PORTNAME= octave PORTVERSION= 3.2.2 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= math MASTER_SITES= ftp://ftp.octave.org/pub/octave/ \ ftp://ftp.u-aizu.ac.jp/pub/SciEng/numanal/Octave/bleeding-edge/ diff --git a/math/octave/files/patch-configure.in b/math/octave/files/patch-configure.in index 10530030c0da..1548cc521dac 100644 --- a/math/octave/files/patch-configure.in +++ b/math/octave/files/patch-configure.in @@ -1,6 +1,6 @@ ---- configure.in~ 2008-07-22 10:30:06.000000000 +0900 -+++ configure.in 2008-09-22 15:04:07.000000000 +0900 -@@ -855,9 +855,10 @@ +--- configure.in 2009-05-26 20:38:48.000000000 +0900 ++++ configure.in 2009-08-07 13:12:41.000000000 +0900 +@@ -890,9 +890,10 @@ ### Checks for BLAS and LAPACK libraries: # (Build subdirectories of libcruft if they aren't found on the system.) sinclude(acx_blas.m4) @@ -13,3 +13,12 @@ ACX_LAPACK([BLAS_LIBS="$LAPACK_LIBS $BLAS_LIBS"], [LAPACK_DIR="lapack"]) AC_SUBST(BLAS_DIR) AC_SUBST(LAPACK_DIR) +@@ -1120,7 +1121,7 @@ + warn_arpack="arpack not found. This will result in a lack of the eigs function." + if test "$with_arpack" = yes; then + with_arpack=no +- AC_CHECK_LIB(arpack, F77_FUNC(dseupd,DSEUPD), [ARPACK_LIBS="-larpack"; with_arpack=yes], , $LAPACK_LIBS $FLIBS) ++ AC_CHECK_LIB(arpack, F77_FUNC(dseupd,DSEUPD), [ARPACK_LIBS="-larpack"; with_arpack=yes], , $BLAS_LIBS $LAPACK_LIBS $FLIBS) + if test "$with_arpack" = yes; then + AC_DEFINE(HAVE_ARPACK, 1, [Define if the ARPACK library is used.]) + warn_arpack= |