commit:     1f67abae389ea963151bc15e727d5a5055321155
Author:     Justin Lecher <jlec <AT> gentoo <DOT> org>
AuthorDate: Thu Jan 28 10:40:35 2016 +0000
Commit:     Justin Lecher <jlec <AT> gentoo <DOT> org>
CommitDate: Thu Jan 28 10:44:29 2016 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1f67abae

net-libs/czmq: Fix creation of manpages

fix underlinking detected by ld.gold

Gentoo-Bug: https://bugs.gentoo.org/show_bug.cgi?id=572862

Package-Manager: portage-2.2.27
Signed-off-by: Justin Lecher <jlec <AT> gentoo.org>

 net-libs/czmq/czmq-3.0.2.ebuild | 16 ++++++++++------
 1 file changed, 10 insertions(+), 6 deletions(-)

diff --git a/net-libs/czmq/czmq-3.0.2.ebuild b/net-libs/czmq/czmq-3.0.2.ebuild
index b0d1819..7a85625 100644
--- a/net-libs/czmq/czmq-3.0.2.ebuild
+++ b/net-libs/czmq/czmq-3.0.2.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2015 Gentoo Foundation
+# Copyright 1999-2016 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 # $Id$
 
@@ -8,7 +8,7 @@ AUTOTOOLS_AUTORECONF=true
 
 inherit autotools-utils
 
-DESCRIPTION=" High-level C Binding for ZeroMQ"
+DESCRIPTION="High-level C Binding for ZeroMQ"
 HOMEPAGE="http://czmq.zeromq.org";
 SRC_URI="http://download.zeromq.org/${P}.tar.gz";
 
@@ -22,10 +22,9 @@ RDEPEND="
        net-libs/zeromq
 "
 DEPEND="${RDEPEND}
-       doc? (
-               app-text/asciidoc
-               app-text/xmlto
-       )"
+       app-text/asciidoc
+       app-text/xmlto
+"
 
 DOCS=( NEWS AUTHORS )
 
@@ -35,6 +34,11 @@ RESTRICT=test
 src_prepare() {
        use test && AUTOTOOLS_IN_SOURCE_BUILD=1
        sed -i -e 's|-Werror||g' configure.ac || die
+
+       cat >> src/Makemodule-local.am <<-EOF
+       src_libczmq_la_LDFLAGS += -pthread
+       EOF
+
        autotools-utils_src_prepare
 }
 

Reply via email to