commit:     4af2e4cc26e0076bbec9eb48ff8f70519e297583
Author:     Fabian Groffen <grobian <AT> gentoo <DOT> org>
AuthorDate: Tue Oct 27 07:17:48 2020 +0000
Commit:     Fabian Groffen <grobian <AT> gentoo <DOT> org>
CommitDate: Tue Oct 27 07:17:48 2020 +0000
URL:        https://gitweb.gentoo.org/repo/proj/prefix.git/commit/?id=4af2e4cc

scripts/bootstrap-prefix: don't pull in python2 for clang any more, bug #751412

Closes: https://bugs.gentoo.org/751412
Signed-off-by: Fabian Groffen <grobian <AT> gentoo.org>

 scripts/bootstrap-prefix.sh | 7 -------
 1 file changed, 7 deletions(-)

diff --git a/scripts/bootstrap-prefix.sh b/scripts/bootstrap-prefix.sh
index df71d5d392..a3ada85d3b 100755
--- a/scripts/bootstrap-prefix.sh
+++ b/scripts/bootstrap-prefix.sh
@@ -379,13 +379,6 @@ bootstrap_setup() {
                                echo "USE=\"\${USE} 
${MAKE_CONF_ADDITIONAL_USE}\""
                        [[ ${OFFLINE_MODE} ]] && \
                                echo 'FETCHCOMMAND="bash -c \"echo I need 
\${FILE} from \${URI} in \${DISTDIR}; read\""'
-                       if [[ ${compiler_type} == clang ]] ; then
-                               local ptrgs=$(sed -n 
's/^PYTHON_TARGETS="\([^"]\+\)".*$/\1/' \
-                                       "${PORTDIR}"/profiles/prefix/make.conf)
-                               ptrgs=${ptrgs/-python2_7/}
-                               echo "# python2 is required by 
sys-devel/clang-6"
-                               echo "PYTHON_TARGETS=\"python2_7 ${ptrgs}\""
-                       fi
                } > "${ROOT}"/etc/portage/make.conf
        fi
 

Reply via email to