aboutsummaryrefslogtreecommitdiffstats
path: root/testing/ocaml-yojson
diff options
context:
space:
mode:
authorJakub Jirutka <jakub@jirutka.cz>2018-03-11 23:43:06 +0100
committerJakub Jirutka <jakub@jirutka.cz>2018-03-12 00:00:55 +0100
commit08e0ea5a97ba58324cd51f7b6c91c8c91c16aaba (patch)
tree4f2c2b89c1b8e58035112d81e46648f3c20e513d /testing/ocaml-yojson
parentffe52ad52f7ce86ee3fc4d696ea544a8806dc372 (diff)
downloadaports-08e0ea5a97ba58324cd51f7b6c91c8c91c16aaba.tar.bz2
aports-08e0ea5a97ba58324cd51f7b6c91c8c91c16aaba.tar.xz
testing/ocaml-yojson: fix depends on -dev subpkg, fix depending pkgs
There are already two packages that require yojson and not biniou or easy-format, but fails to build when ocaml-biniou-dev and ocaml-easy-format-dev are not installed, so they are probably needed as transitive dependencies.
Diffstat (limited to 'testing/ocaml-yojson')
-rw-r--r--testing/ocaml-yojson/APKBUILD7
1 files changed, 3 insertions, 4 deletions
diff --git a/testing/ocaml-yojson/APKBUILD b/testing/ocaml-yojson/APKBUILD
index 72fb2adf3d..0975ba2528 100644
--- a/testing/ocaml-yojson/APKBUILD
+++ b/testing/ocaml-yojson/APKBUILD
@@ -3,15 +3,14 @@
pkgname=ocaml-yojson
_pkgname=yojson
pkgver=1.4.1
-pkgrel=0
+pkgrel=1
pkgdesc="JSON parsing and pretty-printing library for OCaml"
url="https://github.com/mjambon/yojson"
arch="all !x86 !armhf !s390x" # limited by ocaml aport
license="BSD-3-Clause"
depends="ocaml-runtime ocaml-biniou ocaml-easy-format"
-depends_dev="$pkgname=$pkgver-r$pkgrel"
-makedepends="dune ocaml ocaml-biniou-dev ocaml-cppo ocaml-easy-format-dev
- ocaml-findlib opam"
+depends_dev="$pkgname=$pkgver-r$pkgrel ocaml-biniou-dev ocaml-easy-format-dev"
+makedepends="$depends_dev dune ocaml ocaml-cppo ocaml-findlib opam"
subpackages="$pkgname-dev"
source="$pkgname-$pkgver.tar.gz::https://github.com/mjambon/$_pkgname/archive/v$pkgver.tar.gz"
builddir="$srcdir/$_pkgname-$pkgver"