Summary: | [patch] devel/cmake: Decrease sphinx dependency | ||||||||
---|---|---|---|---|---|---|---|---|---|
Product: | Ports & Packages | Reporter: | Adam Weinberger <adamw> | ||||||
Component: | Individual Port(s) | Assignee: | freebsd-kde (group) <kde> | ||||||
Status: | Closed FIXED | ||||||||
Severity: | Affects Many People | CC: | citrin+pr, demon, makc | ||||||
Priority: | --- | ||||||||
Version: | Latest | ||||||||
Hardware: | Any | ||||||||
OS: | Any | ||||||||
Attachments: |
|
Created attachment 146691 [details]
MANPAGES option
(In reply to Adam Weinberger from comment #0) > option2 adds a MANPAGE option that lets you disable building manpages > entirely. I'm ok with this patch. Would you commit it, Adam? Committed. Thank you for reviewing this, Max! A commit references this bug: Author: adamw Date: Tue Feb 24 16:40:44 UTC 2015 New revision: 379820 URL: https://svnweb.freebsd.org/changeset/ports/379820 Log: Add a MANPAGES option to control the generation of cmake's manpages. The py-sphinx system brings in a number of dependencies that wouldn't otherwise be necessary for cmake. The MANPAGES option defaults to on, so the main pkg won't change. PR: 193259 Approved by: kde (makc) Changes: head/devel/cmake/Makefile head/devel/cmake/pkg-plist |
Created attachment 146690 [details] pre-built manpages The dependency on py-sphinx does bring in quite a number of extra build-time dependencies. There are two main ways of addressing this: pre-building the manpages, and adding the ability to not build them at all. I'm attaching two patches: option1 adds a tarball of pre-built manpages (I've put them in ~adamw/public_distfiles). I made the tarball from ./man so it can be extracted directly into ${STAGEDIR}${PREFIX}. option2 adds a MANPAGE option that lets you disable building manpages entirely.