[Bug 240536] textproc/gtk-doc: make configure dependency on highlight explicit

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Thu Sep 12 14:06:20 UTC 2019


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=240536

            Bug ID: 240536
           Summary: textproc/gtk-doc: make configure dependency on
                    highlight explicit
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Some People
          Priority: ---
         Component: Individual Port(s)
          Assignee: gnome at FreeBSD.org
          Reporter: jcfyecrayz at liamekaens.com
             Flags: maintainer-feedback?(gnome at FreeBSD.org)
          Assignee: gnome at FreeBSD.org

Created attachment 207421
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=207421&action=edit
[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).

QA:
 - poudriere textport: ok
 - portlint: ok

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-ports-bugs mailing list