summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Sturmlechner <asturm@gentoo.org>2018-01-14 10:26:12 +0100
committerAndreas Sturmlechner <asturm@gentoo.org>2018-01-14 10:42:44 +0100
commit9c8f818e7327fc0e1dc305f4ea63b78800493918 (patch)
tree592629506c79732fe3fdd3650b7ce0063cdbc5f0 /sci-libs/chemkit
parentsci-libs/chemkit: EAPI 6 (diff)
downloadgentoo-9c8f818e7327fc0e1dc305f4ea63b78800493918.tar.gz
gentoo-9c8f818e7327fc0e1dc305f4ea63b78800493918.tar.bz2
gentoo-9c8f818e7327fc0e1dc305f4ea63b78800493918.zip
sci-libs/chemkit: Disable xtc plugin
Closes: https://bugs.gentoo.org/640206 Package-Manager: Portage-2.3.19, Repoman-2.3.6
Diffstat (limited to 'sci-libs/chemkit')
-rw-r--r--sci-libs/chemkit/chemkit-0.1-r2.ebuild4
1 files changed, 4 insertions, 0 deletions
diff --git a/sci-libs/chemkit/chemkit-0.1-r2.ebuild b/sci-libs/chemkit/chemkit-0.1-r2.ebuild
index f8fe56a46f02..41bd24f09bf8 100644
--- a/sci-libs/chemkit/chemkit-0.1-r2.ebuild
+++ b/sci-libs/chemkit/chemkit-0.1-r2.ebuild
@@ -52,6 +52,10 @@ src_prepare() {
# xdrf != xdrfile
rm -rvf src/3rdparty/{inchi,khronos,lemon,rapidxml} || die
cmake-utils_src_prepare
+
+ # bug 640206
+ sed -e "/add_subdirectory(xtc/s/^/#DONT /" \
+ -i src/plugins/CMakeLists.txt || die "Failed to disable xtc"
}
src_configure() {