Bug 263435 - devel/doxygen: should be able to build without depending on texlive
Summary: devel/doxygen: should be able to build without depending on texlive
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Only Me
Assignee: Dima Panov
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-04-20 10:37 UTC by Robert Clausecker
Modified: 2022-04-21 14:09 UTC (History)
0 users

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Robert Clausecker freebsd_committer freebsd_triage 2022-04-20 10:37:35 UTC
Right now, doxygen pulls texlive through the DOCS option (which implies LATEX).  This means that every port that needs doxygen to build its documentation has to pull all of texlive to build.  This is clearly suboptimal.

Is it perhaps possible to change the DOCS option such that it only depends on texlive at build time, not at run time?  This would make it possible to actually have doxygen without a (usually unnecessary, as you said so yourself) dependency on texlive in the packages, significantly reducing the time it takes to compile packages that depend on it.
Comment 1 commit-hook freebsd_committer freebsd_triage 2022-04-21 14:07:59 UTC
A commit in branch main references this bug:

URL: https://cgit.FreeBSD.org/ports/commit/?id=72cd936929be68ab2d4a7a56eb6ca3d019905a5a

commit 72cd936929be68ab2d4a7a56eb6ca3d019905a5a
Author:     Dima Panov <fluffy@FreeBSD.org>
AuthorDate: 2022-04-21 14:01:23 +0000
Commit:     Dima Panov <fluffy@FreeBSD.org>
CommitDate: 2022-04-21 14:06:58 +0000

    devel/doxygen: DOCS optiion should not imply LATEX run dependecy (+)

    Build dependency on TeX is enough to generate manpages and html docs
    Run dependency on TeX suite still kept via LATEX option (OFF by default)

    PR:     263435

 devel/doxygen/Makefile | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
Comment 2 Dima Panov freebsd_committer freebsd_triage 2022-04-21 14:09:03 UTC
Resolved, thanks for submission!