summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'sys-devel/clang/clang-9999.ebuild')
-rw-r--r--sys-devel/clang/clang-9999.ebuild7
1 files changed, 4 insertions, 3 deletions
diff --git a/sys-devel/clang/clang-9999.ebuild b/sys-devel/clang/clang-9999.ebuild
index 5d3c1a6a7e23..aa1e71c2f9f7 100644
--- a/sys-devel/clang/clang-9999.ebuild
+++ b/sys-devel/clang/clang-9999.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2013 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-devel/clang/clang-9999.ebuild,v 1.34 2013/02/02 23:28:27 mgorny Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-devel/clang/clang-9999.ebuild,v 1.35 2013/02/04 08:50:49 mgorny Exp $
EAPI=5
@@ -98,6 +98,9 @@ src_configure() {
CONF_FLAGS="${CONF_FLAGS} --enable-pic"
fi
+ # build with a suitable Python version
+ python_export_best
+
# clang prefers clang over gcc, so we may need to force that
tc-export CC CXX
econf ${CONF_FLAGS}
@@ -112,8 +115,6 @@ src_test() {
echo ">>> Test phase [test]: ${CATEGORY}/${PF}"
- python_export_best
-
if ! emake -j1 VERBOSE=1 test; then
has test $FEATURES && die "Make test failed. See above for details."
has test $FEATURES || eerror "Make test failed. See above for details."