blob: b08879f8ca8d19362d0d3c5a2f1791997edb0be0 (
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
49
50
51
52
53
|
# Copyright 1999-2010 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-util/mono-debugger/mono-debugger-2.6.3.ebuild,v 1.1 2010/07/04 19:19:32 pacho Exp $
# bah, tests fail. Needs to be fixed ...
RESTRICT="test"
EAPI=2
PATCHLEVEL=1
inherit go-mono mono autotools flag-o-matic eutils
DESCRIPTION="Debugger for .NET managed and unmanaged applications"
HOMEPAGE="http://www.go-mono.com"
LICENSE="GPL-2 MIT"
SLOT="0"
KEYWORDS="-* ~x86 ~amd64"
IUSE=""
# Binutils is needed for libbfd
RDEPEND="!!=dev-lang/mono-2.2
>=dev-libs/libedit-20090111
sys-devel/binutils
dev-libs/glib:2"
DEPEND="${RDEPEND}
!dev-lang/mercury"
src_prepare() {
go-mono_src_prepare
epatch "${FILESDIR}/${PN}-2.6-respect-cflags.patch" \
"${FILESDIR}/${PN}-2.6-system-bfd.patch" \
"${FILESDIR}/${PN}-2.6-system-libedit.patch"
eautoreconf
}
src_configure() {
# Let's go for extra safety to avoid runtime errors, until
# upstream applies it.
append-ldflags -Wl,--no-undefined
go-mono_src_configure \
--with-system-libbfd \
--with-system-libedit \
--disable-static
}
src_compile() {
emake -j1 || die "Failed to build"
}
|