Gentoo Archives: gentoo-commits

From: "Michał Górny" <mgorny@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: sys-devel/llvm/
Date: Sun, 01 Apr 2018 22:27:32
Message-Id: 1522621634.820ddda479ca64b00b0d33a5fc3b4356275dcc50.mgorny@gentoo
1 commit: 820ddda479ca64b00b0d33a5fc3b4356275dcc50
2 Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
3 AuthorDate: Sun Apr 1 21:44:01 2018 +0000
4 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
5 CommitDate: Sun Apr 1 22:27:14 2018 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=820ddda4
7
8 sys-devel/llvm: Backport -Wl,-rpath FreeBSD fix to 5.0.1
9
10 sys-devel/llvm/llvm-5.0.1.ebuild | 3 +++
11 1 file changed, 3 insertions(+)
12
13 diff --git a/sys-devel/llvm/llvm-5.0.1.ebuild b/sys-devel/llvm/llvm-5.0.1.ebuild
14 index 657a0ba9c45..a0287445e0d 100644
15 --- a/sys-devel/llvm/llvm-5.0.1.ebuild
16 +++ b/sys-devel/llvm/llvm-5.0.1.ebuild
17 @@ -83,6 +83,9 @@ src_prepare() {
18 # Copy the new binary file (we don't support git binary patches)
19 cp {"${WORKDIR}/${P}-patchset",.}/test/tools/llvm-symbolizer/Inputs/print_context.o || die
20
21 + # Fix appending -Wl,-rpath-link on non-Linux (-> FreeBSD).
22 + eapply "${FILESDIR}"/6.0.9999/0001-cmake-Append-Wl-rpath-link-conditionally-to-GNULD.patch
23 +
24 # disable use of SDK on OSX, bug #568758
25 sed -i -e 's/xcrun/false/' utils/lit/lit/util.py || die