summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIonen Wolkens <sudinave@gmail.com>2021-03-28 18:36:44 -0400
committerSam James <sam@gentoo.org>2021-05-31 08:15:46 +0000
commit6606838b0dedc4fe7916e0341671884ab9478085 (patch)
tree84cb573cd049da30d13fa9197d111e4f6c9e2348 /sci-libs
parentapp-misc/elasticsearch: drop vulnerable (diff)
downloadgentoo-6606838b0dedc4fe7916e0341671884ab9478085.tar.gz
gentoo-6606838b0dedc4fe7916e0341671884ab9478085.tar.bz2
gentoo-6606838b0dedc4fe7916e0341671884ab9478085.zip
sci-libs/coinor-dip: prevent python-2.7 automagic
When python-2.7 is installed it attempts to build dippy which fails with slibtool due a typo that GNU libtool ignored. Rather than fix, since it installs some unsupported 2.7 site-packages, block it and revbump to clear these. Closes: https://bugs.gentoo.org/778965 Signed-off-by: Ionen Wolkens <sudinave@gmail.com> Closes: https://github.com/gentoo/gentoo/pull/20171 Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'sci-libs')
-rw-r--r--sci-libs/coinor-dip/coinor-dip-0.95.0-r2.ebuild (renamed from sci-libs/coinor-dip/coinor-dip-0.95.0-r1.ebuild)3
1 files changed, 3 insertions, 0 deletions
diff --git a/sci-libs/coinor-dip/coinor-dip-0.95.0-r1.ebuild b/sci-libs/coinor-dip/coinor-dip-0.95.0-r2.ebuild
index d19f69dd1fb7..9ea837d36076 100644
--- a/sci-libs/coinor-dip/coinor-dip-0.95.0-r1.ebuild
+++ b/sci-libs/coinor-dip/coinor-dip-0.95.0-r2.ebuild
@@ -32,6 +32,9 @@ src_prepare() {
default
# Prevent unneeded call to pkg-config that needs ${ED}'s in path.
sed -i '/--libs.*addlibs.txt/d' Makefile.in || die
+
+ # Prevent python:2.7 automagic for dippy (bug #778965)
+ sed -i 's/@HAVE_PYTHON_TRUE@/#/' src/Makefile.in || die
}
src_configure() {