Bug 193259 - [patch] devel/cmake: Decrease sphinx dependency
Summary: [patch] devel/cmake: Decrease sphinx dependency
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Many People
Assignee: freebsd-kde (group)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-09-02 18:41 UTC by Adam Weinberger
Modified: 2015-02-24 16:41 UTC (History)
3 users (show)

See Also:


Attachments
pre-built manpages (1.79 KB, patch)
2014-09-02 18:41 UTC, Adam Weinberger
no flags Details | Diff
MANPAGES option (2.31 KB, patch)
2014-09-02 18:41 UTC, Adam Weinberger
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Adam Weinberger freebsd_committer freebsd_triage 2014-09-02 18:41:02 UTC
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.
Comment 1 Adam Weinberger freebsd_committer freebsd_triage 2014-09-02 18:41:23 UTC
Created attachment 146691 [details]
MANPAGES option
Comment 2 Max Brazhnikov freebsd_committer freebsd_triage 2015-02-24 09:20:41 UTC
(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?
Comment 3 Adam Weinberger freebsd_committer freebsd_triage 2015-02-24 16:41:03 UTC
Committed. Thank you for reviewing this, Max!
Comment 4 commit-hook freebsd_committer freebsd_triage 2015-02-24 16:41:11 UTC
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