summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSam James <sam@gentoo.org>2022-10-13 00:23:33 +0100
committerSam James <sam@gentoo.org>2022-10-13 00:23:33 +0100
commit654708e2bc796120a5c9d17c98d7d5c935f6937f (patch)
tree53b7f11959bf044869a85bef8abe6eb02d401472 /dev-lisp
parentdev-lisp/c2ffi: Bump version to c2ffi-14.0.0.20220729-r1 (diff)
downloadgentoo-654708e2bc796120a5c9d17c98d7d5c935f6937f.tar.gz
gentoo-654708e2bc796120a5c9d17c98d7d5c935f6937f.tar.bz2
gentoo-654708e2bc796120a5c9d17c98d7d5c935f6937f.zip
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@gentoo.org>
Diffstat (limited to 'dev-lisp')
-rw-r--r--dev-lisp/c2ffi/c2ffi-14.0.0.20220729-r1.ebuild7
1 files 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}"