commit: 7a381a6a8c2e62b0ad7b98dcf57a6b933015487a Author: Mike Gilbert <floppym <AT> gentoo <DOT> org> AuthorDate: Wed Mar 17 14:39:23 2021 +0000 Commit: Mike Gilbert <floppym <AT> gentoo <DOT> org> CommitDate: Wed Mar 17 14:39:23 2021 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7a381a6a
sys-boot/grub: set PYTHON=true when not running autogen Since 8b467844e1, configure.ac calls AM_PATH_PYTHON, but this is only used when re-generating automake input files. Closes: https://bugs.gentoo.org/776619 Signed-off-by: Mike Gilbert <floppym <AT> gentoo.org> sys-boot/grub/grub-2.06_rc1.ebuild | 2 ++ sys-boot/grub/grub-9999.ebuild | 2 ++ 2 files changed, 4 insertions(+) diff --git a/sys-boot/grub/grub-2.06_rc1.ebuild b/sys-boot/grub/grub-2.06_rc1.ebuild index 39eb0acc06c..19ad393f721 100644 --- a/sys-boot/grub/grub-2.06_rc1.ebuild +++ b/sys-boot/grub/grub-2.06_rc1.ebuild @@ -146,6 +146,8 @@ src_prepare() { if [[ -n ${GRUB_AUTOGEN} || -n ${GRUB_BOOTSTRAP} ]]; then python_setup + else + export PYTHON=true fi if [[ -n ${GRUB_BOOTSTRAP} ]]; then diff --git a/sys-boot/grub/grub-9999.ebuild b/sys-boot/grub/grub-9999.ebuild index 39eb0acc06c..19ad393f721 100644 --- a/sys-boot/grub/grub-9999.ebuild +++ b/sys-boot/grub/grub-9999.ebuild @@ -146,6 +146,8 @@ src_prepare() { if [[ -n ${GRUB_AUTOGEN} || -n ${GRUB_BOOTSTRAP} ]]; then python_setup + else + export PYTHON=true fi if [[ -n ${GRUB_BOOTSTRAP} ]]; then
