aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJakub Jirutka <jakub@jirutka.cz>2018-03-06 23:59:23 +0100
committerJakub Jirutka <jakub@jirutka.cz>2018-03-07 01:33:56 +0100
commit526d7bf0d101365f5f7de521a205d098f0e8e91e (patch)
tree44c79aa6f06a031c7f85727c4e5e8c74e3701f20
parent8af3e1f523d4793d38e79215209894fe745f4923 (diff)
downloadaports-526d7bf0d101365f5f7de521a205d098f0e8e91e.tar.bz2
aports-526d7bf0d101365f5f7de521a205d098f0e8e91e.tar.xz
testing/ocaml-lwt: fix depends
-rw-r--r--testing/ocaml-lwt/APKBUILD16
1 files changed, 10 insertions, 6 deletions
diff --git a/testing/ocaml-lwt/APKBUILD b/testing/ocaml-lwt/APKBUILD
index dc26b7fd3d..353a9b250e 100644
--- a/testing/ocaml-lwt/APKBUILD
+++ b/testing/ocaml-lwt/APKBUILD
@@ -3,21 +3,25 @@
pkgname=ocaml-lwt
_pkgname=lwt
pkgver=3.2.1
-pkgrel=0
+pkgrel=1
pkgdesc="OCaml promises and concurrent I/O"
url="https://github.com/ocsigen/lwt"
arch="all !x86 !armhf !s390x !ppc64le" # limited by ocaml and ocaml-cppo aports
license="LGPL-2.1-or-later-WITH-linking-exception BSD-3-Clause"
-makedepends="
+depends="ocaml-migrate-parsetree
+ ocaml-ppx_tools_versioned
+ ocaml-result
+ "
+depends_dev="libev-dev"
+makedepends="$depends_dev
dune
- libev-dev
ocaml
ocaml-cppo-dev
ocaml-findlib
ocaml-migrate-parsetree-dev
+ ocaml-ppx_tools_versioned-dev
ocaml-react-dev
ocaml-result-dev
- ocaml-ppx_tools_versioned-dev
opam
"
subpackages="$pkgname-dev $pkgname-doc $pkgname-react"
@@ -63,7 +67,7 @@ package() {
react() {
pkgdesc="$pkgdesc (for FRP)"
- depends="$pkgname=$pkgver-r$pkgrel"
+ depends="$pkgname=$pkgver-r$pkgrel ocaml-react"
mkdir -p "$subpkgdir"/usr/lib/ocaml
mv "$pkgdir"/usr/lib/ocaml/${_pkgname}_react "$subpkgdir"/usr/lib/ocaml/
@@ -71,7 +75,7 @@ react() {
dev() {
default_dev
- depends="$pkgname=$pkgver-r$pkgrel"
+ depends="$depends $pkgname=$pkgver-r$pkgrel $pkgname-react=$pkgver-r$pkgrel"
local sitelib="usr/lib/ocaml/$_pkgname"
cd "$pkgdir"/$sitelib