summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSam James <sam@gentoo.org>2022-08-31 22:48:09 +0100
committerSam James <sam@gentoo.org>2022-08-31 22:48:44 +0100
commitaa9d13ef6a2f77c7a7e7e16d0723d378b6c3eafe (patch)
tree19902e06d01cc5d4705cd7d59860b38c8c8a3d7d /dev-lang
parentapp-office/libreoffice: use emake, not make (diff)
downloadgentoo-aa9d13ef6a2f77c7a7e7e16d0723d378b6c3eafe.tar.gz
gentoo-aa9d13ef6a2f77c7a7e7e16d0723d378b6c3eafe.tar.bz2
gentoo-aa9d13ef6a2f77c7a7e7e16d0723d378b6c3eafe.zip
dev-lang/ghc: cleanup obsolete LLVM slots; conditionalise llvm_pkg_setup call
Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'dev-lang')
-rw-r--r--dev-lang/ghc/ghc-9.0.2.ebuild8
1 files changed, 2 insertions, 6 deletions
diff --git a/dev-lang/ghc/ghc-9.0.2.ebuild b/dev-lang/ghc/ghc-9.0.2.ebuild
index d3bdecd30539..dc0d530b0785 100644
--- a/dev-lang/ghc/ghc-9.0.2.ebuild
+++ b/dev-lang/ghc/ghc-9.0.2.ebuild
@@ -90,12 +90,8 @@ RDEPEND="
!ghcmakebinary? ( dev-libs/libffi:= )
numa? ( sys-process/numactl )
llvm? (
- <sys-devel/llvm-$(("${LLVM_MAX_SLOT}" + 1)):=
+ <sys-devel/llvm-$((${LLVM_MAX_SLOT} + 1)):=
|| (
- sys-devel/llvm:9
- sys-devel/llvm:10
- sys-devel/llvm:11
- sys-devel/llvm:12
sys-devel/llvm:13
)
)
@@ -406,7 +402,7 @@ pkg_setup() {
python-any-r1_pkg_setup
fi
- llvm_pkg_setup
+ use llvm && llvm_pkg_setup
}
src_unpack() {