commit:     422346e2efac61e2e800a07b2f7a7cc498b9ab69
Author:     Sergei Trofimovich <slyfox <AT> gentoo <DOT> org>
AuthorDate: Sat Sep 16 17:25:19 2017 +0000
Commit:     Sergei Trofimovich <slyfox <AT> gentoo <DOT> org>
CommitDate: Sat Sep 16 17:25:27 2017 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=422346e2

net-libs/libnsl: add basic multilib support

Package-Manager: Portage-2.3.8, Repoman-2.3.3

 net-libs/libnsl/libnsl-1.1.0.ebuild | 9 +++++++--
 1 file changed, 7 insertions(+), 2 deletions(-)

diff --git a/net-libs/libnsl/libnsl-1.1.0.ebuild 
b/net-libs/libnsl/libnsl-1.1.0.ebuild
index 77108d56898..61647327556 100644
--- a/net-libs/libnsl/libnsl-1.1.0.ebuild
+++ b/net-libs/libnsl/libnsl-1.1.0.ebuild
@@ -3,7 +3,7 @@
 
 EAPI=6
 
-inherit autotools
+inherit autotools multilib-minimal
 
 DESCRIPTION="Public client interface for NIS(YP) and NIS+ in a IPv6 ready 
version"
 HOMEPAGE="https://github.com/thkukuk/libnsl";
@@ -16,7 +16,7 @@ IUSE=""
 
 DEPEND="
        !<sys-libs/glibc-2.26
-       net-libs/libtirpc
+       net-libs/libtirpc[${MULTILIB_USEDEP}]
 "
 RDEPEND=${DEPEND}
 
@@ -26,3 +26,8 @@ src_prepare(){
        default
        eautoreconf
 }
+
+multilib_src_configure() {
+       # Fool multilib-minimal to run ./configure in out-of-tree build
+       ECONF_SOURCE=${S} econf
+}

Reply via email to