aboutsummaryrefslogtreecommitdiffstats
path: root/main/compiler-rt
diff options
context:
space:
mode:
authorJakub Jirutka <jakub@jirutka.cz>2017-04-22 14:35:08 +0000
committerJakub Jirutka <jakub@jirutka.cz>2017-04-22 16:35:29 +0200
commit898406817fa73b47d3d759b530589ba8ed3a569f (patch)
treef98e3e246749a6bd79a7cf1034384d737e36d871 /main/compiler-rt
parented54aec621843518fddfbb579b25f0d775ee2a09 (diff)
downloadaports-898406817fa73b47d3d759b530589ba8ed3a569f.tar.bz2
aports-898406817fa73b47d3d759b530589ba8ed3a569f.tar.xz
main/compiler-rt: specify min. version for clang and llvm deps
Diffstat (limited to 'main/compiler-rt')
-rw-r--r--main/compiler-rt/APKBUILD9
1 files changed, 8 insertions, 1 deletions
diff --git a/main/compiler-rt/APKBUILD b/main/compiler-rt/APKBUILD
index dcdb5d5224..2ed1acc739 100644
--- a/main/compiler-rt/APKBUILD
+++ b/main/compiler-rt/APKBUILD
@@ -4,11 +4,18 @@ pkgname=compiler-rt
# Note: Update together with llvm.
pkgver=4.0.0
pkgrel=0
+_vermajor=${pkgver%%.*}
pkgdesc="LLVM compiler-rt runtime libraries"
arch="all"
url="http://llvm.org/"
license="UOI-NCSA"
-makedepends="cmake linux-headers llvm-dev llvm-static python2"
+makedepends="
+ cmake
+ linux-headers
+ llvm-dev>=$_vermajor
+ llvm-static>=$_vermajor
+ python2
+ "
source="http://llvm.org/releases/$pkgver/$pkgname-$pkgver.src.tar.xz"
builddir="$srcdir/$pkgname-$pkgver.src"