[Bug 263751] [patch] sysutils/nut - remove asciidoc dependency and make MANPAGES user selectable

From: <bugzilla-noreply_at_freebsd.org>
Date: Tue, 03 May 2022 09:27:30 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=263751

            Bug ID: 263751
           Summary: [patch] sysutils/nut - remove asciidoc dependency and
                    make MANPAGES user selectable
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Some People
          Priority: ---
         Component: Individual Port(s)
          Assignee: cy@FreeBSD.org
          Reporter: Joerg.Pulz@frm2.tum.de
          Assignee: cy@FreeBSD.org
             Flags: maintainer-feedback?(cy@FreeBSD.org)

Created attachment 233694
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=233694&action=edit
patch to remove asciidoc dependency and make MANPAGES user selectable

Latest update to nut-2.8.0 pulls in unnecessary dependency to asciidoc.
Remove asciidoc dependency as it is not needed - see below.

While here make MANPAGES user selectable and adopt pkg-plist accordingly.

Description:
Pre-built manpages are already bundled with nut-2.8.0.
They are never regenerated, no matter if asciidoc is available.

configure output from a system without asciidoc and MANPAGES selected:

checking if asciidoc version can build manpages (minimum required 8.6.3)... no
checking if we have all the tools mandatory for man page regeneration... no
checking whether to build and install documentation... man=auto
configure: Got explicit list of document formats to build or not: man=auto
checking desire and ability to build man documentation... auto
checking if we can build man... no
configure: WARNING: Unable to build man documentation, but can install
pre-built distributed copies
configure: Skipping build of man documentation (check for 'skip' results above)
checking whether to build specific documentation format(s)... no
....
build and install documentation: man=auto
build specific documentation format(s): no

Result: Bundled manpages will be installed.

Add MANPAGES to OPTIONS_DEFAULT to make the port behave as before MANPAGES.

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