voyageur    15/06/15 22:26:52

  Modified:             ChangeLog llvm-9999.ebuild
  Log:
  lldb fixes thanks to mgorny's review
  
  (Portage version: 2.2.20/cvs/Linux x86_64, signed Manifest commit with key 
00F7AB331B0F097F)

Revision  Changes    Path
1.253                sys-devel/llvm/ChangeLog

file : 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-devel/llvm/ChangeLog?rev=1.253&view=markup
plain: 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-devel/llvm/ChangeLog?rev=1.253&content-type=text/plain
diff : 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-devel/llvm/ChangeLog?r1=1.252&r2=1.253

Index: ChangeLog
===================================================================
RCS file: /var/cvsroot/gentoo-x86/sys-devel/llvm/ChangeLog,v
retrieving revision 1.252
retrieving revision 1.253
diff -u -r1.252 -r1.253
--- ChangeLog   15 Jun 2015 12:52:14 -0000      1.252
+++ ChangeLog   15 Jun 2015 22:26:52 -0000      1.253
@@ -1,6 +1,9 @@
 # ChangeLog for sys-devel/llvm
 # Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sys-devel/llvm/ChangeLog,v 1.252 2015/06/15 
12:52:14 voyageur Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-devel/llvm/ChangeLog,v 1.253 2015/06/15 
22:26:52 voyageur Exp $
+
+  15 Jun 2015; Bernard Cafarelli <[email protected]> llvm-9999.ebuild:
+  lldb fixes thanks to mgorny's review
 
   15 Jun 2015; Bernard Cafarelli <[email protected]> llvm-9999.ebuild,
   metadata.xml:



1.118                sys-devel/llvm/llvm-9999.ebuild

file : 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-devel/llvm/llvm-9999.ebuild?rev=1.118&view=markup
plain: 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-devel/llvm/llvm-9999.ebuild?rev=1.118&content-type=text/plain
diff : 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-devel/llvm/llvm-9999.ebuild?r1=1.117&r2=1.118

Index: llvm-9999.ebuild
===================================================================
RCS file: /var/cvsroot/gentoo-x86/sys-devel/llvm/llvm-9999.ebuild,v
retrieving revision 1.117
retrieving revision 1.118
diff -u -r1.117 -r1.118
--- llvm-9999.ebuild    15 Jun 2015 12:52:14 -0000      1.117
+++ llvm-9999.ebuild    15 Jun 2015 22:26:52 -0000      1.118
@@ -1,6 +1,6 @@
 # Copyright 1999-2015 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-devel/llvm/llvm-9999.ebuild,v 1.117 
2015/06/15 12:52:14 voyageur Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-devel/llvm/llvm-9999.ebuild,v 1.118 
2015/06/15 22:26:52 voyageur Exp $
 
 EAPI=5
 
@@ -66,8 +66,8 @@
 # pypy gives me around 1700 unresolved tests due to open file limit
 # being exceeded. probably GC does not close them fast enough.
 REQUIRED_USE="${PYTHON_REQUIRED_USE}
-       test? ( || ( $(python_gen_useflags 'python*') ) )
-       lldb? ( clang )"
+       lldb? ( clang )
+       test? ( || ( $(python_gen_useflags 'python*') ) )"
 
 pkg_pretend() {
        # in megs
@@ -243,12 +243,16 @@
                -DFFI_LIBRARY_DIR="${ffi_ldflags#-L}"
 
                -DHAVE_HISTEDIT_H=$(usex libedit)
-
-               -DLLDB_DISABLE_LIBEDIT=$(usex libedit 0 1)
-               -DLLDB_DISABLE_CURSES=$(usex libedit 0 1)
-               -DLLDB_ENABLE_TERMINFO=$(usex ncurses)
        )
 
+       if use lldb; then
+               mycmakeargs+=(
+                       -DLLDB_DISABLE_LIBEDIT=$(usex !libedit)
+                       -DLLDB_DISABLE_CURSES=$(usex !ncurses)
+                       -DLLDB_ENABLE_TERMINFO=$(usex ncurses)
+               )
+       fi
+
        if ! multilib_is_native_abi || ! use ocaml; then
                mycmakeargs+=(
                        -DOCAMLFIND=NO
@@ -284,7 +288,7 @@
 
                if use lldb; then
                        mycmakeargs+=(
-                               -DLLDB_DISABLE_PYTHON=$(usex python 0 1)
+                               -DLLDB_DISABLE_PYTHON=$(usex !python)
                        )
                fi
 




Reply via email to