diff options
author | Justin Lecher <jlec@gentoo.org> | 2010-12-17 13:35:46 +0000 |
---|---|---|
committer | Justin Lecher <jlec@gentoo.org> | 2010-12-17 13:35:46 +0000 |
commit | 4a48023b3d8ee9808415f25e43a01edbe8c2d1b6 (patch) | |
tree | 6ecf4febcce7b69b7fdc8b729a9e2ad318750999 /sci-libs/blas-reference | |
parent | Stable on alpha, bug #320687 (diff) | |
download | gentoo-2-4a48023b3d8ee9808415f25e43a01edbe8c2d1b6.tar.gz gentoo-2-4a48023b3d8ee9808415f25e43a01edbe8c2d1b6.tar.bz2 gentoo-2-4a48023b3d8ee9808415f25e43a01edbe8c2d1b6.zip |
Fix for bug 348935
(Portage version: 2.2.0_alpha9/cvs/Linux x86_64)
Diffstat (limited to 'sci-libs/blas-reference')
4 files changed, 14 insertions, 34 deletions
diff --git a/sci-libs/blas-reference/ChangeLog b/sci-libs/blas-reference/ChangeLog index 9bd83a200120..00a031f606b1 100644 --- a/sci-libs/blas-reference/ChangeLog +++ b/sci-libs/blas-reference/ChangeLog @@ -1,6 +1,10 @@ # ChangeLog for sci-libs/blas-reference # Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/sci-libs/blas-reference/ChangeLog,v 1.49 2010/12/17 08:09:19 jlec Exp $ +# $Header: /var/cvsroot/gentoo-x86/sci-libs/blas-reference/ChangeLog,v 1.50 2010/12/17 13:35:46 jlec Exp $ + + 17 Dec 2010; Justin Lecher <jlec@gentoo.org> blas-reference-20070226.ebuild, + blas-reference-20070226-r1.ebuild, blas-reference-20070226-r2.ebuild: + Fix for bug 348935 17 Dec 2010; Justin Lecher <jlec@gentoo.org> blas-reference-20070226.ebuild, blas-reference-20070226-r1.ebuild, blas-reference-20070226-r2.ebuild: diff --git a/sci-libs/blas-reference/blas-reference-20070226-r1.ebuild b/sci-libs/blas-reference/blas-reference-20070226-r1.ebuild index 6b8c0a61b905..c7c8e5b6e00b 100644 --- a/sci-libs/blas-reference/blas-reference-20070226-r1.ebuild +++ b/sci-libs/blas-reference/blas-reference-20070226-r1.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2010 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/sci-libs/blas-reference/blas-reference-20070226-r1.ebuild,v 1.4 2010/12/17 08:09:19 jlec Exp $ +# $Header: /var/cvsroot/gentoo-x86/sci-libs/blas-reference/blas-reference-20070226-r1.ebuild,v 1.5 2010/12/17 13:35:46 jlec Exp $ EAPI="3" @@ -24,15 +24,8 @@ RDEPEND="${DEPEND} S="${WORKDIR}/${LAPACKPN}-${LAPACKPV}" -pkg_setup() { - if [[ $(tc-getFC) =~ if* ]]; then - ewarn "Using Intel Fortran at your own risk" - LDFLAGS="$(raw-ldflags)" - fi - ESELECT_PROF=reference -} - src_prepare() { + ESELECT_PROF=reference epatch "${FILESDIR}"/${P}-autotool.patch eautoreconf @@ -46,8 +39,7 @@ src_prepare() { src_configure() { econf \ - --libdir="${EPREFIX}"/usr/$(get_libdir)/blas/reference \ - || die "econf failed" + --libdir="${EPREFIX}"/usr/$(get_libdir)/blas/reference } src_compile() { diff --git a/sci-libs/blas-reference/blas-reference-20070226-r2.ebuild b/sci-libs/blas-reference/blas-reference-20070226-r2.ebuild index 5cc9f261cf9a..6cbbd0e6be55 100644 --- a/sci-libs/blas-reference/blas-reference-20070226-r2.ebuild +++ b/sci-libs/blas-reference/blas-reference-20070226-r2.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2010 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/sci-libs/blas-reference/blas-reference-20070226-r2.ebuild,v 1.3 2010/12/17 08:09:19 jlec Exp $ +# $Header: /var/cvsroot/gentoo-x86/sci-libs/blas-reference/blas-reference-20070226-r2.ebuild,v 1.4 2010/12/17 13:35:46 jlec Exp $ EAPI="3" @@ -24,15 +24,8 @@ RDEPEND="${DEPEND} S="${WORKDIR}/${LAPACKPN}-${LAPACKPV}" -pkg_setup() { - if [[ $(tc-getFC) =~ if* ]]; then - ewarn "Using Intel Fortran at your own risk" - LDFLAGS="$(raw-ldflags)" - fi - ESELECT_PROF=reference -} - src_prepare() { + ESELECT_PROF=reference epatch \ "${FILESDIR}"/${P}-autotool.patch \ "${FILESDIR}"/${P}-pkg-config.patch @@ -48,8 +41,7 @@ src_prepare() { src_configure() { econf \ - --libdir="${EPREFIX}"/usr/$(get_libdir)/blas/reference \ - || die "econf failed" + --libdir="${EPREFIX}"/usr/$(get_libdir)/blas/reference } src_compile() { diff --git a/sci-libs/blas-reference/blas-reference-20070226.ebuild b/sci-libs/blas-reference/blas-reference-20070226.ebuild index eee00d38399d..f2455d4f0075 100644 --- a/sci-libs/blas-reference/blas-reference-20070226.ebuild +++ b/sci-libs/blas-reference/blas-reference-20070226.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2010 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/sci-libs/blas-reference/blas-reference-20070226.ebuild,v 1.20 2010/12/17 08:09:19 jlec Exp $ +# $Header: /var/cvsroot/gentoo-x86/sci-libs/blas-reference/blas-reference-20070226.ebuild,v 1.21 2010/12/17 13:35:46 jlec Exp $ inherit eutils autotools multilib flag-o-matic toolchain-funcs @@ -22,15 +22,8 @@ RDEPEND="${DEPEND} S="${WORKDIR}/${LAPACKPN}-${LAPACKPV}" -pkg_setup() { - if [[ $(tc-getFC) =~ if* ]]; then - ewarn "Using Intel Fortran at your own risk" - LDFLAGS="$(raw-ldflags)" - fi - ESELECT_PROF=reference -} - src_unpack() { + ESELECT_PROF=reference unpack ${A} cd "${S}" epatch "${FILESDIR}"/${P}-autotool.patch @@ -39,8 +32,7 @@ src_unpack() { src_compile() { econf \ - --libdir=/usr/$(get_libdir)/blas/reference \ - || die "econf failed" + --libdir=/usr/$(get_libdir)/blas/reference emake LDFLAGS="${LDFLAGS}" || die "emake failed" } |