hi,

this update fixes MASTER_SITES and enables use of the fftw3 library.
doesn't break anything on i386.


Index: Makefile
===================================================================
RCS file: /cvs/ports/math/octave/Makefile,v
retrieving revision 1.9
diff -u -r1.9 Makefile
--- Makefile    2 Nov 2005 18:20:58 -0000       1.9
+++ Makefile    4 Nov 2005 20:44:31 -0000
@@ -6,6 +6,7 @@
 
 VERSION=       2.1.71
 DISTNAME=      octave-${VERSION}
+PKGNAME=       ${DISTNAME}p0
 CATEGORIES=    math
 
 HOMEPAGE=      http://www.octave.org/
@@ -21,15 +22,16 @@
 WANTLIB=       c g2c m ncurses readline stdc++
 
 MASTER_SITES=  ftp://ftp.octave.org/pub/octave/ \
-               ftp://ftp.eos.hokudai.ac.jp/pub/GNU/misc/octave \
+               ftp://ftp.eos.hokudai.ac.jp/pub/GNU/misc/octave/ \
                ftp://neacm.fe.up.pt/pub/octave/ \
-               ftp://ftp.u-aizu.ac.jp/pub/SciEng/numanal/Octave
+               ftp://ftp.u-aizu.ac.jp/pub/SciEng/numanal/Octave/
 
 MODULES=       gcc3
 MODGCC3_ARCHES=        alpha sparc
 MODGCC3_LANGS= C++
 BUILD_DEPENDS= ::print/teTeX/base \
                ::textproc/texi2html
+LIB_DEPENDS=   fftw3.3::math/fftw3
 REGRESS_DEPENDS=::devel/dejagnu
 
 USE_GMAKE=     Yes
@@ -37,7 +39,12 @@
 SEPARATE_BUILD=        simple
 CONFIGURE_STYLE=autoconf
 AUTOCONF_VERSION=2.59
-CONFIGURE_ARGS=        ${CONFIGURE_SHARED}
+CONFIGURE_ARGS=        ${CONFIGURE_SHARED} \
+               --with-fftw \
+               --without-mpi \
+               --without-hdf5
+CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
+               LDFLAGS="-L${LOCALBASE}/lib"
 MAKE_ENV=      SHLIB_VER=${SHLIB_VER}
 
 # need shared library version for machines which support shared libraries.

Disclaimer: http://www.kuleuven.be/cwis/email_disclaimer.htm

Reply via email to