diff options
author | maho <maho@FreeBSD.org> | 2007-01-10 19:49:57 +0800 |
---|---|---|
committer | maho <maho@FreeBSD.org> | 2007-01-10 19:49:57 +0800 |
commit | 6ecb9f82679234a62a0611ea8c94023ce932b60e (patch) | |
tree | 5941001b85ca62df5b5a3de5990864f56b3b8226 /math | |
parent | 3fe0d5892c1ae832e45ee59aae2686db0d18644f (diff) | |
download | freebsd-ports-gnome-6ecb9f82679234a62a0611ea8c94023ce932b60e.tar.gz freebsd-ports-gnome-6ecb9f82679234a62a0611ea8c94023ce932b60e.tar.zst freebsd-ports-gnome-6ecb9f82679234a62a0611ea8c94023ce932b60e.zip |
* Migrate to gfortran.
* Bump port revision.
* Use gfortran compiled atlas/blas/lapack.
Diffstat (limited to 'math')
-rw-r--r-- | math/octave-devel/Makefile | 22 | ||||
-rw-r--r-- | math/octave-devel/files/patch-src+Makefile.in | 8 |
2 files changed, 20 insertions, 10 deletions
diff --git a/math/octave-devel/Makefile b/math/octave-devel/Makefile index 29e0273a4d37..f6e8cc6d7057 100644 --- a/math/octave-devel/Makefile +++ b/math/octave-devel/Makefile @@ -7,6 +7,7 @@ PORTNAME= octave PORTVERSION= 2.9.9 +PORTREVISION= 1 CATEGORIES= math MASTER_SITES= ftp://ftp.octave.org/pub/octave/bleeding-edge/ \ ftp://ftp.eos.hokudai.ac.jp/pub/GNU/misc/octave/bleeding-edge/\ @@ -18,11 +19,11 @@ COMMENT= Developer's version of math/octave BUILD_DEPENDS= gnuplot:${PORTSDIR}/math/gnuplot \ gperf:${PORTSDIR}/devel/gperf \ - ${LOCALBASE}/lib/libglpk.a:${PORTSDIR}/math/glpk \ - ${LOCALBASE}/lib/libcxsparse.a:${PORTSDIR}/math/suitesparse + ${LOCALBASE}/lib/libglpk.a:${PORTSDIR}/math/glpk RUN_DEPENDS= gnuplot:${PORTSDIR}/math/gnuplot LIB_DEPENDS= fftw3:${PORTSDIR}/math/fftw3 \ - hdf5:${PORTSDIR}/science/hdf5 + hdf5:${PORTSDIR}/science/hdf5 \ + umfpack.1:${PORTSDIR}/math/suitesparse LATEST_LINK= octave-devel @@ -41,16 +42,23 @@ MAN1= octave.1 octave-bug.1 mkoctfile.1 octave-config.1 WITH_ATLAS= yes .endif .if defined(WITH_ATLAS) -LIB_DEPENDS+= atlas.1:${PORTSDIR}/math/atlas -BLAS= -lf77blas -lcblas -latlas +LIB_DEPENDS+= atlas.2:${PORTSDIR}/math/atlas +BLAS= -lf77blas -latlas LAPACK= -lalapack .else -LIB_DEPENDS+= blas.1:${PORTSDIR}/math/blas -LIB_DEPENDS+= lapack.3:${PORTSDIR}/math/lapack +LIB_DEPENDS+= blas.2:${PORTSDIR}/math/blas +LIB_DEPENDS+= lapack.4:${PORTSDIR}/math/lapack BLAS= -lblas LAPACK= -llapack .endif +WANT_FORTRAN= yes +#workaround optimization bug in gcc42, not gfortran42 +#USE_GCC=4.2+ +BUILD_DEPENDS+= gfortran42:${PORTSDIR}/lang/gcc42 +FC= gfortran42 +F77= gfortran42 + OCTAVE_VERSION= ${PORTVERSION} GNU_HOST= ${ARCH}-portbld-freebsd${OSREL} PLIST_SUB= OCTAVE_VERSION=${OCTAVE_VERSION} GNU_HOST=${GNU_HOST} diff --git a/math/octave-devel/files/patch-src+Makefile.in b/math/octave-devel/files/patch-src+Makefile.in index e65433ef1cf4..5da6b5d58a88 100644 --- a/math/octave-devel/files/patch-src+Makefile.in +++ b/math/octave-devel/files/patch-src+Makefile.in @@ -1,6 +1,8 @@ ---- src/Makefile.in~ Fri Jun 9 05:37:29 2006 -+++ src/Makefile.in Tue Jul 4 17:45:18 2006 -@@ -311,7 +311,7 @@ +for gendoc part, http://gcc.gnu.org/bugzilla/show_bug.cgi?id=30423 + +--- src/Makefile.in.orig Sat Sep 30 03:20:15 2006 ++++ src/Makefile.in Wed Jan 10 19:26:54 2007 +@@ -313,7 +313,7 @@ $(OCTAVE_LIBS) \ $(LEXLIB) $(UMFPACK_LIBS) $(AMD_LIBS) $(COLAMD_LIBS) \ $(CHOLMOD_LIBS) $(CCOLAMD_LIBS) $(CXSPARSE_LIBS) $(BLAS_LIBS) \ |