Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 577814
Collapse All | Expand All

(-)a/app-emulation/qemu/qemu-2.5.0-r1.ebuild (-5 / +9 lines)
Lines 6-14 EAPI=5 Link Here
6
6
7
PYTHON_COMPAT=( python2_7 )
7
PYTHON_COMPAT=( python2_7 )
8
PYTHON_REQ_USE="ncurses,readline"
8
PYTHON_REQ_USE="ncurses,readline"
9
PLOCALES="de_DE fr_FR hu it tr zh_CN"
9
10
10
inherit eutils flag-o-matic linux-info toolchain-funcs multilib python-r1 \
11
inherit eutils flag-o-matic linux-info toolchain-funcs multilib python-r1 \
11
	user udev fcaps readme.gentoo pax-utils
12
	user udev fcaps readme.gentoo pax-utils l10n
12
13
13
BACKPORTS=
14
BACKPORTS=
14
15
Lines 308-316 src_prepare() { Link Here
308
		-e 's/^(C|OP_C|HELPER_C)FLAGS=/\1FLAGS+=/' \
309
		-e 's/^(C|OP_C|HELPER_C)FLAGS=/\1FLAGS+=/' \
309
		Makefile Makefile.target || die
310
		Makefile Makefile.target || die
310
311
311
	# Cheap hack to disable gettext .mo generation.
312
	use nls || rm -f po/*.po
313
314
	epatch "${FILESDIR}"/qemu-2.5.0-cflags.patch
312
	epatch "${FILESDIR}"/qemu-2.5.0-cflags.patch
315
	[[ -n ${BACKPORTS} ]] && \
313
	[[ -n ${BACKPORTS} ]] && \
316
		EPATCH_FORCE=yes EPATCH_SUFFIX="patch" EPATCH_SOURCE="${S}/patches" \
314
		EPATCH_FORCE=yes EPATCH_SUFFIX="patch" EPATCH_SOURCE="${S}/patches" \
Lines 329-334 src_prepare() { Link Here
329
	MAKEOPTS+=" V=1"
327
	MAKEOPTS+=" V=1"
330
328
331
	epatch_user
329
	epatch_user
330
	# Cheap hack to disable gettext .mo generation.
331
	use nls || rm -f po/*.po
332
333
	rm_loc() {
334
		rm -f po/${1}.po || die
335
	}
336
	l10n_for_each_disabled_locale_do rm_loc
332
}
337
}
333
338
334
##
339
##
335
- 

Return to bug 577814