Bug 263006 - math/ocaml-zarith: USE_OCAML_LDCONFIG
Summary: math/ocaml-zarith: USE_OCAML_LDCONFIG
Status: Closed Overcome By Events
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Many People
Assignee: Alexey Dokuchaev
URL:
Keywords:
Depends on:
Blocks: 262794
  Show dependency treegraph
 
Reported: 2022-04-02 15:25 UTC by Thierry Thomas
Modified: 2024-03-11 21:59 UTC (History)
3 users (show)

See Also:
bugzilla: maintainer-feedback? (danfe)


Attachments
USE_OCAML_LDCONFIG and strip binaries (1.26 KB, patch)
2022-04-02 15:25 UTC, Thierry Thomas
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Thierry Thomas freebsd_committer freebsd_triage 2022-04-02 15:25:29 UTC
Created attachment 232897 [details]
USE_OCAML_LDCONFIG and strip binaries

This is needed to fix devel/cil with OCaml 4.12: without it cilly.byte does not find the library.

And also strip the binaries.
Comment 1 Benjamin Jacobs 2024-02-13 07:22:38 UTC
I came up with almost the same change in the 4.14.1 update I submitted https://reviews.freebsd.org/D43861#change-Jz5YG5U9pJFR

Both change are valid (that leaving OCAMLFIND_LDCONF=/dev/null is redundant but doesn't hurt). If this one gets applied to the tree I can remove my commit, or if you want me to swap my commit with the patch here and re-update the DR, I can do as well.