mono: add support for *-musl (#4587)

This commit is contained in:
Jonathan Lee 2016-08-10 23:21:01 -07:00 committed by Juan RP
parent 1830795da4
commit 51e56fde73
3 changed files with 27 additions and 1 deletions

View File

@ -2597,3 +2597,10 @@ liballegro_memfile.so.5.2 allegro5-5.2.1_1
liballegro_physfs.so.5.2 allegro5-5.2.1_1
liballegro_video.so.5.2 allegro5-5.2.1_1
liballegro_main.so.5.2 allegro5-5.2.1_1
libmono-profiler-cov.so.0 mono-4.0.1.44_2
libmono-profiler-aot.so.0 mono-4.0.1.44_2
libmono-profiler-iomap.so.0 mono-4.0.1.44_2
libmono-profiler-log.so.0 mono-4.0.1.44_2
libikvm-native.so mono-4.0.1.44_2
libMonoPosixHelper.so mono-4.0.1.44_2
libMonoSupportW.so mono-4.0.1.44_2

View File

@ -0,0 +1,11 @@
--- mono/mini/exceptions-arm.c 2015-05-08 17:22:57.000000000 +0200
+++ mono/mini/exceptions-arm.c 2016-08-10 17:29:35.856372222 +0200
@@ -15,7 +15,9 @@
#ifndef MONO_CROSS_COMPILE
#ifdef HAVE_ASM_SIGCONTEXT_H
+#if defined(__GLIBC__)
#include <asm/sigcontext.h>
+#endif
#endif /* def HAVE_ASM_SIGCONTEXT_H */
#endif

View File

@ -1,7 +1,7 @@
# Template file for 'mono'
pkgname=mono
version=4.0.1.44
revision=1
revision=2
wrksrc="mono-${version%.*}"
lib32disabled=yes
build_style=gnu-configure
@ -16,6 +16,14 @@ license="GPL-2, LGPL-2, MPL, MIT"
distfiles="http://download.mono-project.com/sources/mono/$pkgname-$version.tar.bz2"
checksum=eaf5bd9d19818cb89483b3c9cae2ee3569643fd621560da036f6a49f6b3e3a6f
case "$XBPS_TARGET_MACHINE" in
*-musl) configure_args+=" --disable-boehm --without-sigaltstack" ;;
esac
pre_configure() {
autoreconf -fi
}
post_install() {
vlicense LICENSE
}