mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-08-05 21:37:15 +02:00
community/opam: rebuild with ocaml 4.06.1
This commit is contained in:
parent
bf4ce05600
commit
51804ebea8
@ -1,14 +1,15 @@
|
|||||||
# Contributor: Michael Zuo <muh.muhten@gmail.com>
|
# Contributor: Michael Zuo <muh.muhten@gmail.com>
|
||||||
# Maintainer: Anil Madhavapeddy <anil@recoil.org>
|
# Maintainer: Anil Madhavapeddy <anil@recoil.org>
|
||||||
|
# FIXME: lib-ext downloads dependencies; package them and use system-provided!
|
||||||
pkgname=opam
|
pkgname=opam
|
||||||
pkgver=1.2.2
|
pkgver=1.2.2
|
||||||
pkgrel=3
|
pkgrel=4
|
||||||
pkgdesc="OCaml Package Manager"
|
pkgdesc="OCaml Package Manager"
|
||||||
url="https://opam.ocaml.org"
|
url="https://opam.ocaml.org"
|
||||||
arch="all !x86 !armhf !s390x" # ocaml not avail on excluded platforms
|
arch="all !x86 !armhf !s390x" # ocaml not avail on excluded platforms
|
||||||
license="LGPL-3.0"
|
license="LGPL-3.0"
|
||||||
depends="ocaml ocaml-camlp4 curl tar unzip rsync aspcud patch"
|
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
|
source="https://github.com/ocaml/$pkgname/releases/download/$pkgver/$pkgname-full-$pkgver.tar.gz
|
||||||
fix-default-stubsdir.patch"
|
fix-default-stubsdir.patch"
|
||||||
builddir="$srcdir/$pkgname-full-$pkgver"
|
builddir="$srcdir/$pkgname-full-$pkgver"
|
||||||
@ -24,7 +25,10 @@ build() {
|
|||||||
--mandir=/usr/share/man \
|
--mandir=/usr/share/man \
|
||||||
--infodir=/usr/share/info \
|
--infodir=/usr/share/info \
|
||||||
--localstatedir=/var
|
--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() {
|
package() {
|
||||||
|
Loading…
Reference in New Issue
Block a user