diff options
author | V3n3RiX <venerix@koprulu.sector> | 2024-03-02 11:41:42 +0000 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2024-03-02 11:41:42 +0000 |
commit | 708c31c860cb6292743b80e3371ccccffb0c9bbd (patch) | |
tree | 076a7123f18f332e1c6fc8aa5b7c702a38a87ba0 /dev-lang | |
parent | a4036575de835600b3085b97974d0766ef7c7bc2 (diff) |
gentoo auto-resync : 02:03:2024 - 11:41:42
Diffstat (limited to 'dev-lang')
-rw-r--r-- | dev-lang/Manifest.gz | bin | 21859 -> 21858 bytes | |||
-rw-r--r-- | dev-lang/mono/Manifest | 6 | ||||
-rw-r--r-- | dev-lang/mono/mono-6.12.0.122.ebuild | 128 | ||||
-rw-r--r-- | dev-lang/mono/mono-6.12.0.182.ebuild | 127 | ||||
-rw-r--r-- | dev-lang/mono/mono-6.12.0.199-r1.ebuild | 129 | ||||
-rw-r--r-- | dev-lang/mono/mono-6.12.0.199.ebuild | 127 |
6 files changed, 0 insertions, 517 deletions
diff --git a/dev-lang/Manifest.gz b/dev-lang/Manifest.gz Binary files differindex 29b0b3ae3abc..581760630b47 100644 --- a/dev-lang/Manifest.gz +++ b/dev-lang/Manifest.gz diff --git a/dev-lang/mono/Manifest b/dev-lang/mono/Manifest index 3353419486f0..62199df280f8 100644 --- a/dev-lang/mono/Manifest +++ b/dev-lang/mono/Manifest @@ -1,12 +1,6 @@ AUX mono-5.12-try-catch.patch 1267 BLAKE2B e33836d53fd4c9a4e64614d3f309058b2009487a853aee48fae99cd0326095b6dc26e7fbdd178e25f9fc3901f74f937ce5e9d3bb4322ca50e139d13f66c209a5 SHA512 3a82d4bed31b212e23fe24647fc5b9c4788be5f4966377a3bef9f92a51d16181e77e19ca1ec4736792da6a18206986bbb54d967499e2ca7e224201cf811f91b5 AUX mono-6.12.0.122-disable-automagic-ccache.patch 513 BLAKE2B ca0f3f1b2d9f3357f8e5197acdb18c3f02a9e09d90140fec133e20edaf960e74a4bd4949b453d79c656c3314fa720e94794b91a748469ca91abf78c8ca0bb8c6 SHA512 5e97c420272644f0636dcee2baf49cfc91d055c42990197c1c2724358e6847cf4866f22c247d4930ad7b780037c252970c3c3baae7641794ed8f50ff6456f23e AUX mono-6.12.0.199-configure-c99.patch 1464 BLAKE2B 2123b6c51c47578c6ab574d82debe381af8b8bfebf3ffa1724fd72cc6a620040a4612febbba61a52bbe80f4850569b919f08e3e820ebb283451610cc52f96c9d SHA512 b7e2cd76880a4dba829cc554d6f1d3444edce953efec17f14ccbc5a49f2727205d54bfadba5a680814087d0a070e200288ab5bf2ad418ed6d4317d06fbde0259 -DIST mono-6.12.0.122.tar.xz 292266176 BLAKE2B 07043c5fbca33edf64ebca0392b47af9b9ab502be772efb5afbe5ec9e8683b7f4e96a305ee906dff617842bdba2819c2abc130d7aff23b12779f403bbd88f3bd SHA512 0fbd4147498cc81e384933147eb6aa5c559d17a794a308af7ffa43dce51e0faefde24fc75e987ed804dcb161b52756944bc3611100fc0a4adcc260ca97ddaecd -DIST mono-6.12.0.182.tar.xz 303230932 BLAKE2B fc959e1d57d91670e8adf8ab64d3c0f16b7291f6a70d191b4401bf42a6bd35a7ac23b1aa5d2ed5cda833f29204bd56d800910320169941283cab52a1cb79ef30 SHA512 5f0f02f2adf89785af8f620c16d69fc97b87c9b39133286e6f1237a397f4842ea8d26802d9f802f8798a86540dc1bc3b5201428f218c78fbcf91f0d575cde512 DIST mono-6.12.0.199.tar.xz 304146664 BLAKE2B a38f0f1b80b300132247cee4621fc59bd65845c919ccd0cc55e00928b8a1b85b0695a9bb436c3efc0afd4e7dfa001714485964cf44239bb7c438ca6ed818dabf SHA512 9e379aaeb2e8750edbda74648c0ae9cc8cb9b2d7af85512bf2e729132c2e0322e776ef0b7657da708cbc1ae2a62f5532519d339fa68f465b30a65ca30d4a1e51 -EBUILD mono-6.12.0.122.ebuild 3534 BLAKE2B c65610f8a7f3152888451fe4487ee27f9e132e1e3a260775af602d65513b46042cd9fd5f67adc1c7c48e710d9b434a6723d382967c66b631e222028fe5efe096 SHA512 5cfd31f29b148cc3c21242461b700c68d59c96f97dda7c29a670ce79a4eec957bbc7a6987080f71a0e5839eb105c962401722e5aedd51ace25bbc7d5d0f71cae -EBUILD mono-6.12.0.182.ebuild 3526 BLAKE2B 60b49861d571060a8bc659674f815f79f6a04c7d1d273bf189e079fd04beaa54ae589b944b555665e31043d40cbc23f6b10ed9bf0d107464e5a1e26e8d44dbfa SHA512 d8877060041f48e647e8ba4d16d91b19eefce9a7b6120a149d545451ef56d5c914e2b73dc736613dfc47fdb2a090667b29d042bece595a0448757144a0522e4e -EBUILD mono-6.12.0.199-r1.ebuild 3605 BLAKE2B 498aed7f8de443af9ed1d8a59c40212b82721fa564a623c23d461cc51eadfcff24ee015415f0c18f060dc07b6f15ba2310b7ca0f82d776d959fd0d427008cb79 SHA512 985966c40b74c75d23e63326cabb412fe15a9ab2f29232ae17de50ce4ca46c1591763976e205855b9f030e52d2a01adcce8c57f27b9791b0a49c4321d01d8265 EBUILD mono-6.12.0.199-r2.ebuild 3655 BLAKE2B 645a0043e33a89d8478763607ac250e4c343f1f7fd8ce27875e2ee198bb851d6ce27d282e3d007254899fef73d6f02b1bd9027bfac8ca28c235a418d33d3666c SHA512 ffb7e4d1bac5439bae80c496d76e953cbecf36973344263818512045cbcd1be4f60e1fce59888d8f06f0f574096dde8471b04376932470db31847babf1995aba -EBUILD mono-6.12.0.199.ebuild 3528 BLAKE2B abefa292bc2588144dab33997362207547cc7ada77d44dd34731eb48ef12637aa139e429d725e6d0707fc1399b3340ab4ccdf91fc0cf99b6cec516e2e2f433bd SHA512 54dce4e7c5ec1b777db26ac6ec66ad9d1bc9d401e9c8b1d72adb1392c7a9af882446991bddadee7cdff8e5a7a3bfccb2d10c65b7fd59d818ad0c7cac571698f2 MISC metadata.xml 643 BLAKE2B f0fd2de7a1abf76c572f13550e6b6f82d03d66c016cf9be691710d5e8057c164dc3cf3e73d271ecfa64ccc80f0993c913d7806d1dab542ca935ed524b0e9d9a4 SHA512 8be588953da57d228d46281674f9f1e20ae5a9d382e5a5c4251263308a619f18a26f086761c538e375d18b01985dbcc79a0e28e92268ff6da194ff519d00dfd6 diff --git a/dev-lang/mono/mono-6.12.0.122.ebuild b/dev-lang/mono/mono-6.12.0.122.ebuild deleted file mode 100644 index 3d5515f9d05a..000000000000 --- a/dev-lang/mono/mono-6.12.0.122.ebuild +++ /dev/null @@ -1,128 +0,0 @@ -# Copyright 1999-2024 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -CHECKREQS_DISK_BUILD="4500M" -inherit autotools check-reqs flag-o-matic linux-info mono-env pax-utils multilib-minimal toolchain-funcs - -DESCRIPTION="Mono runtime and class libraries, a C# compiler/interpreter" -HOMEPAGE="https://mono-project.com" -SRC_URI="https://download.mono-project.com/sources/mono/${P}.tar.xz" - -LICENSE="MIT LGPL-2.1 GPL-2 BSD-4 NPL-1.1 Ms-PL GPL-2-with-linking-exception IDPL" -SLOT="0" -KEYWORDS="amd64 ~arm ~arm64 ~ppc ~ppc64 -riscv x86 ~amd64-linux" -IUSE="doc minimal nls pax-kernel selinux xen" - -# Note: mono works incorrect with older versions of libgdiplus -# Details on dotnet overlay issue: https://github.com/gentoo/dotnet/issues/429 -DEPEND=" - app-crypt/mit-krb5[${MULTILIB_USEDEP}] - sys-libs/zlib[${MULTILIB_USEDEP}] - ia64? ( sys-libs/libunwind ) - !minimal? ( >=dev-dotnet/libgdiplus-6.0.2 ) - nls? ( sys-devel/gettext ) -" -RDEPEND=" - ${DEPEND} - app-misc/ca-certificates - selinux? ( sec-policy/selinux-mono ) -" -# CMake is used for bundled deps -BDEPEND=" - dev-build/cmake - app-alternatives/bc - app-alternatives/yacc - pax-kernel? ( sys-apps/elfix ) -" - -PATCHES=( - "${FILESDIR}"/${PN}-5.12-try-catch.patch - "${FILESDIR}"/${PN}-6.12.0.122-disable-automagic-ccache.patch -) - -pkg_pretend() { - linux-info_pkg_setup - - if use kernel_linux ; then - if linux_config_exists ; then - linux_chkconfig_builtin SYSVIPC || die "SYSVIPC not enabled in the kernel" - else - # https://github.com/gentoo/gentoo/blob/f200e625bda8de696a28338318c9005b69e34710/eclass/linux-info.eclass#L686 - ewarn "kernel config not found" - ewarn "If CONFIG_SYSVIPC is not set in your kernel .config, mono will hang while compiling." - ewarn "See https://bugs.gentoo.org/261869 for more info." - fi - fi - - # bug #687892 - check-reqs_pkg_pretend -} - -pkg_setup() { - mono-env_pkg_setup - check-reqs_pkg_setup -} - -src_prepare() { - # We need to sed in the paxctl-ng -mr in the runtime/mono-wrapper.in so it don't - # get killed in the build proces when MPROTECT is enabled, bug #286280 - # RANDMMAP kills the build process too, bug #347365 - # We use paxmark.sh to get PT/XT logic, bug #532244 - if use pax-kernel ; then - ewarn "We are disabling MPROTECT on the mono binary." - - # issue 9 : https://github.com/Heather/gentoo-dotnet/issues/9 - sed '/exec "/ i\paxmark.sh -mr "$r/@mono_runtime@"' -i "${S}"/runtime/mono-wrapper.in || die "Failed to sed mono-wrapper.in" - fi - - default - - # PATCHES contains configure.ac patch - eautoreconf - multilib_copy_sources -} - -multilib_src_configure() { - tc-ld-is-lld && filter-lto - - local myeconfargs=( - $(use_with xen xen_opt) - --without-ikvm-native - --disable-dtrace - --enable-system-aot - $(multilib_native_use_with doc mcs-docs) - $(use_enable nls) - ) - - # Workaround(?) for bug #779025 - # May be able to do a real fix by adjusting path used? - if multilib_is_native_abi ; then - myeconfargs+=( --enable-system-aot ) - else - myeconfargs+=( --disable-system-aot ) - fi - - econf "${myeconfargs[@]}" -} - -multilib_src_test() { - cd mcs/tests || die - emake check -} - -multilib_src_install() { - default - - # Remove files not respecting LDFLAGS and that we are not supposed to provide, see Fedora - # mono.spec and http://www.mail-archive.com/mono-devel-list@lists.ximian.com/msg24870.html - # for reference. - rm -f "${ED}"/usr/lib/mono/{2.0,4.5}/mscorlib.dll.so || die - rm -f "${ED}"/usr/lib/mono/{2.0,4.5}/mcs.exe.so || die -} - -pkg_postinst() { - # bug #762265 - cert-sync "${EROOT}"/etc/ssl/certs/ca-certificates.crt -} diff --git a/dev-lang/mono/mono-6.12.0.182.ebuild b/dev-lang/mono/mono-6.12.0.182.ebuild deleted file mode 100644 index 65b7e97c46ec..000000000000 --- a/dev-lang/mono/mono-6.12.0.182.ebuild +++ /dev/null @@ -1,127 +0,0 @@ -# Copyright 1999-2024 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -CHECKREQS_DISK_BUILD="4500M" -inherit autotools check-reqs flag-o-matic linux-info mono-env pax-utils multilib-minimal toolchain-funcs - -DESCRIPTION="Mono runtime and class libraries, a C# compiler/interpreter" -HOMEPAGE="https://mono-project.com" -SRC_URI="https://download.mono-project.com/sources/mono/${P}.tar.xz" - -LICENSE="MIT LGPL-2.1 GPL-2 BSD-4 NPL-1.1 Ms-PL GPL-2-with-linking-exception IDPL" -SLOT="0" -KEYWORDS="amd64 ~arm ~arm64 ~ppc ~ppc64 -riscv x86 ~amd64-linux" -IUSE="doc minimal nls pax-kernel selinux xen" - -# Note: mono works incorrect with older versions of libgdiplus -# Details on dotnet overlay issue: https://github.com/gentoo/dotnet/issues/429 -DEPEND=" - app-crypt/mit-krb5[${MULTILIB_USEDEP}] - sys-libs/zlib[${MULTILIB_USEDEP}] - ia64? ( sys-libs/libunwind ) - !minimal? ( >=dev-dotnet/libgdiplus-6.0.2 ) - nls? ( sys-devel/gettext ) -" -RDEPEND=" - ${DEPEND} - app-misc/ca-certificates - selinux? ( sec-policy/selinux-mono ) -" -# CMake is used for bundled deps -BDEPEND=" - dev-build/cmake - app-alternatives/bc - app-alternatives/yacc - pax-kernel? ( sys-apps/elfix ) -" - -PATCHES=( - "${FILESDIR}"/${PN}-5.12-try-catch.patch - "${FILESDIR}"/${PN}-6.12.0.122-disable-automagic-ccache.patch -) - -pkg_pretend() { - linux-info_pkg_setup - - if use kernel_linux ; then - if linux_config_exists ; then - linux_chkconfig_builtin SYSVIPC || die "SYSVIPC not enabled in the kernel" - else - # https://github.com/gentoo/gentoo/blob/f200e625bda8de696a28338318c9005b69e34710/eclass/linux-info.eclass#L686 - ewarn "kernel config not found" - ewarn "If CONFIG_SYSVIPC is not set in your kernel .config, mono will hang while compiling." - ewarn "See https://bugs.gentoo.org/261869 for more info." - fi - fi - - # bug #687892 - check-reqs_pkg_pretend -} - -pkg_setup() { - mono-env_pkg_setup - check-reqs_pkg_setup -} - -src_prepare() { - # We need to sed in the paxctl-ng -mr in the runtime/mono-wrapper.in so it don't - # get killed in the build proces when MPROTECT is enabled, bug #286280 - # RANDMMAP kills the build process too, bug #347365 - # We use paxmark.sh to get PT/XT logic, bug #532244 - if use pax-kernel ; then - ewarn "We are disabling MPROTECT on the mono binary." - - # issue 9 : https://github.com/Heather/gentoo-dotnet/issues/9 - sed '/exec "/ i\paxmark.sh -mr "$r/@mono_runtime@"' -i "${S}"/runtime/mono-wrapper.in || die "Failed to sed mono-wrapper.in" - fi - - default - - # PATCHES contains configure.ac patch - eautoreconf - multilib_copy_sources -} - -multilib_src_configure() { - tc-ld-is-lld && filter-lto - - local myeconfargs=( - $(use_with xen xen_opt) - --without-ikvm-native - --disable-dtrace - --enable-system-aot - $(multilib_native_use_with doc mcs-docs) - $(use_enable nls) - ) - - # Workaround(?) for bug #779025 - # May be able to do a real fix by adjusting path used? - if multilib_is_native_abi ; then - myeconfargs+=( --enable-system-aot ) - else - myeconfargs+=( --disable-system-aot ) - fi - - econf "${myeconfargs[@]}" -} - -multilib_src_test() { - emake -C mcs/tests check -} - -multilib_src_install() { - default - - # Remove files not respecting LDFLAGS and that we are not supposed to provide, see Fedora - # mono.spec and http://www.mail-archive.com/mono-devel-list@lists.ximian.com/msg24870.html - # for reference. - rm -f "${ED}"/usr/lib/mono/{2.0,4.5}/mscorlib.dll.so || die - rm -f "${ED}"/usr/lib/mono/{2.0,4.5}/mcs.exe.so || die -} - -pkg_postinst() { - # bug #762265 - cert-sync "${EROOT}"/etc/ssl/certs/ca-certificates.crt -} diff --git a/dev-lang/mono/mono-6.12.0.199-r1.ebuild b/dev-lang/mono/mono-6.12.0.199-r1.ebuild deleted file mode 100644 index a7c6af775271..000000000000 --- a/dev-lang/mono/mono-6.12.0.199-r1.ebuild +++ /dev/null @@ -1,129 +0,0 @@ -# Copyright 1999-2024 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -CHECKREQS_DISK_BUILD="4500M" -inherit autotools check-reqs flag-o-matic linux-info mono-env pax-utils multilib-minimal - -DESCRIPTION="Mono runtime and class libraries, a C# compiler/interpreter" -HOMEPAGE="https://mono-project.com" -SRC_URI="https://download.mono-project.com/sources/mono/${P}.tar.xz" - -LICENSE="MIT LGPL-2.1 GPL-2 BSD-4 NPL-1.1 Ms-PL GPL-2-with-linking-exception IDPL" -SLOT="0" -KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 -riscv ~x86 ~amd64-linux" -IUSE="doc minimal nls pax-kernel selinux xen" - -# Note: mono works incorrect with older versions of libgdiplus -# Details on dotnet overlay issue: https://github.com/gentoo/dotnet/issues/429 -DEPEND=" - app-crypt/mit-krb5[${MULTILIB_USEDEP}] - sys-libs/zlib[${MULTILIB_USEDEP}] - ia64? ( sys-libs/libunwind ) - !minimal? ( >=dev-dotnet/libgdiplus-6.0.2 ) - nls? ( sys-devel/gettext ) -" -RDEPEND=" - ${DEPEND} - app-misc/ca-certificates - selinux? ( sec-policy/selinux-mono ) -" -# CMake is used for bundled deps -BDEPEND=" - dev-build/cmake - app-alternatives/bc - app-alternatives/yacc - pax-kernel? ( sys-apps/elfix ) -" - -PATCHES=( - "${FILESDIR}"/${PN}-5.12-try-catch.patch - "${FILESDIR}"/${PN}-6.12.0.122-disable-automagic-ccache.patch -) - -pkg_pretend() { - linux-info_pkg_setup - - if use kernel_linux ; then - if linux_config_exists ; then - linux_chkconfig_builtin SYSVIPC || die "SYSVIPC not enabled in the kernel" - else - # https://github.com/gentoo/gentoo/blob/f200e625bda8de696a28338318c9005b69e34710/eclass/linux-info.eclass#L686 - ewarn "kernel config not found" - ewarn "If CONFIG_SYSVIPC is not set in your kernel .config, mono will hang while compiling." - ewarn "See https://bugs.gentoo.org/261869 for more info." - fi - fi - - # bug #687892 - check-reqs_pkg_pretend -} - -pkg_setup() { - mono-env_pkg_setup - check-reqs_pkg_setup -} - -src_prepare() { - # We need to sed in the paxctl-ng -mr in the runtime/mono-wrapper.in so it don't - # get killed in the build proces when MPROTECT is enabled, bug #286280 - # RANDMMAP kills the build process too, bug #347365 - # We use paxmark.sh to get PT/XT logic, bug #532244 - if use pax-kernel ; then - ewarn "We are disabling MPROTECT on the mono binary." - - # issue 9 : https://github.com/Heather/gentoo-dotnet/issues/9 - sed '/exec "/ i\paxmark.sh -mr "$r/@mono_runtime@"' -i "${S}"/runtime/mono-wrapper.in || die "Failed to sed mono-wrapper.in" - fi - - default - - # PATCHES contains configure.ac patch - eautoreconf - multilib_copy_sources -} - -multilib_src_configure() { - # Many, many unsafe warnings. Miscompiled with -O3 too: bug #915985. - append-flags -O2 -fno-strict-aliasing - filter-lto - - local myeconfargs=( - $(use_with xen xen_opt) - --without-ikvm-native - --disable-dtrace - --enable-system-aot - $(multilib_native_use_with doc mcs-docs) - $(use_enable nls) - ) - - # Workaround(?) for bug #779025 - # May be able to do a real fix by adjusting path used? - if multilib_is_native_abi ; then - myeconfargs+=( --enable-system-aot ) - else - myeconfargs+=( --disable-system-aot ) - fi - - econf "${myeconfargs[@]}" -} - -multilib_src_test() { - emake -C mcs/tests check -} - -multilib_src_install() { - default - - # Remove files not respecting LDFLAGS and that we are not supposed to provide, see Fedora - # mono.spec and http://www.mail-archive.com/mono-devel-list@lists.ximian.com/msg24870.html - # for reference. - rm -f "${ED}"/usr/lib/mono/{2.0,4.5}/mscorlib.dll.so || die - rm -f "${ED}"/usr/lib/mono/{2.0,4.5}/mcs.exe.so || die -} - -pkg_postinst() { - # bug #762265 - cert-sync "${EROOT}"/etc/ssl/certs/ca-certificates.crt -} diff --git a/dev-lang/mono/mono-6.12.0.199.ebuild b/dev-lang/mono/mono-6.12.0.199.ebuild deleted file mode 100644 index a256d411e02c..000000000000 --- a/dev-lang/mono/mono-6.12.0.199.ebuild +++ /dev/null @@ -1,127 +0,0 @@ -# Copyright 1999-2024 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -CHECKREQS_DISK_BUILD="4500M" -inherit autotools check-reqs flag-o-matic linux-info mono-env pax-utils multilib-minimal toolchain-funcs - -DESCRIPTION="Mono runtime and class libraries, a C# compiler/interpreter" -HOMEPAGE="https://mono-project.com" -SRC_URI="https://download.mono-project.com/sources/mono/${P}.tar.xz" - -LICENSE="MIT LGPL-2.1 GPL-2 BSD-4 NPL-1.1 Ms-PL GPL-2-with-linking-exception IDPL" -SLOT="0" -KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 -riscv ~x86 ~amd64-linux" -IUSE="doc minimal nls pax-kernel selinux xen" - -# Note: mono works incorrect with older versions of libgdiplus -# Details on dotnet overlay issue: https://github.com/gentoo/dotnet/issues/429 -DEPEND=" - app-crypt/mit-krb5[${MULTILIB_USEDEP}] - sys-libs/zlib[${MULTILIB_USEDEP}] - ia64? ( sys-libs/libunwind ) - !minimal? ( >=dev-dotnet/libgdiplus-6.0.2 ) - nls? ( sys-devel/gettext ) -" -RDEPEND=" - ${DEPEND} - app-misc/ca-certificates - selinux? ( sec-policy/selinux-mono ) -" -# CMake is used for bundled deps -BDEPEND=" - dev-build/cmake - app-alternatives/bc - app-alternatives/yacc - pax-kernel? ( sys-apps/elfix ) -" - -PATCHES=( - "${FILESDIR}"/${PN}-5.12-try-catch.patch - "${FILESDIR}"/${PN}-6.12.0.122-disable-automagic-ccache.patch -) - -pkg_pretend() { - linux-info_pkg_setup - - if use kernel_linux ; then - if linux_config_exists ; then - linux_chkconfig_builtin SYSVIPC || die "SYSVIPC not enabled in the kernel" - else - # https://github.com/gentoo/gentoo/blob/f200e625bda8de696a28338318c9005b69e34710/eclass/linux-info.eclass#L686 - ewarn "kernel config not found" - ewarn "If CONFIG_SYSVIPC is not set in your kernel .config, mono will hang while compiling." - ewarn "See https://bugs.gentoo.org/261869 for more info." - fi - fi - - # bug #687892 - check-reqs_pkg_pretend -} - -pkg_setup() { - mono-env_pkg_setup - check-reqs_pkg_setup -} - -src_prepare() { - # We need to sed in the paxctl-ng -mr in the runtime/mono-wrapper.in so it don't - # get killed in the build proces when MPROTECT is enabled, bug #286280 - # RANDMMAP kills the build process too, bug #347365 - # We use paxmark.sh to get PT/XT logic, bug #532244 - if use pax-kernel ; then - ewarn "We are disabling MPROTECT on the mono binary." - - # issue 9 : https://github.com/Heather/gentoo-dotnet/issues/9 - sed '/exec "/ i\paxmark.sh -mr "$r/@mono_runtime@"' -i "${S}"/runtime/mono-wrapper.in || die "Failed to sed mono-wrapper.in" - fi - - default - - # PATCHES contains configure.ac patch - eautoreconf - multilib_copy_sources -} - -multilib_src_configure() { - tc-ld-is-lld && filter-lto - - local myeconfargs=( - $(use_with xen xen_opt) - --without-ikvm-native - --disable-dtrace - --enable-system-aot - $(multilib_native_use_with doc mcs-docs) - $(use_enable nls) - ) - - # Workaround(?) for bug #779025 - # May be able to do a real fix by adjusting path used? - if multilib_is_native_abi ; then - myeconfargs+=( --enable-system-aot ) - else - myeconfargs+=( --disable-system-aot ) - fi - - econf "${myeconfargs[@]}" -} - -multilib_src_test() { - emake -C mcs/tests check -} - -multilib_src_install() { - default - - # Remove files not respecting LDFLAGS and that we are not supposed to provide, see Fedora - # mono.spec and http://www.mail-archive.com/mono-devel-list@lists.ximian.com/msg24870.html - # for reference. - rm -f "${ED}"/usr/lib/mono/{2.0,4.5}/mscorlib.dll.so || die - rm -f "${ED}"/usr/lib/mono/{2.0,4.5}/mcs.exe.so || die -} - -pkg_postinst() { - # bug #762265 - cert-sync "${EROOT}"/etc/ssl/certs/ca-certificates.crt -} |