Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 286280 | Differences between
and this patch

Collapse All | Expand All

(-)file_not_specified_in_diff (-4 / +21 lines)
Line  Link Here
0
-- a/dev-lang/mono/mono-2.6.7.ebuild        2010-07-21 17:13:14.000000000 +0000
0
++ b/dev-lang/mono/mono-2.6.7.ebuild  2010-08-01 17:53:30.000000000 +0000
Lines 4-10 Link Here
4
4
5
EAPI=2
5
EAPI=2
6
6
7
inherit linux-info mono eutils flag-o-matic multilib go-mono
7
inherit linux-info mono eutils flag-o-matic multilib go-mono pax-utils
8
8
9
DESCRIPTION="Mono runtime and class libraries, a C# compiler/interpreter"
9
DESCRIPTION="Mono runtime and class libraries, a C# compiler/interpreter"
10
HOMEPAGE="http://www.go-mono.com"
10
HOMEPAGE="http://www.go-mono.com"
Lines 12-18 Link Here
12
LICENSE="MIT LGPL-2.1 GPL-2 BSD-4 NPL-1.1 Ms-PL GPL-2-with-linking-exception IDPL"
12
LICENSE="MIT LGPL-2.1 GPL-2 BSD-4 NPL-1.1 Ms-PL GPL-2-with-linking-exception IDPL"
13
SLOT="0"
13
SLOT="0"
14
KEYWORDS="~amd64 ~ppc ~x86"
14
KEYWORDS="~amd64 ~ppc ~x86"
15
IUSE="xen moonlight minimal"
15
IUSE="xen moonlight minimal hardened"
16
16
17
#Bash requirement is for += operator
17
#Bash requirement is for += operator
18
COMMONDEPEND="!<dev-dotnet/pnet-0.6.12
18
COMMONDEPEND="!<dev-dotnet/pnet-0.6.12
Lines 27-33 Link Here
27
27
28
DEPEND="${COMMONDEPEND}                                                                                                               
28
DEPEND="${COMMONDEPEND}                                                                                                               
29
       sys-devel/bc                                                                                                                   
29
       sys-devel/bc                                                                                                                   
30
       >=app-shells/bash-3.2"                                                                                                         
30
       >=app-shells/bash-3.2                                                                                                          
31
       hardened? ( sys-apps/paxctl )"                                                                                                 
31
PDEPEND="dev-dotnet/pe-format"                                                                                                        
32
PDEPEND="dev-dotnet/pe-format"                                                                                                        
32
33
33
MAKEOPTS="${MAKEOPTS} -j1"
34
MAKEOPTS="${MAKEOPTS} -j1"
Lines 55-60 Link Here
55
                               eerror "See http://bugs.gentoo.org/261869 for more info."
56
                               eerror "See http://bugs.gentoo.org/261869 for more info."
56
                               die "Please set CONFIG_SYSVIPC in your kernel .config"
57
                               die "Please set CONFIG_SYSVIPC in your kernel .config"
57
                       fi
58
                       fi
59
                       if use hardened && host-is-pax ; then
60
                               if linux_chkconfig_present PAX_MPROTECT ; then
61
                                       einfo "CONFIG_PAX_MPROTECT is set."
62
                                       ewarn "We are disabling MPROTECT on the mono binary."
63
                                       ewarn "Mono use a JiT trampoline function and it"
64
                                       ewarn "will not work when MPROTECT is enable."
65
                                       DISABLE_PAX_MPROTECT="yes"
66
                               else
67
                                       DISABLE_PAX_MPROTECT="no"
68
                               fi
69
                       fi
58
               else
70
               else
59
                       ewarn "Was unable to determine your kernel .config"
71
                       ewarn "Was unable to determine your kernel .config"
60
                       ewarn "Please note that if CONFIG_SYSVIPC is not set in your kernel .config, mono will hang while compiling."
72
                       ewarn "Please note that if CONFIG_SYSVIPC is not set in your kernel .config, mono will hang while compiling."
Lines 69-74 Link Here
69
               > "${WORKDIR}"/mono-2.2-libdir126.patch ||
81
               > "${WORKDIR}"/mono-2.2-libdir126.patch ||
70
               die "Sedding patch file failed"
82
               die "Sedding patch file failed"
71
       go-mono_src_prepare
83
       go-mono_src_prepare
84
       # we need to sed in the paxctl -m in the runtime/mono-wrapper.in so it don't
85
       # get killed in the build proces when MPROTEC is enable. #286280
86
       if [[ $DISABLE_PAX_MPROTECT == "yes" ]] ; then 
87
               sed '/exec/ i\paxctl -m "$r/@mono_runtime@"' -i "${S}"/runtime/mono-wrapper.in
88
       fi
72
}
89
}
73
90
74
src_configure() {
91
src_configure() {

Return to bug 286280