sys-libs/libunwind: clean up debug configure logic
authorMike Frysinger <vapier@gentoo.org>
Mon, 13 Jun 2016 18:20:00 +0000 (14:20 -0400)
committerMike Frysinger <vapier@gentoo.org>
Mon, 13 Jun 2016 18:20:00 +0000 (14:20 -0400)
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
sys-libs/libunwind/libunwind-1.2_rc1.ebuild

index 5403e331909d15400cf782185e2488d8ed12b4c1..03557aca160a4f83b5e2dea93127a2d7c7a0dd21 100644 (file)
@@ -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() {
index e3d819d9c6d0e4d7f8890d4ee7006f247d0172eb..124f64844936a3aa12b2c991c592244d7ac717b6 100644 (file)
@@ -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() {