Files
for-gentoo/dev-util/mono-debugger/mono-debugger-2.10.ebuild
T
2015-11-16 15:26:37 +01:00

52 lines
1.0 KiB
Bash

# Copyright 1999-2015 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
EAPI=5
inherit go-mono mono-env autotools flag-o-matic eutils
DESCRIPTION="Debugger for .NET managed and unmanaged applications"
HOMEPAGE="http://www.mono-project.com/"
LICENSE="GPL-2 MIT"
SLOT="0"
KEYWORDS="-* amd64 x86"
IUSE=""
# bah, tests fail. Needs to be fixed ...
RESTRICT="test"
#Bundles jay
# Binutils is needed for libbfd
RDEPEND="!!=dev-lang/mono-2.2
sys-devel/binutils:0
dev-libs/glib:2"
DEPEND="${RDEPEND}
!dev-lang/mercury"
src_prepare() {
go-mono_src_prepare
epatch "${FILESDIR}/${P}-glib2.32.patch"
# Allow compilation against system libbfd, bnc#662581
epatch "${FILESDIR}/${PN}-2.8-system-bfd.patch"
eautoreconf
}
src_configure() {
# fixes for gmcs missing on mono >2.10
export MCS="/usr/bin/mcs"
# 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 \
--disable-static
}
src_compile() {
emake -j1
}