From d76590f6efb6a7fd7c5465886be12b03c688c944 Mon Sep 17 00:00:00 2001 From: Mike Frysinger Date: Wed, 12 Aug 2015 06:22:17 -0400 Subject: 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 92adb1e58468..7372e09a5895 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 -- cgit v1.2.3-65-gdbad