aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorS├ębastien Fabbro <bicatali@gentoo.org>2012-11-28 14:20:01 -0800
committerS├ębastien Fabbro <bicatali@gentoo.org>2012-11-28 14:20:01 -0800
commit391d202b48d9344378b149c0769a2d657d09efef (patch)
treea4aea13ab8e83c77eef332dd233bd07c928a7beb /sci-libs/lapack-reference/lapack-reference-3.4.2.ebuild
parentOnly handle documentation if present (diff)
downloadsci-391d202b48d9344378b149c0769a2d657d09efef.tar.gz
sci-391d202b48d9344378b149c0769a2d657d09efef.tar.bz2
sci-391d202b48d9344378b149c0769a2d657d09efef.zip
sci-libs/lapack-reference: Added tmg use flag, fix a failing post command test
Package-Manager: portage-2.2.01.21313-prefix
Diffstat (limited to 'sci-libs/lapack-reference/lapack-reference-3.4.2.ebuild')
-rw-r--r--sci-libs/lapack-reference/lapack-reference-3.4.2.ebuild10
1 files changed, 7 insertions, 3 deletions
diff --git a/sci-libs/lapack-reference/lapack-reference-3.4.2.ebuild b/sci-libs/lapack-reference/lapack-reference-3.4.2.ebuild
index 0ce4f0084..17d5bb675 100644
--- a/sci-libs/lapack-reference/lapack-reference-3.4.2.ebuild
+++ b/sci-libs/lapack-reference/lapack-reference-3.4.2.ebuild
@@ -14,10 +14,10 @@ SRC_URI="http://www.netlib.org/lapack/${MYP}.tgz"
LICENSE="BSD"
SLOT="0"
KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
-IUSE="static-libs test xblas"
+IUSE="static-libs test tmg xblas"
-RDEPEND="virtual/blas
- virtual/fortran
+RDEPEND="
+ virtual/blas
xblas? ( sci-libs/xblas )"
DEPEND="${RDEPEND}
virtual/pkgconfig"
@@ -39,6 +39,9 @@ src_prepare() {
-e 's:-llapack:-lreflapack:g' \
lapack.pc.in || die
use static-libs && mkdir "${WORKDIR}/${PN}_static"
+ # some string does not get pass properly
+ sed -i -e '/lapack_testing.py/d' CTestCustom.cmake.in || die
+ use tmg || sed -i -e '/lapack_install_library(tmglib)/d' TESTING/MATGEN/CMakeLists.txt
}
src_configure() {
@@ -47,6 +50,7 @@ src_configure() {
-DUSE_OPTIMIZED_BLAS=ON
-DBLAS_LIBRARIES="$($(tc-getPKG_CONFIG) --libs blas)"
$(cmake-utils_use_build test TESTING)
+ $(cmake-utils_use_build tmg TESTING)
$(cmake-utils_use_use xblas XBLAS)
$@
)