summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristophe Lermytte <gentoo@lermytte.be>2016-11-16 00:54:28 +0100
committerGilles Dartiguelongue <eva@gentoo.org>2016-11-23 08:59:26 +0100
commit936aa888f16230e1a7cf8e4f192241b902cc6f3d (patch)
treea804fcebee30a418ca2f86e9075198aa95a1e21c /dev-libs/libsigc++/libsigc++-2.10.0.ebuild
parentx11-libs/gtk+: bump to 3.22.4 (diff)
downloadgentoo-936aa888f16230e1a7cf8e4f192241b902cc6f3d.tar.gz
gentoo-936aa888f16230e1a7cf8e4f192241b902cc6f3d.tar.bz2
gentoo-936aa888f16230e1a7cf8e4f192241b902cc6f3d.zip
dev-libs/libsigc++: properly disable benchmarking
Also make boost dependency a multilib one Upstream bug logged: https://bugzilla.gnome.org/show_bug.cgi?id=774732 Gentoo-Bug: 599764 Package-Manager: portage-2.3.2 Closes: https://github.com/gentoo/gentoo/pull/2842 Signed-off-by: Gilles Dartiguelongue <eva@gentoo.org>
Diffstat (limited to 'dev-libs/libsigc++/libsigc++-2.10.0.ebuild')
-rw-r--r--dev-libs/libsigc++/libsigc++-2.10.0.ebuild10
1 files changed, 5 insertions, 5 deletions
diff --git a/dev-libs/libsigc++/libsigc++-2.10.0.ebuild b/dev-libs/libsigc++/libsigc++-2.10.0.ebuild
index d1d2ff7a805d..2e98bb025cd0 100644
--- a/dev-libs/libsigc++/libsigc++-2.10.0.ebuild
+++ b/dev-libs/libsigc++/libsigc++-2.10.0.ebuild
@@ -16,10 +16,13 @@ IUSE="doc static-libs test"
RDEPEND=""
DEPEND="sys-devel/m4
doc? ( app-doc/doxygen )
- test? ( dev-libs/boost )"
+ test? ( dev-libs/boost[${MULTILIB_USEDEP}] )"
# Needs mm-common for eautoreconf
src_prepare() {
+ # properly interpret --{enable,disable}-benchmark configure option (bug 599764)
+ eapply "${FILESDIR}"/${P}-make-disable-benchmarks-work.patch
+
# don't waste time building examples
sed -i 's|^\(SUBDIRS =.*\)examples\(.*\)$|\1\2|' \
Makefile.am Makefile.in || die "sed examples failed"
@@ -51,8 +54,5 @@ multilib_src_install_all() {
# Note: html docs are installed into /usr/share/doc/libsigc++-2.0
# We can't use /usr/share/doc/${PF} because of links from glibmm etc. docs
- if use doc ; then
- insinto /usr/share/doc/${PF}
- doins -r examples
- fi
+ use doc && dodoc -r examples
}