# HG changeset patch # User Pascal Bellard # Date 1239097322 0 # Node ID bfa8ab3f9688360e97e4af24943effbea6c1f34f # Parent 519ee78a7bda343a4528d980a669b6a1f0c96ac1 ocaml: Fix build (avoid basename error status) diff -r 519ee78a7bda -r bfa8ab3f9688 ocaml/receipt --- a/ocaml/receipt Mon Apr 06 23:19:01 2009 +0200 +++ b/ocaml/receipt Tue Apr 07 09:42:02 2009 +0000 @@ -14,6 +14,8 @@ compile_rules() { cd $src + grep -q true build/camlp4-targets.sh || + sed -i 's/base=.*/& || true/' build/camlp4-targets.sh ./configure --prefix $PWD/_pkg/usr \ $(echo $CONFIGURE_ARGS | sed 's/--build=[^ ]*//' | sed 's/=/ /g') && make world && make install