Bug 296732 - databases/rocksdb: add cmake config files
Summary: databases/rocksdb: add cmake config files
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Some People
Assignee: Thierry Thomas
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2026-07-12 16:08 UTC by Thierry Thomas
Modified: 2026-08-02 08:11 UTC (History)
0 users

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


Attachments
Add cmake config files + googletest and onetbb (16.05 KB, patch)
2026-07-12 16:08 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 2026-07-12 16:08:22 UTC
Created attachment 272769 [details]
Add cmake config files + googletest and onetbb

Add cmake config files, which are required to build some consumers.

Remark: it would be easier to achieve by setting USES=cmake, but I know that you don't like it.

Also since I'm there fix the build when googletest and onetbb are found.
Comment 1 Thierry Thomas freebsd_committer freebsd_triage 2026-08-02 08:11:22 UTC
Just committed.
Comment 2 commit-hook freebsd_committer freebsd_triage 2026-08-02 08:11:49 UTC
A commit in branch main references this bug:

URL: https://cgit.FreeBSD.org/ports/commit/?id=7932b158a543476c90138973465f2040109bed1b

commit 7932b158a543476c90138973465f2040109bed1b
Author:     Thierry Thomas <thierry@FreeBSD.org>
AuthorDate: 2026-07-12 16:02:00 +0000
Commit:     Thierry Thomas <thierry@FreeBSD.org>
CommitDate: 2026-08-02 08:11:10 +0000

    databases/rocksdb: add cmake config files

    Also add dependencies on googletest and onetbb: when built outside
    poudriere they are detected and compilation fails.

    PR:             296732
    Approved by:    maintainer’s time-out

 databases/rocksdb/Makefile                         |  17 +++-
 .../files/RocksDBTargets-release.cmake.in (new)    |  29 ++++++
 databases/rocksdb/files/RocksDBTargets.cmake (new) | 113 +++++++++++++++++++++
 .../files/patch-build_tools-build_detect_platform  |  23 +++--
 .../files/patch-cmake_RocksDBConfig.cmake.in (new) |  85 ++++++++++++++++
 databases/rocksdb/pkg-plist                        |  13 +++
 6 files changed, 268 insertions(+), 12 deletions(-)