sys-devel/llvm: Reorder ebuild vars in 9+
authorMichał Górny <mgorny@gentoo.org>
Sat, 21 Sep 2019 08:32:59 +0000 (10:32 +0200)
committerMichał Górny <mgorny@gentoo.org>
Sat, 21 Sep 2019 09:15:35 +0000 (11:15 +0200)
Signed-off-by: Michał Górny <mgorny@gentoo.org>
sys-devel/llvm/llvm-10.0.0.9999.ebuild
sys-devel/llvm/llvm-9.0.0.9999.ebuild
sys-devel/llvm/llvm-9.0.0.ebuild

index 131e44a7f887081ed4a356ea26bd566169a15606..e632d6c930c63077f587fcc634c5d205c8594642 100644 (file)
@@ -36,6 +36,7 @@ SLOT="$(ver_cut 1)"
 KEYWORDS=""
 IUSE="debug doc exegesis gold libedit +libffi ncurses test xar xml z3
        kernel_Darwin ${ALL_LLVM_TARGETS[*]}"
+REQUIRED_USE="|| ( ${ALL_LLVM_TARGETS[*]} )"
 RESTRICT="!test? ( test )"
 
 RDEPEND="
@@ -79,8 +80,6 @@ RDEPEND="${RDEPEND}
 PDEPEND="sys-devel/llvm-common
        gold? ( >=sys-devel/llvmgold-${SLOT} )"
 
-REQUIRED_USE="|| ( ${ALL_LLVM_TARGETS[*]} )"
-
 # least intrusive of all
 CMAKE_BUILD_TYPE=RelWithDebInfo
 
index 937bff8cf3b694c57d29deb1c3155c5ef806952b..5ff9e20d7e1220ae8b5f5a8d9f2521dc878379a8 100644 (file)
@@ -34,6 +34,7 @@ SLOT="$(ver_cut 1)"
 KEYWORDS=""
 IUSE="debug doc exegesis gold libedit +libffi ncurses test xar xml z3
        kernel_Darwin ${ALL_LLVM_TARGETS[*]}"
+REQUIRED_USE="|| ( ${ALL_LLVM_TARGETS[*]} )"
 RESTRICT="!test? ( test )"
 
 RDEPEND="
@@ -77,8 +78,6 @@ RDEPEND="${RDEPEND}
 PDEPEND="sys-devel/llvm-common
        gold? ( >=sys-devel/llvmgold-${SLOT} )"
 
-REQUIRED_USE="|| ( ${ALL_LLVM_TARGETS[*]} )"
-
 # least intrusive of all
 CMAKE_BUILD_TYPE=RelWithDebInfo
 
index 3e1b660cfe0fb89e6b2c6c1871a44bcdbdf4adbc..8cd42b405ccd3957cd909049f6e0bdb079c7acfd 100644 (file)
@@ -16,6 +16,7 @@ DESCRIPTION="Low Level Virtual Machine"
 HOMEPAGE="https://llvm.org/"
 SRC_URI="https://releases.llvm.org/${PV}/${MY_P}.tar.xz
        !doc? ( https://dev.gentoo.org/~mgorny/dist/llvm/${P}-manpages.tar.bz2 )"
+S=${WORKDIR}/${MY_P}
 
 # Keep in sync with CMakeLists.txt
 ALL_LLVM_TARGETS=( AArch64 AMDGPU ARM BPF Hexagon Lanai Mips MSP430
@@ -33,6 +34,7 @@ SLOT="$(ver_cut 1)"
 KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~x86 ~amd64-fbsd ~amd64-linux ~ppc-macos ~x64-macos ~x86-macos"
 IUSE="debug doc exegesis gold libedit +libffi ncurses test xar xml z3
        kernel_Darwin ${ALL_LLVM_TARGETS[*]}"
+REQUIRED_USE="|| ( ${ALL_LLVM_TARGETS[*]} )"
 RESTRICT="!test? ( test )"
 
 RDEPEND="
@@ -76,10 +78,6 @@ RDEPEND="${RDEPEND}
 PDEPEND="sys-devel/llvm-common
        gold? ( >=sys-devel/llvmgold-${SLOT} )"
 
-REQUIRED_USE="|| ( ${ALL_LLVM_TARGETS[*]} )"
-
-S=${WORKDIR}/${MY_P}
-
 # least intrusive of all
 CMAKE_BUILD_TYPE=RelWithDebInfo