Re: [ITA] ocaml-bigarray-compat 1.1.0, ocaml-ctypes 0.23.0 [ITP] ocaml-csexp 1.5.2
William Hu via Cygwin-apps <[email protected]>
| Newsgroups | gmane.os.cygwin.applications |
|---|---|
| Message-ID | <_H4u6wC5TQM12cMHcO45fCcS-QNKuCCAq0bKkDw0hCShvsbmhxoxY5yEPMHuDqEzdjPT5qIQbPTvu4ug-xUzbW59vS9b_6RwQOFSlBxkqSw=@proton.me> |
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
ocaml-bigarray-compat.cygport
(application/octet-stream, 781 B) - not displayed