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

(-)file_not_specified_in_diff (-9 / +5 lines)
Line  Link Here
0
-- gdb-7.2.ebuild
0
++ gdb-7.2.ebuild
Lines 31-45 Link Here
31
RDEPEND=">=sys-libs/ncurses-5.2-r2
31
RDEPEND=">=sys-libs/ncurses-5.2-r2
32
	sys-libs/readline
32
	sys-libs/readline
33
	expat? ( dev-libs/expat )
33
	expat? ( dev-libs/expat )
34
	python? ( dev-lang/python )"
34
	python? ( =dev-lang/python-2* )"
35
DEPEND="${RDEPEND}
35
DEPEND="${RDEPEND}
36
	app-arch/xz-utils
36
	app-arch/xz-utils
37
	test? ( dev-util/dejagnu )
37
	test? ( dev-util/dejagnu )
38
	nls? ( sys-devel/gettext )"
38
	nls? ( sys-devel/gettext )"
39
39
40
src_unpack() {
40
src_prepare() {
41
	unpack ${A}
42
	cd "${S}"
43
	use vanilla || [[ -n ${PATCH_VER} ]] && EPATCH_SUFFIX="patch" epatch "${WORKDIR}"/patch
41
	use vanilla || [[ -n ${PATCH_VER} ]] && EPATCH_SUFFIX="patch" epatch "${WORKDIR}"/patch
44
	strip-linguas -u bfd/po opcodes/po
42
	strip-linguas -u bfd/po opcodes/po
45
}
43
}
Lines 53-59 Link Here
53
	fi
51
	fi
54
}
52
}
55
53
56
src_compile() {
54
src_configure() {
57
	strip-unsupported-flags
55
	strip-unsupported-flags
58
	econf \
56
	econf \
59
		--with-pkgversion="$(gdb_branding)" \
57
		--with-pkgversion="$(gdb_branding)" \
Lines 65-73 Link Here
65
		$(use_with expat) \
63
		$(use_with expat) \
66
		$(use_enable nls) \
64
		$(use_enable nls) \
67
		$(use multitarget && echo --enable-targets=all) \
65
		$(use multitarget && echo --enable-targets=all) \
68
		$(use_with python) \
66
		$(use_with python python "${EPREFIX}/usr/bin/python2")
69
		|| die
70
	emake || die
71
}
67
}
72
68
73
src_test() {
69
src_test() {

Return to bug 316945