1 |
commit: 82049238b1004c9715b574014e1c257924fe0f72 |
2 |
Author: PPed72 <paolo.pedroni <AT> iol <DOT> it> |
3 |
AuthorDate: Mon Mar 7 13:39:26 2016 +0000 |
4 |
Commit: Lars Wendler <polynomial-c <AT> gentoo <DOT> org> |
5 |
CommitDate: Mon Mar 7 14:51:43 2016 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=82049238 |
7 |
|
8 |
app-emulation/virtualbox: force usage of ld.bfd for virtualbox-5 |
9 |
|
10 |
See Gentoo bug #488176 |
11 |
|
12 |
app-emulation/virtualbox/virtualbox-5.0.16.ebuild | 8 ++++++++ |
13 |
1 file changed, 8 insertions(+) |
14 |
|
15 |
diff --git a/app-emulation/virtualbox/virtualbox-5.0.16.ebuild b/app-emulation/virtualbox/virtualbox-5.0.16.ebuild |
16 |
index 6dca89b..f08a021 100644 |
17 |
--- a/app-emulation/virtualbox/virtualbox-5.0.16.ebuild |
18 |
+++ b/app-emulation/virtualbox/virtualbox-5.0.16.ebuild |
19 |
@@ -132,6 +132,10 @@ pkg_setup() { |
20 |
fi |
21 |
java-pkg-opt-2_pkg_setup |
22 |
python-single-r1_pkg_setup |
23 |
+ |
24 |
+ tc-ld-disable-gold #bug 488176 |
25 |
+ tc-export CC CXX LD AR RANLIB |
26 |
+ export HOST_CC="$(tc-getBUILD_CC)" |
27 |
} |
28 |
|
29 |
src_prepare() { |
30 |
@@ -146,6 +150,10 @@ src_prepare() { |
31 |
sed -e "s@_LDFLAGS\.${ARCH}*.*=@& ${LDFLAGS}@g" \ |
32 |
-i Config.kmk src/libs/xpcom18a4/Config.kmk || die |
33 |
|
34 |
+ # Do not use hard-coded ld (related to bug #488176) |
35 |
+ sed -e '/QUIET)ld /s@ld @$(LD) @' \ |
36 |
+ -i src/VBox/Devices/PC/ipxe/Makefile.kmk || die |
37 |
+ |
38 |
# Use PAM only when pam USE flag is enbaled (bug #376531) |
39 |
if ! use pam ; then |
40 |
elog "Disabling PAM removes the possibility to use the VRDP features." |