pfff: rebuild for ocaml 4.06.0 (safe-string=0).

This commit is contained in:
Leah Neukirchen 2017-11-22 13:45:21 +01:00 committed by Leаh Neukirchen
parent 22868d6c90
commit 71a6ba0a42
1 changed files with 5 additions and 4 deletions

View File

@ -1,7 +1,7 @@
# Template build file for 'pfff'
pkgname=pfff
version=0.29
revision=2
revision=3
build_style=configure
configure_args="--prefix=/usr"
short_desc="Tools and APIs for code analysis, visualization and transformation"
@ -10,10 +10,11 @@ license="LGPL-2.1"
homepage="https://github.com/facebook/pfff"
distfiles="$homepage/archive/v${version}.tar.gz"
checksum="d31c68f1ebb1770297eb26441d21d83728c0fbdb9c7bb3be27625db45fae72d1"
makedepends="perl ocaml ocaml-findlib camlp4 zlib-devel ncurses-devel"
makedepends="perl ocaml ocaml-findlib ocaml-num camlp4 zlib-devel ncurses-devel"
depends="ocaml"
nocross="yes"
nostrip="yes"
nocross=yes
nostrip=yes
export OCAMLPARAM="safe-string=0,_"
post_extract() {
sed -i s/uint32/uint32_t/g external/ocamlzip/zlibstubs.c