app-editors/vim: apply #669306 fix to vim-9999.ebuild.
authorPatrice Clement <monsieurp@gentoo.org>
Mon, 25 Mar 2019 21:44:10 +0000 (22:44 +0100)
committerPatrice Clement <monsieurp@gentoo.org>
Mon, 25 Mar 2019 21:44:10 +0000 (22:44 +0100)
Bug: https://bugs.gentoo.org/669306
Signed-off-by: Patrice Clement <monsieurp@gentoo.org>
Package-Manager: Portage-2.3.51, Repoman-2.3.11

app-editors/vim/vim-9999.ebuild

index 53057996e0d89defd76e792400f91032d207e901..7f5fd67a23ef9e488bb066e94d23683b2b2a22d6 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright 1999-2018 Gentoo Authors
+# Copyright 1999-2019 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=6
@@ -206,6 +206,8 @@ src_configure() {
                        $(use_enable perl perlinterp)
                        $(use_enable python pythoninterp)
                        $(use_enable python python3interp)
+                       $(use_with python python-command $(type -P $(eselect python show --python2)))
+                       $(use_with python python3-command $(type -P $(eselect python show --python3)))
                        $(use_enable racket mzschemeinterp)
                        $(use_enable ruby rubyinterp)
                        $(use_enable selinux)