aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2021-01-12 11:44:26 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2021-01-12 11:44:26 +0000
commit4280f227d08b8b1ba76efbe14cc4380be4ad4949 (patch)
treeb0981d6eb83908d8948a44c8f15ccdc6a6c17000
parent746f402cbfe711b3a4d08d122c3eda7114fd8812 (diff)
downloadaports-4280f227d08b8b1ba76efbe14cc4380be4ad4949.tar.gz
aports-4280f227d08b8b1ba76efbe14cc4380be4ad4949.tar.bz2
aports-4280f227d08b8b1ba76efbe14cc4380be4ad4949.tar.xz
main/llvm10: fix llvm10 -> llvm10-dev dep
create symlinks in the -dev subpackage, not in main package, so that we don't get circular dependency llvm10 -> llvm10-dev -> llvm10
-rw-r--r--main/llvm10/APKBUILD6
1 files changed, 3 insertions, 3 deletions
diff --git a/main/llvm10/APKBUILD b/main/llvm10/APKBUILD
index 86de3565df..92fbc1afb3 100644
--- a/main/llvm10/APKBUILD
+++ b/main/llvm10/APKBUILD
@@ -9,7 +9,7 @@ _pkgname=llvm
pkgver=10.0.1
_majorver=${pkgver%%.*}
pkgname=$_pkgname$_majorver
-pkgrel=0
+pkgrel=1
pkgdesc="Low Level Virtual Machine compiler system, version $_majorver"
arch="all"
url="https://llvm.org/"
@@ -225,8 +225,8 @@ dev() {
if [ "$_default_llvm" = yes ]; then
ln -sf llvm$_majorver usr/lib/cmake/llvm
- ln -sf llvm$_majorver/lib/LLVMgold.so "$pkgdir"/usr/lib/
- ln -sf llvm$_majorver/lib/libLTO.so "$pkgdir"/usr/lib/
+ ln -sf llvm$_majorver/lib/LLVMgold.so "$subpkgdir"/usr/lib/
+ ln -sf llvm$_majorver/lib/libLTO.so "$subpkgdir"/usr/lib/
fi
}