aboutsummaryrefslogtreecommitdiffstats
path: root/main/clang/APKBUILD
diff options
context:
space:
mode:
authorJakub Jirutka <jakub@jirutka.cz>2017-04-16 14:07:20 +0200
committerJakub Jirutka <jakub@jirutka.cz>2017-04-16 15:09:33 +0200
commit1e742bab1d572632b529a4e3bb2fa60e6fcef982 (patch)
tree98a36eb999e63bca3e26e53c5baf9722e33327a1 /main/clang/APKBUILD
parent549294b4ebababb21ad978d8d6ff71c468dd88a2 (diff)
downloadaports-1e742bab1d572632b529a4e3bb2fa60e6fcef982.tar.bz2
aports-1e742bab1d572632b529a4e3bb2fa60e6fcef982.tar.xz
main/clang: add missing deps and set noarch to -analyzer
Diffstat (limited to 'main/clang/APKBUILD')
-rw-r--r--main/clang/APKBUILD7
1 files changed, 4 insertions, 3 deletions
diff --git a/main/clang/APKBUILD b/main/clang/APKBUILD
index cff46736a4..4a959a34d1 100644
--- a/main/clang/APKBUILD
+++ b/main/clang/APKBUILD
@@ -2,7 +2,7 @@
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=clang
pkgver=3.8.1
-pkgrel=1
+pkgrel=2
pkgdesc="A C language family front-end for LLVM"
arch="all"
url="http://llvm.org/"
@@ -18,7 +18,8 @@ makedepends="
paxmark
python2
"
-subpackages="$pkgname-dev $pkgname-doc $pkgname-libs $pkgname-analyzer"
+depends_dev="$pkgname=$pkgver-r$pkgrel"
+subpackages="$pkgname-dev $pkgname-doc $pkgname-libs $pkgname-analyzer::noarch"
source="http://llvm.org/releases/$pkgver/cfe-$pkgver.src.tar.xz
clang-0001-Add-Alpine-Linux-distro.patch
clang-0002-Use-z-relro-on-Alpine-Linux.patch
@@ -65,7 +66,7 @@ static() {
analyzer() {
pkgdesc="Clang source code analysis framework"
- depends="python2"
+ depends="$pkgname=$pkgver-r$pkgrel perl python2"
cd "$pkgdir"