wok-6.x diff ocaml/receipt @ rev 4302
Fix: esmart build with last revision 42373
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Mon Sep 28 08:33:48 2009 +0200 (2009-09-28) |
parents | bfa8ab3f9688 |
children | 6ec17b55b59a |
line diff
1.1 --- a/ocaml/receipt Tue Apr 07 09:42:02 2009 +0000 1.2 +++ b/ocaml/receipt Mon Sep 28 08:33:48 2009 +0200 1.3 @@ -16,9 +16,11 @@ 1.4 cd $src 1.5 grep -q true build/camlp4-targets.sh || 1.6 sed -i 's/base=.*/& || true/' build/camlp4-targets.sh 1.7 - ./configure --prefix $PWD/_pkg/usr \ 1.8 + ./configure --prefix /usr \ 1.9 $(echo $CONFIGURE_ARGS | sed 's/--build=[^ ]*//' | sed 's/=/ /g') && 1.10 - make world && make install 1.11 + make world opt && 1.12 + sed -i "s|^PREFIX=.*|PREFIX=$PWD/_pkg/usr|" config/Makefile && 1.13 + make install 1.14 } 1.15 1.16 # Rules to gen a SliTaz package suitable for Tazpkg.