From 5c00569a614db0622d6ab3d51db7e1d0642357f6 Mon Sep 17 00:00:00 2001 From: Helmut Pozimski Date: Sat, 11 Mar 2017 14:17:58 +0100 Subject: [PATCH] mono: update to 4.8.0.495 Closes: #5963 [via git-merge-pr] --- srcpkgs/mono-devel | 1 + srcpkgs/mono/patches/exceptions-arm.c.patch | 11 ----------- srcpkgs/mono/template | 18 ++++++++++++++---- 3 files changed, 15 insertions(+), 15 deletions(-) create mode 120000 srcpkgs/mono-devel delete mode 100644 srcpkgs/mono/patches/exceptions-arm.c.patch diff --git a/srcpkgs/mono-devel b/srcpkgs/mono-devel new file mode 120000 index 00000000000..386ccd8d238 --- /dev/null +++ b/srcpkgs/mono-devel @@ -0,0 +1 @@ +mono \ No newline at end of file diff --git a/srcpkgs/mono/patches/exceptions-arm.c.patch b/srcpkgs/mono/patches/exceptions-arm.c.patch deleted file mode 100644 index 922ff92e1d6..00000000000 --- a/srcpkgs/mono/patches/exceptions-arm.c.patch +++ /dev/null @@ -1,11 +0,0 @@ ---- 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 -+#endif - #endif /* def HAVE_ASM_SIGCONTEXT_H */ - #endif diff --git a/srcpkgs/mono/template b/srcpkgs/mono/template index 17ad677da42..d97e42ec127 100644 --- a/srcpkgs/mono/template +++ b/srcpkgs/mono/template @@ -1,13 +1,13 @@ # Template file for 'mono' pkgname=mono -version=4.6.2.16 +version=4.8.0.495 revision=1 wrksrc="mono-${version%.*}" lib32disabled=yes build_style=gnu-configure -configure_args="--disable-static --disable-system-aot" +configure_args="--disable-system-aot" # XXX: figure out how to split this up into subpkgs. -hostmakedepends="automake libtool perl python" +hostmakedepends="automake libtool perl python cmake" makedepends="zlib-devel libX11-devel libgdiplus-devel" depends="ca-certificates python" short_desc="Free implementation of the .NET platform including runtime and compiler" @@ -15,7 +15,7 @@ maintainer="Juan RP " homepage="http://www.mono-project.com" license="MIT, 3-clause-BSD, GPL-2, LGPL-2, MPL-1.1" distfiles="http://download.mono-project.com/sources/mono/$pkgname-$version.tar.bz2" -checksum=8965d107f4ebf4583ba1b50e0dcad39f0dc6adac8df7a083e9c5879ad93c0ea4 +checksum="7ba62e6f42559d58dc447a19fc1cb2a9c7977d6c6e21e1e335f73917dea120cb" case "$XBPS_TARGET_MACHINE" in *-musl) configure_args+=" --disable-boehm --without-sigaltstack" ;; @@ -28,3 +28,13 @@ pre_configure() { post_install() { vlicense LICENSE } + +mono-devel_package() { + short_desc+=" - development files" + depends="${sourcepkg}>=${version}_${revision}" + pkg_install() { + vmove usr/include + vmove "usr/lib/*.a" + vmove usr/lib/pkgconfig + } +}