commit: d76590f6efb6a7fd7c5465886be12b03c688c944
Author: Mike Frysinger <vapier <AT> gentoo <DOT> org>
AuthorDate: Wed Aug 12 10:22:17 2015 +0000
Commit: Mike Frysinger <vapier <AT> gentoo <DOT> org>
CommitDate: Wed Aug 12 10:38:08 2015 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d76590f6
sys-libs/ncurses: build the C++ libs as shared
Since upstream has a configure flag for this now, we should be able to
build+install the C++ layers as shared libs instead of only making the
static libs available.
sys-libs/ncurses/ncurses-6.0.ebuild | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/sys-libs/ncurses/ncurses-6.0.ebuild
b/sys-libs/ncurses/ncurses-6.0.ebuild
index 92adb1e..7372e09 100644
--- a/sys-libs/ncurses/ncurses-6.0.ebuild
+++ b/sys-libs/ncurses/ncurses-6.0.ebuild
@@ -96,6 +96,7 @@ do_configure() {
$(use_with ada)
$(use_with cxx)
$(use_with cxx cxx-binding)
+ --with-cxx-shared
$(use_with debug)
$(use_with profile)
# The configure script uses ldd to parse the linked output which
@@ -181,7 +182,7 @@ multilib_src_install() {
if ! tc-is-static-only ; then
ln -sf libncurses$(get_libname)
"${ED}"/usr/$(get_libdir)/libcurses$(get_libname) || die
fi
- use static-libs || find "${ED}"/usr/ -name '*.a' -a '!' -name
'*curses++*.a' -delete
+ use static-libs || find "${ED}"/usr/ -name '*.a' -delete
# Build fails to create this ...
dosym ../share/terminfo /usr/$(get_libdir)/terminfo