summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sci-libs/cantera/cantera-2.5.1-r3.ebuild (renamed from sci-libs/cantera/cantera-2.5.1-r2.ebuild)10
1 files changed, 5 insertions, 5 deletions
diff --git a/sci-libs/cantera/cantera-2.5.1-r2.ebuild b/sci-libs/cantera/cantera-2.5.1-r3.ebuild
index f4fa50e5d5a..99ea2dff259 100644
--- a/sci-libs/cantera/cantera-2.5.1-r2.ebuild
+++ b/sci-libs/cantera/cantera-2.5.1-r3.ebuild
@@ -17,7 +17,7 @@ SRC_URI="https://github.com/Cantera/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
LICENSE="BSD"
SLOT="0"
KEYWORDS="~amd64 ~x86"
-IUSE="+cti fortran lapack pch +python test"
+IUSE="+cti fortran lapack +python test"
RESTRICT="!test? ( test )"
REQUIRED_USE="
@@ -84,7 +84,7 @@ src_configure() {
FORTRANFLAGS="${FCFLAGS}"
optimize_flags="-Wno-inline"
renamed_shared_libraries="no"
- use_pch=$(usex pch)
+ use_pch="no"
## In some cases other order can break the detection of right location of Boost: ##
system_fmt="y"
system_sundials="y"
@@ -122,11 +122,11 @@ src_install() {
rm -r "${D}/usr/share/man" || die "Can't remove man files."
else
# Run the byte-compile of modules
- python_optimize "${D}/$(python_get_sitedir)/${PN}"
+ python_optimize "${D}$(python_get_sitedir)/${PN}"
fi
- # We install static libs unconditionally here
- # See https://github.com/gentoo/gentoo/pull/10017#discussion_r229210565
+ # User could remove this line if require static libs for development purpose
+ find "${ED}" -name '*.a' -delete || die
}
pkg_postinst() {