commit:     6f1c67b6da6e2ba6a87510383f2ac00253832bda
Author:     Joshua Kinard <kumba <AT> gentoo <DOT> org>
AuthorDate: Sat Jan  2 04:08:23 2016 +0000
Commit:     Joshua Kinard <kumba <AT> gentoo <DOT> org>
CommitDate: Sat Jan  2 04:08:23 2016 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6f1c67b6

For uClibc userlands, add dep to dev-libs/libiconv and append -liconv to LIBS.  
Fixes/recloses #542296.

Package-Manager: portage-2.2.26

 sys-block/parted/parted-3.2-r1.ebuild | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/sys-block/parted/parted-3.2-r1.ebuild 
b/sys-block/parted/parted-3.2-r1.ebuild
index e48c620..c9c6999 100644
--- a/sys-block/parted/parted-3.2-r1.ebuild
+++ b/sys-block/parted/parted-3.2-r1.ebuild
@@ -1,9 +1,9 @@
-# Copyright 1999-2015 Gentoo Foundation
+# Copyright 1999-2016 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 # $Id$
 
 EAPI=5
-inherit autotools eutils
+inherit autotools eutils flag-o-matic
 
 DESCRIPTION="Create, destroy, resize, check, copy partitions and file systems"
 HOMEPAGE="https://www.gnu.org/software/parted";
@@ -23,6 +23,7 @@ RDEPEND="
        device-mapper? ( >=sys-fs/lvm2-2.02.45 )
        readline? ( >=sys-libs/readline-5.2:0= )
        selinux? ( sys-libs/libselinux )
+       elibc_uclibc? ( dev-libs/libiconv )
 "
 DEPEND="
        ${RDEPEND}
@@ -40,6 +41,7 @@ src_prepare() {
 }
 
 src_configure() {
+       use elibc_uclibc && append-libs -liconv
        econf \
                $(use_enable debug) \
                $(use_enable device-mapper) \

Reply via email to