commit:     654708e2bc796120a5c9d17c98d7d5c935f6937f
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Wed Oct 12 23:23:33 2022 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Wed Oct 12 23:23:33 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=654708e2

dev-lisp/c2ffi: style tweaks

- Put LLVM_MAX_SLOT before inherit so it's easier to spot
- Use ${LLVM_MAX_SLOT} rather than repeating 14 3 times

Signed-off-by: Sam James <sam <AT> gentoo.org>

 dev-lisp/c2ffi/c2ffi-14.0.0.20220729-r1.ebuild | 7 +++----
 1 file changed, 3 insertions(+), 4 deletions(-)

diff --git a/dev-lisp/c2ffi/c2ffi-14.0.0.20220729-r1.ebuild 
b/dev-lisp/c2ffi/c2ffi-14.0.0.20220729-r1.ebuild
index 445a9b2cf0b0..a67ff86bbfa7 100644
--- a/dev-lisp/c2ffi/c2ffi-14.0.0.20220729-r1.ebuild
+++ b/dev-lisp/c2ffi/c2ffi-14.0.0.20220729-r1.ebuild
@@ -3,6 +3,7 @@
 
 EAPI=8
 
+LLVM_MAX_SLOT=14
 inherit cmake llvm
 
 MY_COMMIT="25fcec13381f495460f4a4eafdd1b939c799df4a"
@@ -16,8 +17,6 @@ LICENSE="LGPL-2.1"
 SLOT="0"
 KEYWORDS="~amd64"
 
-LLVM_MAX_SLOT=14
-
-DEPEND="sys-devel/clang:14
-       sys-devel/llvm:14"
+DEPEND="sys-devel/clang:${LLVM_MAX_SLOT}
+       sys-devel/llvm:${LLVM_MAX_SLOT}"
 RDEPEND="${DEPEND}"

Reply via email to