commit:     5f7b403d1711dc5a053daefff7703f40605ecb6c
Author:     Mike Frysinger <vapier <AT> gentoo <DOT> org>
AuthorDate: Mon Jun 13 18:20:00 2016 +0000
Commit:     Mike Frysinger <vapier <AT> gentoo <DOT> org>
CommitDate: Mon Jun 13 18:20:00 2016 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5f7b403d

sys-libs/libunwind: clean up debug configure logic

The upstream configure script has been fixed in these versions, so we
don't need to workaround the misbehaving --disable-debug flag anymore.

 sys-libs/libunwind/libunwind-1.1-r1.ebuild  | 4 +---
 sys-libs/libunwind/libunwind-1.2_rc1.ebuild | 4 +---
 2 files changed, 2 insertions(+), 6 deletions(-)

diff --git a/sys-libs/libunwind/libunwind-1.1-r1.ebuild 
b/sys-libs/libunwind/libunwind-1.1-r1.ebuild
index 5403e33..03557ac 100644
--- a/sys-libs/libunwind/libunwind-1.1-r1.ebuild
+++ b/sys-libs/libunwind/libunwind-1.1-r1.ebuild
@@ -42,8 +42,6 @@ src_prepare() {
 }
 
 src_configure() {
-       # do not $(use_enable) because the configure.in is broken and parses
-       # --disable-debug the same as --enable-debug.
        # https://savannah.nongnu.org/bugs/index.php?34324
        # --enable-cxx-exceptions: always enable it, headers provide the 
interface
        # and on some archs it is disabled by default causing a mismatch 
between the
@@ -58,7 +56,7 @@ src_configure() {
                $(use_enable lzma minidebuginfo) \
                $(use_enable static-libs static) \
                $(use_enable debug conservative_checks) \
-               $(use debug && echo --enable-debug)
+               $(use_enable debug)
 }
 
 src_test() {

diff --git a/sys-libs/libunwind/libunwind-1.2_rc1.ebuild 
b/sys-libs/libunwind/libunwind-1.2_rc1.ebuild
index e3d819d..124f648 100644
--- a/sys-libs/libunwind/libunwind-1.2_rc1.ebuild
+++ b/sys-libs/libunwind/libunwind-1.2_rc1.ebuild
@@ -37,8 +37,6 @@ src_prepare() {
 }
 
 src_configure() {
-       # do not $(use_enable) because the configure.in is broken and parses
-       # --disable-debug the same as --enable-debug.
        # https://savannah.nongnu.org/bugs/index.php?34324
        # --enable-cxx-exceptions: always enable it, headers provide the 
interface
        # and on some archs it is disabled by default causing a mismatch 
between the
@@ -57,7 +55,7 @@ src_configure() {
                $(use_enable lzma minidebuginfo) \
                $(use_enable static-libs static) \
                $(use_enable debug conservative_checks) \
-               $(use debug && echo --enable-debug)
+               $(use_enable debug)
 }
 
 src_test() {

Reply via email to