summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--packages/dev-lang/mono/mono-4.6.1.3.exheres-09
-rw-r--r--packages/dev-lang/mono/mono-5.4.1.6.exheres-0 (renamed from packages/dev-lang/mono/mono-4.2.2.30-r1.exheres-0)3
-rw-r--r--packages/dev-lang/mono/mono-lang.exlib19
3 files changed, 6 insertions, 25 deletions
diff --git a/packages/dev-lang/mono/mono-4.6.1.3.exheres-0 b/packages/dev-lang/mono/mono-4.6.1.3.exheres-0
deleted file mode 100644
index 06cc520..0000000
--- a/packages/dev-lang/mono/mono-4.6.1.3.exheres-0
+++ /dev/null
@@ -1,9 +0,0 @@
-# Copyright 2008 Saleem Abdulrasool <compnerd@compnerd.org>
-# Distributed under the temrs of the GNU General Public License v2
-
-require mono-lang
-
-PLATFORMS="~amd64 ~x86"
-
-WORK="${WORKBASE}/${PN}-$(ever range 1-3)"
-
diff --git a/packages/dev-lang/mono/mono-4.2.2.30-r1.exheres-0 b/packages/dev-lang/mono/mono-5.4.1.6.exheres-0
index 06cc520..b55e55c 100644
--- a/packages/dev-lang/mono/mono-4.2.2.30-r1.exheres-0
+++ b/packages/dev-lang/mono/mono-5.4.1.6.exheres-0
@@ -5,5 +5,6 @@ require mono-lang
PLATFORMS="~amd64 ~x86"
-WORK="${WORKBASE}/${PN}-$(ever range 1-3)"
+# Multiple tests fail to build
+RESTRICT="test"
diff --git a/packages/dev-lang/mono/mono-lang.exlib b/packages/dev-lang/mono/mono-lang.exlib
index 2b4dee3..bc96428 100644
--- a/packages/dev-lang/mono/mono-lang.exlib
+++ b/packages/dev-lang/mono/mono-lang.exlib
@@ -6,8 +6,8 @@ require mono
export_exlib_phases src_prepare src_configure src_test src_install pkg_postinst pkg_postrm
SUMMARY="An opensource implementation of the .NET framework"
-HOMEPAGE="http://www.mono-project.org/"
-DOWNLOADS="http://download.mono-project.com/sources/${PN}/${PNV}.tar.bz2"
+HOMEPAGE="http://www.mono-project.com/"
+DOWNLOADS="https://download.mono-project.com/sources/${PN}/${PNV}.tar.bz2"
LICENCES="( GPL-2 LGPL-2 X11 )"
SLOT="0"
@@ -16,8 +16,10 @@ MYOPTIONS="X"
DEPENDENCIES="
build:
app-misc/ca-certificates
+ sys-apps/bc
sys-devel/bison
sys-devel/gettext[>=0.10.35]
+ sys-libs/zlib
virtual/pkg-config[>=0.20]
build+run:
X? (
@@ -27,24 +29,11 @@ DEPENDENCIES="
"
mono-lang_src_prepare() {
- # use prefixed pkg-config everywhere
- edo sed \
- -e "s/pkg-config/ $(exhost --tool-prefix)pkg-config/g" \
- -i mcs/class/Mono.Posix/Makefile \
- -i mcs/mcs/driver.cs \
- -i mcs/tools/mkbundle/mkbundle.cs
-
# make aot-compiler use prefixed 'as'
edo sed \
-e "s/\(--aot=\)/\1tool-prefix=$(exhost --tool-prefix),/" \
-i mcs/class/aot-compiler/Makefile
- # delete invalid targets from the tests Makefile
- edo sed \
- -e "/^check-local/ { N; s/test-unhandled-exception-2//; \
- s/test-process-stress// }" \
- -i mono/tests/Makefile.in
-
default
}