ASSI via Cygwin-apps writes:
> 
> > src_install() {
> > cd ${S}
> > ocaml_dune_install
> > # temporary workaround to remove absolute paths in dune-package
> > cd ${D}/usr/lib/ocaml/bigarray-compat
> > sed -E -i 's|/cygdrive/d/a/scallywag/.*/([^/]+)|\1|g' dune-package
> > }
> 
> 
> That sed invocation is going to bite you, you should construct that
> path prefix from ${D} instead.

Hi Achim,

Thanks for the catch. Good idea - updated cygport attached now with ${B}, since 
that's the prefix I want to filter. 

William

Attachment: ocaml-bigarray-compat.cygport
Description: Binary data

Reply via email to