diff options
author | Sam James <sam@gentoo.org> | 2022-07-12 11:00:30 +0100 |
---|---|---|
committer | Sam James <sam@gentoo.org> | 2022-07-12 11:00:57 +0100 |
commit | 0b86d13bce88b9f58e8f93dbf78063e30c9e34cd (patch) | |
tree | 80f42424a9ca89d4d610fcb94b59efab8a552682 /dev-lang | |
parent | net-analyzer/net-snmp: Keyword 5.9.2-r1 riscv, #857732 (diff) | |
download | gentoo-0b86d13bce88b9f58e8f93dbf78063e30c9e34cd.tar.gz gentoo-0b86d13bce88b9f58e8f93dbf78063e30c9e34cd.tar.bz2 gentoo-0b86d13bce88b9f58e8f93dbf78063e30c9e34cd.zip |
dev-lang/python: fix disabling dependencies/modules
Thanks to Ionen for spotting the commit.
Closes: https://bugs.gentoo.org/857771
Closes: https://bugs.gentoo.org/857756
Thanks-to: Ionen Wolkens <ionen@gentoo.org>
Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'dev-lang')
-rw-r--r-- | dev-lang/python/python-3.11.0_beta4-r1.ebuild (renamed from dev-lang/python/python-3.11.0_beta4.ebuild) | 28 |
1 files changed, 14 insertions, 14 deletions
diff --git a/dev-lang/python/python-3.11.0_beta4.ebuild b/dev-lang/python/python-3.11.0_beta4-r1.ebuild index fc2ca3513448..648a47f45541 100644 --- a/dev-lang/python/python-3.11.0_beta4.ebuild +++ b/dev-lang/python/python-3.11.0_beta4-r1.ebuild @@ -232,19 +232,19 @@ src_configure() { # Avoid as many dependencies as possible for the cross build. cat >> Makefile <<-EOF || die - MODULE_NIS=disabled - MODULE__DBM=disabled - MODULE__GDBM=disabled - MODULE__DBM=disabled - MODULE__SQLITE3=disabled - MODULE__HASHLIB=disabled - MODULE__SSL=disabled - MODULE__CURSES=disabled - MODULE__CURSES_PANEL=disabled - MODULE_READLINE=disabled - MODULE__TKINTER=disabled - MODULE_PYEXPAT=disabled - MODULE_ZLIB=disabled + MODULE_NIS_STATE=disabled + MODULE__DBM_STATE=disabled + MODULE__GDBM_STATE=disabled + MODULE__DBM_STATE=disabled + MODULE__SQLITE3_STATE=disabled + MODULE__HASHLIB_STATE=disabled + MODULE__SSL_STATE=disabled + MODULE__CURSES_STATE=disabled + MODULE__CURSES_PANEL_STATE=disabled + MODULE_READLINE_STATE=disabled + MODULE__TKINTER_STATE=disabled + MODULE_PYEXPAT_STATE=disabled + MODULE_ZLIB_STATE=disabled EOF # Unfortunately, we do have to build this immediately, and @@ -276,7 +276,7 @@ src_configure() { local mod for mod in "${disable_modules[@]}"; do - echo "MODULE_${mod}=disabled" + echo "MODULE_${mod}_STATE=disabled" done >> Makefile || die } |