mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-08-05 21:37:15 +02:00
testing/haxe: rebuild and fix for ocaml 4.06.1
This commit is contained in:
parent
c4e0da5578
commit
9a786cf40c
@ -3,7 +3,7 @@
|
||||
pkgname=haxe
|
||||
pkgver=3.4.7
|
||||
_versuffix=
|
||||
pkgrel=0
|
||||
pkgrel=1
|
||||
pkgdesc="Cross-platform toolkit and programming language"
|
||||
url="https://haxe.org"
|
||||
arch="x86_64 aarch64 ppc64le"
|
||||
@ -30,9 +30,14 @@ build() {
|
||||
mv "$srcdir"/haxelib-$_haxelib_rev extra/haxelib_src
|
||||
mv "$srcdir"/ocamllibs-$_ocamllibs_rev libs
|
||||
|
||||
# Workaround to make it build with ocaml >=4.06.
|
||||
export OCAMLPARAM="safe-string=0,_"
|
||||
|
||||
# Check to see if ocamlopt exists. If not, bytecompile everything.
|
||||
command -v ocamlopt && make -j1 || make -j1 BYTECODE=1
|
||||
make -j1 tools
|
||||
|
||||
unset OCAMLPARAM
|
||||
}
|
||||
|
||||
check() {
|
||||
|
Loading…
Reference in New Issue
Block a user