pfff: fix build on ocaml 4.03.
This commit is contained in:
parent
f281251a49
commit
01d0c34e09
|
@ -1,7 +1,7 @@
|
||||||
# Template build file for 'pfff'
|
# Template build file for 'pfff'
|
||||||
pkgname=pfff
|
pkgname=pfff
|
||||||
version=0.29
|
version=0.29
|
||||||
revision=1
|
revision=2
|
||||||
build_style=configure
|
build_style=configure
|
||||||
configure_args="--prefix=/usr"
|
configure_args="--prefix=/usr"
|
||||||
short_desc="Tools and APIs for code analysis, visualization and transformation"
|
short_desc="Tools and APIs for code analysis, visualization and transformation"
|
||||||
|
@ -15,6 +15,12 @@ depends="ocaml"
|
||||||
nocross="yes"
|
nocross="yes"
|
||||||
nostrip="yes"
|
nostrip="yes"
|
||||||
|
|
||||||
|
post_extract() {
|
||||||
|
sed -i s/uint32/uint32_t/g external/ocamlzip/zlibstubs.c
|
||||||
|
sed -i '50,${/exception Error/d}' external/ocamlzip/zip.ml #duplicate def
|
||||||
|
sed -i 's/-warn-error .a//' Makefile.common lang_php/matcher/Makefile
|
||||||
|
}
|
||||||
|
|
||||||
do_build() {
|
do_build() {
|
||||||
make depend
|
make depend
|
||||||
make
|
make
|
||||||
|
|
Loading…
Reference in New Issue