summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLei Zhang <zhanglei.april@gmail.com>2016-07-19 15:01:24 +0800
committerMichał Górny <mgorny@gentoo.org>2016-08-01 23:49:26 +0200
commitb599039e3ddc796b26c058598ff1c42f8f522f87 (patch)
treedc551be74d77bf2dc3c039f62e9cb460234e9b95 /sys-libs/libcxxrt/libcxxrt-9999.ebuild
parentsys-libs/llvm-libunwind: new package (diff)
downloadgentoo-b599039e3ddc796b26c058598ff1c42f8f522f87.tar.gz
gentoo-b599039e3ddc796b26c058598ff1c42f8f522f87.tar.bz2
gentoo-b599039e3ddc796b26c058598ff1c42f8f522f87.zip
sys-libs/libcxxrt: add support for llvm-libunwind
There are two implementations of libunwind, one from nongnu and another from LLVM. This commit allows libcxxrt to be built against LLVM's version. Package-Manager: portage-2.2.28
Diffstat (limited to 'sys-libs/libcxxrt/libcxxrt-9999.ebuild')
-rw-r--r--sys-libs/libcxxrt/libcxxrt-9999.ebuild5
1 files changed, 3 insertions, 2 deletions
diff --git a/sys-libs/libcxxrt/libcxxrt-9999.ebuild b/sys-libs/libcxxrt/libcxxrt-9999.ebuild
index 49a035949027..7e91e3c9ec8f 100644
--- a/sys-libs/libcxxrt/libcxxrt-9999.ebuild
+++ b/sys-libs/libcxxrt/libcxxrt-9999.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2015 Gentoo Foundation
+# Copyright 1999-2016 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
@@ -28,7 +28,8 @@ else
fi
IUSE="libunwind +static-libs"
-RDEPEND="libunwind? ( >=sys-libs/libunwind-1.0.1-r1[static-libs?] )"
+RDEPEND="libunwind? ( || ( >=sys-libs/libunwind-1.0.1-r1[static-libs?]
+ sys-libs/llvm-libunwind[static-libs?] ) )"
DEPEND="${RDEPEND}
${DEPEND}"