Summary: | math/R: Add cmake dependency | ||||||
---|---|---|---|---|---|---|---|
Product: | Ports & Packages | Reporter: | Yuri Victorovich <yuri> | ||||
Component: | Individual Port(s) | Assignee: | Joseph Mingrone <jrm> | ||||
Status: | Closed FIXED | ||||||
Severity: | Affects Only Me | Flags: | jrm:
maintainer-feedback+
|
||||
Priority: | --- | ||||||
Version: | Latest | ||||||
Hardware: | Any | ||||||
OS: | Any | ||||||
Attachments: |
|
Is this still a small proportion of packages? I haven't encountered any that require cmake, but I only install a small number of R packages. cmake is a fairly heavy dependency, so I think it's best to avoid it unless it's clearly ncessary. Part of the reason for putting a dependency on gmake, was that it was often unclear for users that problems encountered when building R packages were because our bmake was being used when gmake was required. For packages that require cmake, I assume the solution would be obvious, `pkg install cmake (In reply to Joseph Mingrone from comment #1) I encountered one such package, but this might be a growing trend. Yuri What packages was it? I'll check whether the error message(s) are clear enough for users to be aware that a solution is `pkg install cmake`. (In reply to Joseph Mingrone from comment #3) The package is 'nloptr'. A commit in branch main references this bug: URL: https://cgit.FreeBSD.org/ports/commit/?id=726cccf6204a22ff5ddec83da25e681f65541baa commit 726cccf6204a22ff5ddec83da25e681f65541baa Author: Yuri Victorovich <yuri@FreeBSD.org> AuthorDate: 2022-02-19 23:07:08 +0000 Commit: Joseph Mingrone <jrm@FreeBSD.org> CommitDate: 2022-02-19 23:09:40 +0000 math/R: Add cmake dependency Some R packages such as nloptr require CMake to build. PR: 261835 Approved by: jrm (maintainer) math/R/Makefile | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) Seems reasonable. Thanks. |
Created attachment 231686 [details] patch Some R packages can now be built with cmake.