summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2015-08-12 04:48:41 -0400
committerMike Frysinger <vapier@gentoo.org>2015-08-12 06:09:16 -0400
commit912dfbf3095a5087982364d5813b3ebdc03c4cf7 (patch)
tree358519f19ab672dd8cd7d86388e0c5300e92cdba /sys-libs/ncurses/ncurses-5.9-r4.ebuild
parentprofiles: p.use.mask media-sound/qsampler[libgig], bug #557354 (diff)
downloadgentoo-912dfbf3095a5087982364d5813b3ebdc03c4cf7.tar.gz
gentoo-912dfbf3095a5087982364d5813b3ebdc03c4cf7.tar.bz2
gentoo-912dfbf3095a5087982364d5813b3ebdc03c4cf7.zip
sys-libs/ncurses: use libgpm.so.1 all the time #544828
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.
Diffstat (limited to 'sys-libs/ncurses/ncurses-5.9-r4.ebuild')
-rw-r--r--sys-libs/ncurses/ncurses-5.9-r4.ebuild5
1 files changed, 3 insertions, 2 deletions
diff --git a/sys-libs/ncurses/ncurses-5.9-r4.ebuild b/sys-libs/ncurses/ncurses-5.9-r4.ebuild
index e4553aab4a7a..2d241b1f868c 100644
--- a/sys-libs/ncurses/ncurses-5.9-r4.ebuild
+++ b/sys-libs/ncurses/ncurses-5.9-r4.ebuild
@@ -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