Bug 277770

Summary: security/ocaml-ssl: wrong stublibs directory
Product: Ports & Packages Reporter: Benjamin Jacobs <freebsd>
Component: Individual Port(s)Assignee: Alexey Dokuchaev <danfe>
Status: Closed FIXED    
Severity: Affects Only Me CC: danfe, madpilot
Priority: --- Flags: bugzilla: maintainer-feedback? (danfe)
freebsd: maintainer-feedback? (danfe)
Version: Latest   
Hardware: Any   
OS: Any   
Attachments:
Description Flags
0001-security-ocaml-ssl-Fix-stublibs.patch
none
0001-security-ocaml-ssl-Fix-stublibs.patch none

Description Benjamin Jacobs 2024-03-18 01:37:47 UTC
Ocaml-ssl provides %%OCAML_SITELIBDIR%%/stublibs/dllssl_stubs.so instead of what I believe ought to be OCAML_LIBDIR/stublibs. As the former directory isn't added to the default ld.conf of OCaml, the package is currently unusable as-is.
Comment 1 Benjamin Jacobs 2024-03-18 01:46:07 UTC
Created attachment 249251 [details]
0001-security-ocaml-ssl-Fix-stublibs.patch

Patch to install ssl stublib in /usr/local/lib/ocaml/site-lib/ssl, to strip it, and to add the directory to /usr/local/lib/ocaml/ld.conf.
Comment 2 Benjamin Jacobs 2024-03-18 01:52:25 UTC
Created attachment 249252 [details]
0001-security-ocaml-ssl-Fix-stublibs.patch

same patch minus the typos
Comment 3 Benjamin Jacobs 2024-05-19 16:19:29 UTC
https://reviews.freebsd.org/D45254
Comment 4 Guido Falsi freebsd_committer freebsd_triage 2024-05-22 17:32:29 UTC
Commited. Thanks!