Created attachment 207421 [details]
[patch] make highlight dependency explicit at configure time
If textproc/source-highlight is installed when you run 'make -C textproc/gtk-doc configure', the configure phase will detect source-highlight first before highlight. This makes gtk-doc implicitly dependent on source-highlight. If source-highlight is later removed, gtk-doc is broken (config.py contains a now invalid reference to source-highlight).
This is solved by specifying --with-highlight=highlight for configure.
While here, appease portlint a bit by moving USES earlier.
I could see that this could merit a PORTREVISION bump, but this change shouldn't change packages that are currently built on the freebsd package servers (a poudriere gtk-doc build jail would not have the source-highlight package installed).
- poudriere textport: ok
- portlint: ok