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/xfsdump/xfsdump-3.1.3.ebuild (-2 / +15 lines)
Lines 4-10 Link Here
4
4
5
EAPI="4"
5
EAPI="4"
6
6
7
inherit multilib eutils
8
7
9
DESCRIPTION="xfs dump/restore utilities"
8
DESCRIPTION="xfs dump/restore utilities"
10
HOMEPAGE="http://oss.sgi.com/projects/xfs"
9
HOMEPAGE="http://oss.sgi.com/projects/xfs"
Lines 15-20 LICENSE="LGPL-2.1" Link Here
15
SLOT="0"
14
SLOT="0"
16
KEYWORDS="alpha amd64 hppa ia64 ~mips ppc ppc64 -sparc x86"
15
KEYWORDS="alpha amd64 hppa ia64 ~mips ppc ppc64 -sparc x86"
17
IUSE=""
16
IUSE=""
17
PLOCALES="de pl"
18
19
inherit multilib eutils l10n
18
20
19
RDEPEND="sys-fs/e2fsprogs
21
RDEPEND="sys-fs/e2fsprogs
20
	!<sys-fs/xfsprogs-3
22
	!<sys-fs/xfsprogs-3
Lines 42-44 src_configure() { Link Here
42
		--libexecdir=/usr/$(get_libdir) \
44
		--libexecdir=/usr/$(get_libdir) \
43
		--sbindir=/sbin
45
		--sbindir=/sbin
44
}
46
}
45
- 
47
48
src_install() {
49
	emake DIST_ROOT="${ED}" install
50
51
	# remove disabled locales
52
	# Removing these in src_prepare requires editing ${WORKDIR}/po/Makefile
53
	rm_loc() {
54
		rm -r "${ED}"/usr/share/locale/$1 || die
55
		ls "${ED}"/usr/share/locale/* &> /dev/null || rmdir "${ED}"/usr/share/locale || die
56
	}
57
	l10n_for_each_disabled_locale_do rm_loc
58
}

Return to bug 561664