wok-current rev 2578

ocaml: Fix build (avoid basename error status)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Tue Apr 07 09:42:02 2009 +0000 (2009-04-07)
parents 519ee78a7bda
children 6f3bc8e21c2a
files ocaml/receipt
line diff
     1.1 --- a/ocaml/receipt	Mon Apr 06 23:19:01 2009 +0200
     1.2 +++ b/ocaml/receipt	Tue Apr 07 09:42:02 2009 +0000
     1.3 @@ -14,6 +14,8 @@
     1.4  compile_rules()
     1.5  {
     1.6  	cd $src
     1.7 +	grep -q true build/camlp4-targets.sh ||
     1.8 +		sed -i 's/base=.*/& || true/' build/camlp4-targets.sh
     1.9  	./configure --prefix $PWD/_pkg/usr \
    1.10  	$(echo $CONFIGURE_ARGS | sed 's/--build=[^ ]*//' | sed 's/=/ /g') &&
    1.11  	make world && make install