[84240] trunk/dports/devel/caml-lwt/Portfile
Ryan Schmidt
ryandesign at macports.org
Wed Sep 21 05:40:01 PDT 2011
On Sep 21, 2011, at 07:36, mww at macports.org wrote:
> Revision: 84240
> http://trac.macports.org/changeset/84240
> Author: mww at macports.org
> Date: 2011-09-21 05:36:18 -0700 (Wed, 21 Sep 2011)
> Log Message:
> -----------
> caml-lwt: version 2.3.1; take (open-)maintainership;
>
> Modified Paths:
> --------------
> trunk/dports/devel/caml-lwt/Portfile
> +# cheat the system by providing a thin ocamlfind-wrapper that obeys destdir
> +post-extract {
> + system -W ${worksrcpath} "echo ${prefix}/bin/ocamlfind \\$* -destdir ${ocamlfind_destdir} -ldconf ignore > ocamlfind"
> + system -W ${worksrcpath} "chmod +x ocamlfind"
You don't need to use "system" just to set permissions. Use "file attributes ${worksrcpath}/ocamlfind -permissions +x".
More information about the macports-dev
mailing list