From: Danny van Dyk Date: Fri, 1 Oct 2004 00:11:00 +0000 (+0000) Subject: Late, but done... moved too virtual/blas + BUG 52604 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=d9a16d70f7f65febf3df31e82c6610968598fb37;p=gentoo.git Late, but done... moved too virtual/blas + BUG 52604 --- diff --git a/app-sci/octave/ChangeLog b/app-sci/octave/ChangeLog index 141fb08d8461..1b1fdac5be4a 100644 --- a/app-sci/octave/ChangeLog +++ b/app-sci/octave/ChangeLog @@ -1,6 +1,10 @@ # ChangeLog for app-sci/octave # Copyright 2002-2004 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/app-sci/octave/ChangeLog,v 1.34 2004/07/01 19:38:48 eradicator Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-sci/octave/ChangeLog,v 1.35 2004/10/01 00:11:00 kugelfang Exp $ + + 01 Oct 2004; Danny van Dyk octave-2.1.57-r1.ebuild: + Switched on blas use-flag as all arches have at least blas-atlas in testing + now. 01 Jul 2004; Jeremy Huddleston octave-2.1.36-r1.ebuild, octave-2.1.50.ebuild, octave-2.1.57-r1.ebuild, diff --git a/app-sci/octave/Manifest b/app-sci/octave/Manifest index d45278595f8d..793715c34ecd 100644 --- a/app-sci/octave/Manifest +++ b/app-sci/octave/Manifest @@ -1,12 +1,12 @@ -MD5 e7ef65c2be4a17b09a82a1950a07dd4d ChangeLog 5859 +MD5 8a3b4467c1e9017968a6801972b0d324 ChangeLog 6021 MD5 8c623e53daafa025137077c6b65815bd metadata.xml 156 MD5 2a52ead20f5e9a16b481e43fe9415104 octave-2.1.36-r1.ebuild 1934 MD5 d00195dbee48130da801eb1fb97a7a75 octave-2.1.50.ebuild 2128 -MD5 4acf2d3e409052640f5580598e532629 octave-2.1.57-r1.ebuild 2838 +MD5 f810275c0e7e48e6b2cd634a8f0d2c23 octave-2.1.57-r1.ebuild 2854 MD5 3b91b6ca6d7146d7d1973f1642d083c7 octave-2.1.57.ebuild 2195 +MD5 32c6cee1f5b42b8b20369c3722fb4db2 files/digest-octave-2.1.57-r1 67 MD5 c93a44a52d46ca6e8fed8c3c23877c0d files/digest-octave-2.1.36-r1 67 MD5 806a54605ad877d62105b2f58819c92d files/digest-octave-2.1.50 67 MD5 32c6cee1f5b42b8b20369c3722fb4db2 files/digest-octave-2.1.57 67 -MD5 32c6cee1f5b42b8b20369c3722fb4db2 files/digest-octave-2.1.57-r1 67 MD5 045463e5ebb1615d834a8145b27a765d files/filebuf.diff 1275 MD5 74d376b9c7367fe7b333cbc7e8ca37b3 files/kill-dvips.diff 2448 diff --git a/app-sci/octave/octave-2.1.57-r1.ebuild b/app-sci/octave/octave-2.1.57-r1.ebuild index a94ab9764c99..27e6642afdff 100644 --- a/app-sci/octave/octave-2.1.57-r1.ebuild +++ b/app-sci/octave/octave-2.1.57-r1.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2004 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/app-sci/octave/octave-2.1.57-r1.ebuild,v 1.7 2004/07/01 11:53:45 eradicator Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-sci/octave/octave-2.1.57-r1.ebuild,v 1.8 2004/10/01 00:11:00 kugelfang Exp $ inherit flag-o-matic @@ -12,8 +12,7 @@ SRC_URI="ftp://ftp.octave.org/pub/octave/bleeding-edge/${P}.tar.bz2 LICENSE="GPL-2" SLOT="0" KEYWORDS="~x86 ~ppc ~alpha ~sparc amd64" -IUSE="emacs static readline zlib tetex hdf5 mpi" -#IUSE="emacs static readline zlib tetex hdf5 mpi ifc blas" NOTE: Already added to use.local.desc. +IUSE="emacs static readline zlib tetex hdf5 mpi ifc blas" DEPEND="virtual/libc >=sys-libs/ncurses-5.2-r3 @@ -23,8 +22,8 @@ DEPEND="virtual/libc zlib? ( sys-libs/zlib ) hdf5? ( dev-libs/hdf5 ) tetex? ( virtual/tetex ) - x86? ( ifc? ( dev-lang/ifc ) )" -# blas? ( virtual/blas )" NOTE: Blas-* is not fully done. + x86? ( ifc? ( dev-lang/ifc ) ) + blas? ( virtual/blas )" # NOTE: octave supports blas/lapack from intel but this is not open # source nor is it free (as in beer OR speech) Check out... @@ -50,6 +49,11 @@ src_compile() { use hdf5 || myconf="${myconf} --without-hdf5" use mpi || myconf="${myconf} --without-mpi" + # Only add -lz to LDFLAGS if we have zlib in USE ! + # BUG #52604 + # Danny van Dyk 2004/08/26 + use zlib && LDFLAGS="${LDFLAGS} -lz" + # NOTE: This version actually works with gcc-3.x ./configure ${myconf} --prefix=/usr \ --sysconfdir=/etc \ @@ -61,7 +65,7 @@ src_compile() { --target=${CHOST} \ --enable-rpath \ --enable-lite-kernel \ - LDFLAGS=-lz || die "configure failed" + LDFLAGS=${LDFLAGS} || die "configure failed" emake || die "emake failed" }