blob: 2a6b1e2ac198c2c3c627a36d8a94712c6574eecf (
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
46
47
48
|
# Copyright 1999-2017 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
EAPI=6
inherit dotnet autotools flag-o-matic eutils git-r3
DESCRIPTION="Debugger for .NET managed and unmanaged applications"
HOMEPAGE="http://www.mono-project.com/"
EGIT_REPO_URI="git://github.com/mono/debugger.git"
LICENSE="GPL-2 MIT"
SLOT="0"
KEYWORDS="~x86 ~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() {
base_src_prepare
# Allow compilation against system libbfd, bnc#662581
epatch "${FILESDIR}/${PN}-2.8-system-bfd.patch"
eautoreconf
default
}
src_configure() {
append-ldflags -Wl,--no-undefined #nowarn
econf --disable-dependency-tracking \
--disable-static \
--with-system-libbfd \
--disable-static
}
src_compile() {
emake -j1 #nowarn
}
|