From 51804ebea879ff3d782b12c6e68c63c51c06fabf Mon Sep 17 00:00:00 2001 From: Jakub Jirutka Date: Sat, 10 Mar 2018 00:02:35 +0100 Subject: community/opam: rebuild with ocaml 4.06.1 --- community/opam/APKBUILD | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) (limited to 'community') diff --git a/community/opam/APKBUILD b/community/opam/APKBUILD index b16097d7c0..7c7f52982e 100644 --- a/community/opam/APKBUILD +++ b/community/opam/APKBUILD @@ -1,14 +1,15 @@ # Contributor: Michael Zuo # Maintainer: Anil Madhavapeddy +# FIXME: lib-ext downloads dependencies; package them and use system-provided! pkgname=opam pkgver=1.2.2 -pkgrel=3 +pkgrel=4 pkgdesc="OCaml Package Manager" url="https://opam.ocaml.org" arch="all !x86 !armhf !s390x" # ocaml not avail on excluded platforms license="LGPL-3.0" depends="ocaml ocaml-camlp4 curl tar unzip rsync aspcud patch" -makedepends="ocaml-camlp4-dev" +makedepends="ocaml-compiler-libs ocaml-camlp4-dev" source="https://github.com/ocaml/$pkgname/releases/download/$pkgver/$pkgname-full-$pkgver.tar.gz fix-default-stubsdir.patch" builddir="$srcdir/$pkgname-full-$pkgver" @@ -24,7 +25,10 @@ build() { --mandir=/usr/share/man \ --infodir=/usr/share/info \ --localstatedir=/var - make -j1 lib-ext all + + # -unsafe-string needed to make it build with ocaml >=4.06. + OCAMLFLAGS="-unsafe-string" \ + make -j1 lib-ext all } package() { -- cgit v1.2.3