sys-libs/ncurses: use libgpm.so.1 all the time #544828
authorMike Frysinger <vapier@gentoo.org>
Wed, 12 Aug 2015 08:48:41 +0000 (04:48 -0400)
committerMike Frysinger <vapier@gentoo.org>
Wed, 12 Aug 2015 10:09:16 +0000 (06:09 -0400)
Since the gpm code relies on running ldd on the linked file in order to
calculate the SONAME, and we're passing this in as a configure flag some
of the time, just change the code to always pass it in.  This stabilizes
behavior across cross-compiling/multilib/ldd output/etc...  Relying on
ldd output in general is bad juju.

sys-libs/ncurses/ncurses-5.9-r3.ebuild
sys-libs/ncurses/ncurses-5.9-r4.ebuild

index 18038340a7e979f9ab3b00893fa3c02609e498b8..59540d482e08e3edc67136280d357c13eeab2e68 100644 (file)
@@ -98,8 +98,9 @@ do_configure() {
                $(use_with cxx cxx-binding)
                $(use_with debug)
                $(use_with profile)
-               $(use_with gpm)
-               $(multilib_is_native_abi || use_with gpm gpm libgpm.so.1)
+               # The configure script uses ldd to parse the linked output which
+               # is flaky for cross-compiling/multilib/ldd versions/etc...
+               $(use_with gpm gpm libgpm.so.1)
                --disable-termcap
                --enable-symlinks
                --with-rcs-ids
index e4553aab4a7af21752ad1e1c74bed24fcda2242c..2d241b1f868c5fa171dc2b4e48b31e56b5d40e06 100644 (file)
@@ -100,8 +100,9 @@ do_configure() {
                $(use_with cxx cxx-binding)
                $(use_with debug)
                $(use_with profile)
-               $(use_with gpm)
-               $(multilib_is_native_abi || use_with gpm gpm libgpm.so.1)
+               # The configure script uses ldd to parse the linked output which
+               # is flaky for cross-compiling/multilib/ldd versions/etc...
+               $(use_with gpm gpm libgpm.so.1)
                --disable-termcap
                --enable-symlinks
                --with-rcs-ids