For uClibc userlands, add dep to dev-libs/libiconv and append -liconv to LIBS. Fixes...
authorJoshua Kinard <kumba@gentoo.org>
Sat, 2 Jan 2016 04:08:23 +0000 (23:08 -0500)
committerJoshua Kinard <kumba@gentoo.org>
Sat, 2 Jan 2016 04:08:23 +0000 (23:08 -0500)
Package-Manager: portage-2.2.26

sys-block/parted/parted-3.2-r1.ebuild

index e48c62046256f7fc5d617561edf522bd3d6b3efc..c9c699918ceb91ee8590cd83d1b34a2caf73de90 100644 (file)
@@ -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) \