diff options
author | Maho Nakata <maho@FreeBSD.org> | 2009-08-07 04:16:17 +0000 |
---|---|---|
committer | Maho Nakata <maho@FreeBSD.org> | 2009-08-07 04:16:17 +0000 |
commit | 27975327d51f76becba3229d33511f10ea238f42 (patch) | |
tree | e619f5a3a0cbbee0663bf32d40c57224a5a6508c /math/octave | |
parent | 487711fb06b328b49c510c75752ab1af7bc6e268 (diff) | |
download | ports-27975327d51f76becba3229d33511f10ea238f42.tar.gz ports-27975327d51f76becba3229d33511f10ea238f42.zip |
Detect arpack correctly for BLAS and ATLAS, and bump port revision.
Submitted by: Robert Jenssen <robertjenssen@ozemail.com.au>
Notes
Notes:
svn path=/head/; revision=239056
Diffstat (limited to 'math/octave')
-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= |