commit:     400d9bb8100719333600105bd46cacb73be02777
Author:     Brian Evans <grknight <AT> gentoo <DOT> org>
AuthorDate: Sun Nov 23 01:53:24 2014 +0000
Commit:     Brian Evans <grknight <AT> gentoo <DOT> org>
CommitDate: Sun Nov 23 01:53:24 2014 +0000
URL:        
http://sources.gentoo.org/gitweb/?p=proj/mysql.git;a=commit;h=400d9bb8

USE=systemtap only works on native ABI.  Bug 530132.  Thanks to farmboy0 <AT> 
googlemail.com for the report

---
 eclass/mysql-multilib.eclass | 8 +++++++-
 1 file changed, 7 insertions(+), 1 deletion(-)

diff --git a/eclass/mysql-multilib.eclass b/eclass/mysql-multilib.eclass
index 51ab194..32e0e0d 100644
--- a/eclass/mysql-multilib.eclass
+++ b/eclass/mysql-multilib.eclass
@@ -497,9 +497,15 @@ multilib_src_configure() {
                -DWITH_SSL=$(usex ssl system bundled)
                -DWITH_DEFAULT_COMPILER_OPTIONS=0
                -DWITH_DEFAULT_FEATURE_SET=0
-               $(cmake-utils_use_enable systemtap DTRACE)
        )
 
+       # systemtap only works on native ABI  bug 530132
+       if multilib_is_native_abi; then
+               mycmakeargs+=( $(cmake-utils_use_enable systemtap DTRACE) )
+       else
+               mycmakeargs+=( -DENABLE_DTRACE=0 )
+       fi
+
        if in_iuse bindist ; then
                mycmakeargs+=(
                        -DWITH_READLINE=$(usex bindist 1 0)

Reply via email to