diff options
author | Michał Górny <mgorny@gentoo.org> | 2018-01-18 19:14:11 +0100 |
---|---|---|
committer | Michał Górny <mgorny@gentoo.org> | 2018-01-18 20:10:21 +0100 |
commit | e556d14f968ac70add92022cf85aed9b69bc012d (patch) | |
tree | e02131cd1d7b65bfb8d4622b6aa5ba116d80dc75 /sys-devel | |
parent | net-misc/teamviewer: bump version to 13.0.6634 (diff) | |
download | gentoo-e556d14f968ac70add92022cf85aed9b69bc012d.tar.gz gentoo-e556d14f968ac70add92022cf85aed9b69bc012d.tar.bz2 gentoo-e556d14f968ac70add92022cf85aed9b69bc012d.zip |
sys-devel/llvm: Add USE flag to control libxml2 use (to LLVM 6+)
Diffstat (limited to 'sys-devel')
-rw-r--r-- | sys-devel/llvm/llvm-6.0.9999.ebuild | 6 | ||||
-rw-r--r-- | sys-devel/llvm/llvm-9999.ebuild | 6 |
2 files changed, 8 insertions, 4 deletions
diff --git a/sys-devel/llvm/llvm-6.0.9999.ebuild b/sys-devel/llvm/llvm-6.0.9999.ebuild index 14f04fb40376..03eed722f8d0 100644 --- a/sys-devel/llvm/llvm-6.0.9999.ebuild +++ b/sys-devel/llvm/llvm-6.0.9999.ebuild @@ -35,7 +35,7 @@ LICENSE="UoI-NCSA rc BSD public-domain llvm_targets_ARM? ( LLVM-Grant )" SLOT="$(ver_cut 1)" KEYWORDS="" -IUSE="debug doc gold libedit +libffi ncurses test +IUSE="debug doc gold libedit +libffi ncurses test xml kernel_Darwin ${ALL_LLVM_TARGETS[*]}" RESTRICT="!test? ( test )" @@ -44,7 +44,8 @@ RDEPEND=" gold? ( >=sys-devel/binutils-2.22:*[cxx] ) libedit? ( dev-libs/libedit:0=[${MULTILIB_USEDEP}] ) libffi? ( >=virtual/libffi-3.0.13-r1:0=[${MULTILIB_USEDEP}] ) - ncurses? ( >=sys-libs/ncurses-5.9-r3:0=[${MULTILIB_USEDEP}] )" + ncurses? ( >=sys-libs/ncurses-5.9-r3:0=[${MULTILIB_USEDEP}] ) + xml? ( dev-libs/libxml2:2=[${MULTILIB_USEDEP}] )" # configparser-3.2 breaks the build (3.3 or none at all are fine) DEPEND="${RDEPEND} dev-lang/perl @@ -107,6 +108,7 @@ multilib_src_configure() { -DLLVM_ENABLE_FFI=$(usex libffi) -DLLVM_ENABLE_LIBEDIT=$(usex libedit) -DLLVM_ENABLE_TERMINFO=$(usex ncurses) + -DLLVM_ENABLE_LIBXML2=$(usex xml) -DLLVM_ENABLE_ASSERTIONS=$(usex debug) -DLLVM_ENABLE_EH=ON -DLLVM_ENABLE_RTTI=ON diff --git a/sys-devel/llvm/llvm-9999.ebuild b/sys-devel/llvm/llvm-9999.ebuild index 01532f304bf3..275fb80a6bdf 100644 --- a/sys-devel/llvm/llvm-9999.ebuild +++ b/sys-devel/llvm/llvm-9999.ebuild @@ -37,7 +37,7 @@ LICENSE="UoI-NCSA rc BSD public-domain llvm_targets_ARM? ( LLVM-Grant )" SLOT="7" KEYWORDS="" -IUSE="debug doc gold libedit +libffi ncurses test +IUSE="debug doc gold libedit +libffi ncurses test xml kernel_Darwin ${ALL_LLVM_TARGETS[*]}" RESTRICT="!test? ( test )" @@ -46,7 +46,8 @@ RDEPEND=" gold? ( >=sys-devel/binutils-2.22:*[cxx] ) libedit? ( dev-libs/libedit:0=[${MULTILIB_USEDEP}] ) libffi? ( >=virtual/libffi-3.0.13-r1:0=[${MULTILIB_USEDEP}] ) - ncurses? ( >=sys-libs/ncurses-5.9-r3:0=[${MULTILIB_USEDEP}] )" + ncurses? ( >=sys-libs/ncurses-5.9-r3:0=[${MULTILIB_USEDEP}] ) + xml? ( dev-libs/libxml2:2=[${MULTILIB_USEDEP}] )" # configparser-3.2 breaks the build (3.3 or none at all are fine) DEPEND="${RDEPEND} dev-lang/perl @@ -112,6 +113,7 @@ multilib_src_configure() { -DLLVM_ENABLE_FFI=$(usex libffi) -DLLVM_ENABLE_LIBEDIT=$(usex libedit) -DLLVM_ENABLE_TERMINFO=$(usex ncurses) + -DLLVM_ENABLE_LIBXML2=$(usex xml) -DLLVM_ENABLE_ASSERTIONS=$(usex debug) -DLLVM_ENABLE_EH=ON -DLLVM_ENABLE_RTTI=ON |