summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2015-08-12 06:22:17 -0400
committerMike Frysinger <vapier@gentoo.org>2015-08-12 06:38:08 -0400
commitd76590f6efb6a7fd7c5465886be12b03c688c944 (patch)
tree06b634e6a6ecac50ced8104de0f6e8e8b10d38b0 /sys-libs/ncurses
parentsys-libs/ncurses: simplify the multilib dep logic (diff)
downloadgentoo-d76590f6efb6a7fd7c5465886be12b03c688c944.tar.gz
gentoo-d76590f6efb6a7fd7c5465886be12b03c688c944.tar.bz2
gentoo-d76590f6efb6a7fd7c5465886be12b03c688c944.zip
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.
Diffstat (limited to 'sys-libs/ncurses')
-rw-r--r--sys-libs/ncurses/ncurses-6.0.ebuild3
1 files changed, 2 insertions, 1 deletions
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