aboutsummaryrefslogtreecommitdiff
blob: 6a242b37d0c1b6413b267f045b49db1a035a013b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
# Copyright 1999-2019 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=6

inherit dotnet autotools flag-o-matic git-r3

DESCRIPTION="Debugger for .NET managed and unmanaged applications"
HOMEPAGE="https://www.mono-project.com/"

EGIT_REPO_URI="git://github.com/mono/debugger.git"

LICENSE="GPL-2 MIT"
SLOT="0"
KEYWORDS="~amd64"
IUSE=""

RESTRICT="test"

# Binutils is needed for libbfd
RDEPEND="!!=dev-lang/mono-2.2
	sys-devel/binutils:*
	dev-libs/glib:2"
DEPEND="${RDEPEND}
	!dev-lang/mercury"

src_prepare() {
	default

	# Allow compilation against system libbfd, bnc#662581
	eapply "${FILESDIR}/${PN}-2.8-system-bfd.patch"
	eautoreconf
}

src_configure() {
	append-ldflags -Wl,--no-undefined #nowarn
	econf 	--disable-dependency-tracking		\
		--disable-static			\
		--with-system-libbfd 		\
		--disable-static
}

src_compile() {
	emake -j1 #nowarn
}