commit:     4a6f2dd063e438eaa9f3c2594ba9d5893f4b6980
Author:     Nikoli <nikoli <AT> gmx <DOT> us>
AuthorDate: Sat May 10 09:07:07 2014 +0000
Commit:     Nikoli <nikoli <AT> lavabit <DOT> com>
CommitDate: Sat May 10 09:07:07 2014 +0000
URL:        
http://git.overlays.gentoo.org/gitweb/?p=proj/x11.git;a=commit;h=4a6f2dd0

media-libs/mesa: fix runnings tests in hardened

Package-Manager: portage-2.2.8-r1

---
 media-libs/mesa/mesa-9999.ebuild | 9 ++++++++-
 1 file changed, 8 insertions(+), 1 deletion(-)

diff --git a/media-libs/mesa/mesa-9999.ebuild b/media-libs/mesa/mesa-9999.ebuild
index 79f3c4e..835d0f8 100644
--- a/media-libs/mesa/mesa-9999.ebuild
+++ b/media-libs/mesa/mesa-9999.ebuild
@@ -14,7 +14,7 @@ fi
 PYTHON_COMPAT=( python{2_6,2_7} )
 
 inherit base autotools multilib multilib-minimal flag-o-matic \
-       python-any-r1 toolchain-funcs ${GIT_ECLASS}
+       python-any-r1 toolchain-funcs pax-utils ${GIT_ECLASS}
 
 OPENGL_DIR="xorg-x11"
 
@@ -413,6 +413,13 @@ multilib_src_install_all() {
 }
 
 multilib_src_test() {
+       if use llvm; then
+               local llvm_tests='lp_test_arit lp_test_arit lp_test_blend 
lp_test_blend lp_test_conv lp_test_conv lp_test_format lp_test_format 
lp_test_printf lp_test_printf'
+               pushd src/gallium/drivers/llvmpipe >/dev/null || die
+               emake ${llvm_tests}
+               pax-mark m ${llvm_tests}
+               popd >/dev/null || die
+       fi
        emake check
 }
 

Reply via email to