diff options
Diffstat (limited to 'sci-libs/cholmod')
-rw-r--r-- | sci-libs/cholmod/cholmod-3.0.13.ebuild | 22 |
1 files changed, 18 insertions, 4 deletions
diff --git a/sci-libs/cholmod/cholmod-3.0.13.ebuild b/sci-libs/cholmod/cholmod-3.0.13.ebuild index 3baa9854bc66..bf568d5872ad 100644 --- a/sci-libs/cholmod/cholmod-3.0.13.ebuild +++ b/sci-libs/cholmod/cholmod-3.0.13.ebuild @@ -12,19 +12,26 @@ SRC_URI="http://202.36.178.9/sage/${P}.tar.bz2" LICENSE="LGPL-2.1+ modify? ( GPL-2+ ) matrixops? ( GPL-2+ )" SLOT="0" KEYWORDS="amd64 ~arm arm64 ~hppa ~ia64 ~mips ppc ppc64 ~sparc x86 ~amd64-linux ~x86-linux ~x86-macos" -IUSE="cuda doc +lapack +matrixops +modify +partition static-libs" +IUSE="cuda doc +lapack +matrixops +modify +partition" BDEPEND="virtual/pkgconfig doc? ( virtual/latex-base )" DEPEND=" >=sci-libs/amd-2.4 >=sci-libs/colamd-2.9 - cuda? ( x11-drivers/nvidia-drivers dev-util/nvidia-cuda-toolkit ) + cuda? ( + x11-drivers/nvidia-drivers + dev-util/nvidia-cuda-toolkit + ) lapack? ( virtual/lapack ) partition? ( >=sci-libs/camd-2.4 >=sci-libs/ccolamd-2.9 - || ( >=sci-libs/metis-5.1.0 sci-libs/parmetis ) )" + || ( + >=sci-libs/metis-5.1.0 + sci-libs/parmetis + ) + )" RDEPEND="${DEPEND}" src_configure() { @@ -44,10 +51,10 @@ src_configure() { fi econf \ + --disable-static \ --with-blas="${blas_libs}" \ --with-lapack="${lapack_libs}" \ $(use_with doc) \ - $(use_enable static-libs static) \ $(use_with modify) \ $(use_with matrixops) \ $(use_with partition) \ @@ -55,3 +62,10 @@ src_configure() { $(use_with lapack supernodal) \ "${cudaconfargs[@]}" } + +src_install() { + default + + # no static archives + find "${D}" -name '*.la' -delete || die +} |