Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 561664 | Differences between
and this patch

Collapse All | Expand All

(-)a/sys-fs/xfsprogs/xfsprogs-3.2.4.ebuild (-2 / +11 lines)
Lines 4-10 Link Here
4
4
5
EAPI="4"
5
EAPI="4"
6
6
7
inherit eutils toolchain-funcs multilib
8
7
9
DESCRIPTION="xfs filesystem utilities"
8
DESCRIPTION="xfs filesystem utilities"
10
HOMEPAGE="http://oss.sgi.com/projects/xfs/"
9
HOMEPAGE="http://oss.sgi.com/projects/xfs/"
Lines 16-21 SLOT="0" Link Here
16
KEYWORDS="alpha amd64 arm hppa ia64 ~mips ppc ppc64 ~s390 ~sh sparc x86"
15
KEYWORDS="alpha amd64 arm hppa ia64 ~mips ppc ppc64 ~s390 ~sh sparc x86"
17
IUSE="libedit nls readline static static-libs"
16
IUSE="libedit nls readline static static-libs"
18
REQUIRED_USE="static? ( static-libs )"
17
REQUIRED_USE="static? ( static-libs )"
18
PLOCALES="de pl"
19
20
inherit eutils toolchain-funcs multilib l10n
19
21
20
LIB_DEPEND=">=sys-apps/util-linux-2.17.2[static-libs(+)]
22
LIB_DEPEND=">=sys-apps/util-linux-2.17.2[static-libs(+)]
21
	readline? ( sys-libs/readline[static-libs(+)] )
23
	readline? ( sys-libs/readline[static-libs(+)] )
Lines 95-98 src_install() { Link Here
95
	gen_usr_ldscript -a xfs xlog
97
	gen_usr_ldscript -a xfs xlog
96
	# removing unnecessary .la files if not needed
98
	# removing unnecessary .la files if not needed
97
	use static-libs || find "${ED}" -name '*.la' -delete
99
	use static-libs || find "${ED}" -name '*.la' -delete
100
101
	# remove disabled locales
102
	# Removing these in src_prepare requires editing ${WORKDIR}/po/Makefile
103
	rm_loc() {
104
		rm -r "${ED}"/usr/share/locale/$1 || die
105
		ls "${ED}"/usr/share/locale/* &> /dev/null || rmdir "${ED}"/usr/share/locale || die
106
	}
107
	l10n_for_each_disabled_locale_do rm_loc
98
}
108
}
99
- 

Return to bug 561664