(new Soapbox())->shout(array_map('strtoupper', $opinions)); //Shaun's blog


Me, elsewhere

GitHub
parseword
Miscellaneous public code

snuze
A PHP API client for Reddit

Twitter
@parseword
I don't tweet much

XMPP chat
xmpp@shaunc.com
(Pidgin, Miranda, Swift, etc.)


Perfect is the enemy of good enough.

Compiling Doxygen on FreeBSD without LaTeX and Ghostscript

Posted August 21, 2019 by shaun

If you want to compile Doxygen (/usr/ports/devel/doxygen/) on FreeBSD without also building LaTeX and Ghostscript, disabling the "LaTeX support" option in the make config screen isn't sufficient.

You also need to disable the "Build and/or install documentation" option.

Turns out, Doxygen uses itself to build its own docs, and requires features from the LaTeX and Ghostscript support to do so. As such, if you disable LaTeX support but ask for the documentation to be built, LaTeX will be silently re-enabled! This isn't intuitive or apparent from the config interface; you have to look in the Makefile to figure it out. The DOCS_IMPLIES line forces LaTeX back on:

DOCS_USES=              ghostscript:build
DOCS_ALL_TARGET=        docs
DOCS_BUILD_DEPENDS=     dot:graphics/graphviz
DOCS_CMAKE_BOOL=        build_doc
DOCS_PLIST_FILES=       man/man1/doxygen.1.gz \
                        man/man1/doxyindexer.1.gz \
                        man/man1/doxysearch.1.gz \
                        man/man1/doxywizard.1.gz
DOCS_IMPLIES=           LATEX

This explains why a 1.8 GB TeXLive tarball started downloading every time I tried to compile Doxygen, even though I knew I'd turned LaTeX off. A little warning would be nice for something that big. Dogfooding is great, but this FreeBSD port is in the doghouse.



Recent articles

📰 Compiling Doxygen on FreeBSD without LaTeX and Ghostscript

📰 Introducing Snuze, a PHP client for the Reddit API

📰 jisusaiche: Java's installer telemetry

📰 BIND client log error "query_find: query_getdb failed"

📰 Resolving "The lang/perl5.24 port has been deleted: Has expired" portmaster error

📰 Armagaddon2 interim fix for Firefox 56 and other old versions

📰 Strange DNS queries: qname "miep", qtype ANY

📰 Undeliverable as addressed: A massive broken spam campaign?

📰 Using WITH_META_MODE and ccache for FreeBSD build boosts

📰 Resolving subversion error E000013: Unable to create pristine install stream

📰 Enhancements to SmokePing's AnotherDNS probe

📰 Generating vanity DNSSEC key tags

📰 DDoS involving forged packets from 23.225.141.70

📰 Website integrity monitoring through version control

📰 SpamAssassin 3.4.2 fixes security problems, adds HashBL and phishing plugins

▲ Back to top | Permalink to this page