summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Seifert <soap@gentoo.org>2017-01-07 12:07:11 +0200
committerDavid Seifert <soap@gentoo.org>2017-01-07 12:07:39 +0200
commit034f7ad1b2ffb9283cecc1e529cd7c7a0f964d5d (patch)
tree6de097cbd996b206c6fdba992791fbd93047743d /sci-libs/fftw/fftw-2.1.5-r9.ebuild
parentdev-libs/libyaml: Stable for HPPA (bug #531340). (diff)
downloadgentoo-034f7ad1b2ffb9283cecc1e529cd7c7a0f964d5d.tar.gz
gentoo-034f7ad1b2ffb9283cecc1e529cd7c7a0f964d5d.tar.bz2
gentoo-034f7ad1b2ffb9283cecc1e529cd7c7a0f964d5d.zip
sci-libs/fftw: Fix parallel test failure
Gentoo-bug: 603352 * Also conditionally delete .la files Package-Manager: Portage-2.3.3, Repoman-2.3.1
Diffstat (limited to 'sci-libs/fftw/fftw-2.1.5-r9.ebuild')
-rw-r--r--sci-libs/fftw/fftw-2.1.5-r9.ebuild9
1 files changed, 7 insertions, 2 deletions
diff --git a/sci-libs/fftw/fftw-2.1.5-r9.ebuild b/sci-libs/fftw/fftw-2.1.5-r9.ebuild
index 1251bd41b8c..71fe48fe395 100644
--- a/sci-libs/fftw/fftw-2.1.5-r9.ebuild
+++ b/sci-libs/fftw/fftw-2.1.5-r9.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2016 Gentoo Foundation
+# Copyright 1999-2017 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
@@ -27,6 +27,7 @@ PATCHES=(
"${FILESDIR}"/${P}-no-test.patch
"${FILESDIR}"/${P}-cc.patch
"${FILESDIR}"/${P}-texinfo5.1.patch
+ "${FILESDIR}"/${P}-parallel-tests.patch
)
pkg_pretend() {
@@ -116,7 +117,7 @@ src_test() {
}
src_install () {
- use doc && HTML_DOCS=( doc/{*.html,*.gif} )
+ use doc && HTML_DOCS=( doc/*.{html,gif} )
multibuild_foreach_variant run_in_build_dir default_src_install
doheader fortran/fftw_f77.i
@@ -130,4 +131,8 @@ src_install () {
done
}
create_fftw_symlinks $(usex float s d)
+
+ if ! use static-libs; then
+ find "${D}" -name '*.la' -delete || die
+ fi
}