aboutsummaryrefslogtreecommitdiffstats
path: root/community/erlang
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2017-01-11 13:45:11 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2017-01-11 13:45:30 +0000
commite00ed3a09fe384a24ae88db54fcb81612c95a223 (patch)
tree4a4e64c97bd926d2bbc9cfbd190a4450c2015ad4 /community/erlang
parentccc688abe0bd4f8488d8ba28c11fa46b74052b25 (diff)
downloadaports-e00ed3a09fe384a24ae88db54fcb81612c95a223.tar.bz2
aports-e00ed3a09fe384a24ae88db54fcb81612c95a223.tar.xz
community/erlang: fix circular deps
Diffstat (limited to 'community/erlang')
-rw-r--r--community/erlang/APKBUILD9
1 files changed, 6 insertions, 3 deletions
diff --git a/community/erlang/APKBUILD b/community/erlang/APKBUILD
index 2a478087fc..20095d52e6 100644
--- a/community/erlang/APKBUILD
+++ b/community/erlang/APKBUILD
@@ -4,7 +4,7 @@
pkgname=erlang
pkgver=19.1.0
_srcver=19.1
-pkgrel=0
+pkgrel=1
pkgdesc="General-purpose programming language and runtime environment"
url="http://www.erlang.org/"
license="ASL 2.0"
@@ -99,7 +99,10 @@ package() {
_mv_erlang_lib() {
local lib=$1
- depends="$pkgname"
+ case "$depends" in
+ *$subpkgname*) depends="";;
+ *) depends="$pkgname=$pkgver-r$pkgrel";;
+ esac
mkdir -p "$subpkgdir"/usr/lib/erlang/lib
rm -f "$pkgdir"/usr/lib/erlang/lib/$lib-*/src/*.erl
@@ -188,7 +191,7 @@ dev() {
done
return 0
}
-
+
md5sums="19dfbc2042e6dd40bf281e7ca2d49d43 otp_src_19.1.tar.gz
f4aa0cc27dc57ea4dcd57191b1948a4d 0005-Do-not-install-nteventlog-and-related-doc-files-on-n.patch