net-mail/notmuch: marked ~x64-solaris
authorFabian Groffen <grobian@gentoo.org>
Tue, 12 Sep 2017 08:50:52 +0000 (10:50 +0200)
committerFabian Groffen <grobian@gentoo.org>
Tue, 12 Sep 2017 09:12:49 +0000 (11:12 +0200)
Package-Manager: Portage-2.3.8-prefix, Repoman-2.3.3

net-mail/notmuch/notmuch-0.25.ebuild

index a40a43dd00f95cce6972b3aa772accaa5aecca3b..5c7f9d0860eca7f100eadb4a8a14c2cff1f965a3 100644 (file)
@@ -18,7 +18,7 @@ LICENSE="GPL-3"
 # Sub-slot corresponds to major wersion of libnotmuch.so.X.Y.  Bump of Y is
 # meant to be binary backward compatible.
 SLOT="0/5"
-KEYWORDS="~alpha ~amd64 ~x86"
+KEYWORDS="~alpha ~amd64 ~x86 ~x64-solaris"
 REQUIRED_USE="
        nmbug? ( python )
        python? ( ${PYTHON_REQUIRED_USE} )
@@ -111,6 +111,8 @@ src_prepare() {
                append-cflags -g
                append-cxxflags -g
        fi
+
+       [[ ${CHOST} == *-solaris* ]] && append-ldflags -lnsl -lsocket
 }
 
 src_configure() {