diff options
author | Joshua Kinard <kumba@gentoo.org> | 2016-01-18 03:37:54 -0500 |
---|---|---|
committer | Joshua Kinard <kumba@gentoo.org> | 2016-01-18 03:38:43 -0500 |
commit | f36412408ce071a35d5733d921d84151376426e1 (patch) | |
tree | c349f1f084642958c1acf05df34a860c02173431 /sys-fs/xfsdump | |
parent | profiles/prefix/darwin/package.use.mask: mask USE=xattr for dev-libs/glib (diff) | |
download | gentoo-f36412408ce071a35d5733d921d84151376426e1.tar.gz gentoo-f36412408ce071a35d5733d921d84151376426e1.tar.bz2 gentoo-f36412408ce071a35d5733d921d84151376426e1.zip |
Make sys-devel/gettext optional via the 'nls' USE flag, primarily so it can be masked for xfsdump on uClibc. Fixes #570548.
Package-Manager: portage-2.2.26
Diffstat (limited to 'sys-fs/xfsdump')
-rw-r--r-- | sys-fs/xfsdump/xfsdump-3.1.6.ebuild | 12 |
1 files changed, 8 insertions, 4 deletions
diff --git a/sys-fs/xfsdump/xfsdump-3.1.6.ebuild b/sys-fs/xfsdump/xfsdump-3.1.6.ebuild index 935ff6455437..57f98a8f6e9f 100644 --- a/sys-fs/xfsdump/xfsdump-3.1.6.ebuild +++ b/sys-fs/xfsdump/xfsdump-3.1.6.ebuild @@ -1,10 +1,10 @@ -# 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 multilib eutils +inherit multilib eutils flag-o-matic DESCRIPTION="xfs dump/restore utilities" HOMEPAGE="http://oss.sgi.com/projects/xfs" @@ -14,14 +14,17 @@ SRC_URI="ftp://oss.sgi.com/projects/xfs/cmd_tars/${P}.tar.gz LICENSE="LGPL-2.1" SLOT="0" KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ~mips ~ppc ~ppc64 -sparc ~x86" -IUSE="" +IUSE="nls" RDEPEND="sys-fs/e2fsprogs >=sys-fs/xfsprogs-3.2.0 sys-apps/dmapi >=sys-apps/attr-2.4.19" DEPEND="${RDEPEND} - sys-devel/gettext" + nls? ( + sys-devel/gettext + elibc_uclibc? ( dev-libs/libintl ) + )" src_prepare() { sed -i \ @@ -38,6 +41,7 @@ src_configure() { export DEBUG=-DNDEBUG econf \ + $(use_enable nls gettext) \ --libdir="${EPREFIX}/$(get_libdir)" \ --libexecdir="${EPREFIX}/usr/$(get_libdir)" \ --sbindir="${EPREFIX}/sbin" |