Bug 277770 - security/ocaml-ssl: wrong stublibs directory
Summary: security/ocaml-ssl: wrong stublibs directory
Status: New
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Only Me
Assignee: Alexey Dokuchaev
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-03-18 01:37 UTC by Benjamin Jacobs
Modified: 2024-03-18 01:52 UTC (History)
1 user (show)

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


Attachments
0001-security-ocaml-ssl-Fix-stublibs.patch (2.38 KB, patch)
2024-03-18 01:46 UTC, Benjamin Jacobs
no flags Details | Diff
0001-security-ocaml-ssl-Fix-stublibs.patch (2.38 KB, patch)
2024-03-18 01:52 UTC, Benjamin Jacobs
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
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