diff options
author | 2014-09-22 07:20:31 +0000 | |
---|---|---|
committer | 2014-09-22 07:20:31 +0000 | |
commit | fdbd2e65f60a65a740669cd70d41f3cfb82fe982 (patch) | |
tree | 6e3d0f628bde9bf91545062676718a669c4b6e0c /sci-biology | |
parent | Version bump (diff) | |
download | gentoo-2-fdbd2e65f60a65a740669cd70d41f3cfb82fe982.tar.gz gentoo-2-fdbd2e65f60a65a740669cd70d41f3cfb82fe982.tar.bz2 gentoo-2-fdbd2e65f60a65a740669cd70d41f3cfb82fe982.zip |
sci-biology/plink: Rename USE lapack -> blas, fixing build problems, #514106
(Portage version: 2.2.13/cvs/Linux x86_64, signed Manifest commit with key B9D4F231BD1558AB!)
Diffstat (limited to 'sci-biology')
-rw-r--r-- | sci-biology/plink/ChangeLog | 5 | ||||
-rw-r--r-- | sci-biology/plink/plink-1.90_pre140514.ebuild | 13 |
2 files changed, 12 insertions, 6 deletions
diff --git a/sci-biology/plink/ChangeLog b/sci-biology/plink/ChangeLog index 0b36a02ac637..38f0873beb03 100644 --- a/sci-biology/plink/ChangeLog +++ b/sci-biology/plink/ChangeLog @@ -1,6 +1,9 @@ # ChangeLog for sci-biology/plink # Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/sci-biology/plink/ChangeLog,v 1.15 2014/05/19 14:13:36 jlec Exp $ +# $Header: /var/cvsroot/gentoo-x86/sci-biology/plink/ChangeLog,v 1.16 2014/09/22 07:20:31 jlec Exp $ + + 22 Sep 2014; Justin Lecher <jlec@gentoo.org> plink-1.90_pre140514.ebuild: + Rename USE lapack -> blas, fixing build problems, #514106 *plink-1.90_pre140514 (19 May 2014) diff --git a/sci-biology/plink/plink-1.90_pre140514.ebuild b/sci-biology/plink/plink-1.90_pre140514.ebuild index 8c959627996c..67b3bd31aa18 100644 --- a/sci-biology/plink/plink-1.90_pre140514.ebuild +++ b/sci-biology/plink/plink-1.90_pre140514.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2014 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/sci-biology/plink/plink-1.90_pre140514.ebuild,v 1.1 2014/05/19 14:13:36 jlec Exp $ +# $Header: /var/cvsroot/gentoo-x86/sci-biology/plink/plink-1.90_pre140514.ebuild,v 1.2 2014/09/22 07:20:31 jlec Exp $ EAPI=5 @@ -12,7 +12,7 @@ SRC_URI="http://pngu.mgh.harvard.edu/~purcell/static/bin/plink140514/plink_src.z LICENSE="GPL-2" SLOT="0" -IUSE="lapack" +IUSE="blas" KEYWORDS="~amd64 ~x86" DEPEND=" @@ -20,7 +20,10 @@ DEPEND=" virtual/pkgconfig" RDEPEND=" sys-libs/zlib - lapack? ( virtual/lapack )" + blas? ( + virtual/cblas + virtual/lapack + )" S="${WORKDIR}/" @@ -28,7 +31,7 @@ S="${WORKDIR}/" # Package contains bytecode-only jar gPLINK.jar. Ignored, notified upstream. src_prepare() { - use lapack || sed -i '/NO_LAPACK =/s/$/1/' "${S}/Makefile" || die + use blas || sed -i '/NO_blas =/s/$/1/' "${S}/Makefile" || die sed \ -e 's:zlib-1.2.8/zlib.h:zlib.h:g' \ @@ -48,7 +51,7 @@ src_compile() { CXX=$(tc-getCXX) \ CFLAGS="${CFLAGS}" \ ZLIB="$($(tc-getPKG_CONFIG) --libs zlib)" \ - BLASFLAGS="$(usex lapack "" "$($(tc-getPKG_CONFIG) --libs lapack)")" + BLASFLAGS="$(usex blas "$($(tc-getPKG_CONFIG) --libs lapack cblas)" "")" } src_install() { |