From 654708e2bc796120a5c9d17c98d7d5c935f6937f Mon Sep 17 00:00:00 2001 From: Sam James Date: Thu, 13 Oct 2022 00:23:33 +0100 Subject: [PATCH] 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 --- 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 445a9b2cf0b04..a67ff86bbfa7c 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}"