commit: 7f6b5a234aa3c3d80fcc029f76918851094b3355 Author: Michał Górny <mgorny <AT> gentoo <DOT> org> AuthorDate: Sat Sep 21 08:32:43 2019 +0000 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org> CommitDate: Sat Sep 21 09:15:26 2019 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7f6b5a23
dev-ml/llvm-ocaml: Reorder ebuild vars in 9+ Signed-off-by: Michał Górny <mgorny <AT> gentoo.org> dev-ml/llvm-ocaml/llvm-ocaml-10.0.0.9999.ebuild | 3 +-- dev-ml/llvm-ocaml/llvm-ocaml-9.0.0.9999.ebuild | 3 +-- dev-ml/llvm-ocaml/llvm-ocaml-9.0.0.ebuild | 6 ++---- 3 files changed, 4 insertions(+), 8 deletions(-) diff --git a/dev-ml/llvm-ocaml/llvm-ocaml-10.0.0.9999.ebuild b/dev-ml/llvm-ocaml/llvm-ocaml-10.0.0.9999.ebuild index 3fd5dbb40b8..5fb5269eb05 100644 --- a/dev-ml/llvm-ocaml/llvm-ocaml-10.0.0.9999.ebuild +++ b/dev-ml/llvm-ocaml/llvm-ocaml-10.0.0.9999.ebuild @@ -28,6 +28,7 @@ LICENSE="Apache-2.0-with-LLVM-exceptions UoI-NCSA" SLOT="0/${PV}" KEYWORDS="" IUSE="debug test ${ALL_LLVM_TARGETS[*]}" +REQUIRED_USE="|| ( ${ALL_LLVM_TARGETS[*]} )" RESTRICT="!test? ( test )" RDEPEND=" @@ -44,8 +45,6 @@ BDEPEND=" !!<dev-python/configparser-3.3.0.2 ${PYTHON_DEPS}" -REQUIRED_USE="|| ( ${ALL_LLVM_TARGETS[*]} )" - # least intrusive of all CMAKE_BUILD_TYPE=RelWithDebInfo diff --git a/dev-ml/llvm-ocaml/llvm-ocaml-9.0.0.9999.ebuild b/dev-ml/llvm-ocaml/llvm-ocaml-9.0.0.9999.ebuild index fad71890f1a..ea47038cb44 100644 --- a/dev-ml/llvm-ocaml/llvm-ocaml-9.0.0.9999.ebuild +++ b/dev-ml/llvm-ocaml/llvm-ocaml-9.0.0.9999.ebuild @@ -27,6 +27,7 @@ LICENSE="Apache-2.0-with-LLVM-exceptions UoI-NCSA" SLOT="0/${PV}" KEYWORDS="" IUSE="debug test ${ALL_LLVM_TARGETS[*]}" +REQUIRED_USE="|| ( ${ALL_LLVM_TARGETS[*]} )" RESTRICT="!test? ( test )" RDEPEND=" @@ -43,8 +44,6 @@ BDEPEND=" !!<dev-python/configparser-3.3.0.2 ${PYTHON_DEPS}" -REQUIRED_USE="|| ( ${ALL_LLVM_TARGETS[*]} )" - # least intrusive of all CMAKE_BUILD_TYPE=RelWithDebInfo diff --git a/dev-ml/llvm-ocaml/llvm-ocaml-9.0.0.ebuild b/dev-ml/llvm-ocaml/llvm-ocaml-9.0.0.ebuild index 9c9c5f6b244..44c293f604c 100644 --- a/dev-ml/llvm-ocaml/llvm-ocaml-9.0.0.ebuild +++ b/dev-ml/llvm-ocaml/llvm-ocaml-9.0.0.ebuild @@ -14,6 +14,7 @@ MY_P=llvm-${PV/_/}.src DESCRIPTION="OCaml bindings for LLVM" HOMEPAGE="https://llvm.org/" SRC_URI="https://releases.llvm.org/${PV}/${MY_P}.tar.xz" +S=${WORKDIR}/${MY_P} # Keep in sync with sys-devel/llvm ALL_LLVM_TARGETS=( AArch64 AMDGPU ARM BPF Hexagon Lanai Mips MSP430 @@ -25,6 +26,7 @@ LICENSE="Apache-2.0-with-LLVM-exceptions UoI-NCSA" SLOT="0/${PV}" KEYWORDS="~amd64 ~arm ~x86" IUSE="debug test ${ALL_LLVM_TARGETS[*]}" +REQUIRED_USE="|| ( ${ALL_LLVM_TARGETS[*]} )" RESTRICT="!test? ( test )" RDEPEND=" @@ -41,10 +43,6 @@ BDEPEND=" !!<dev-python/configparser-3.3.0.2 ${PYTHON_DEPS}" -REQUIRED_USE="|| ( ${ALL_LLVM_TARGETS[*]} )" - -S=${WORKDIR}/${MY_P} - # least intrusive of all CMAKE_BUILD_TYPE=RelWithDebInfo