From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id B3224198005 for ; Sun, 24 Feb 2013 12:47:39 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 42E06E059C; Sun, 24 Feb 2013 12:47:39 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id C8DA7E059C for ; Sun, 24 Feb 2013 12:47:38 +0000 (UTC) Received: from pomiocik.lan (unknown [213.195.173.220]) (using TLSv1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) (Authenticated sender: mgorny) by smtp.gentoo.org (Postfix) with ESMTPSA id F0C3033DC8F; Sun, 24 Feb 2013 12:47:36 +0000 (UTC) From: =?UTF-8?q?Micha=C5=82=20G=C3=B3rny?= To: gentoo-python@lists.gentoo.org Cc: python@gentoo.org, =?UTF-8?q?Micha=C5=82=20G=C3=B3rny?= Subject: [gentoo-python] [PATCH distutils-r1 2/4] In-source builds: override build locations as well. Date: Sun, 24 Feb 2013 13:47:45 +0100 Message-Id: <1361710067-8869-2-git-send-email-mgorny@gentoo.org> X-Mailer: git-send-email 1.8.1.4 In-Reply-To: <20130224134551.63bd9791@pomiocik.lan> References: <20130224134551.63bd9791@pomiocik.lan> Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Discussions centering around the Python ecosystem in Gentoo Linux X-BeenThere: gentoo-python@gentoo.org X-BeenThere: gentoo-python@lists.gentoo.org X-Archives-Salt: 477adfc4-f6fb-4582-8a3f-373bbf3d220d X-Archives-Hash: efb2a1a7a92e5f60d151bf740af3ff47 Since BUILD_DIR is now useful and collision-free there, we can use it to obtain expectable install locations. --- gx86/eclass/distutils-r1.eclass | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/gx86/eclass/distutils-r1.eclass b/gx86/eclass/distutils-r1.eclass index 7a1551b..757c094 100644 --- a/gx86/eclass/distutils-r1.eclass +++ b/gx86/eclass/distutils-r1.eclass @@ -228,8 +228,8 @@ esetup.py() { debug-print-function ${FUNCNAME} "${@}" local add_args=() - if [[ ! ${DISTUTILS_IN_SOURCE_BUILD} ]]; then - if [[ ! ${BUILD_DIR} ]]; then + if [[ ! ${BUILD_DIR} ]]; then + if [[ ! ${DISTUTILS_IN_SOURCE_BUILD} ]]; then die 'Out-of-source build requested, yet BUILD_DIR unset.' fi -- 1.8.1.4