Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 23 Jan 2021 07:50:45 +0000
From:      bugzilla-noreply@freebsd.org
To:        ports-bugs@FreeBSD.org
Subject:   [Bug 252933] textproc/libxml2: VALID as option name conflicts with framework
Message-ID:  <bug-252933-7788@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D252933

            Bug ID: 252933
           Summary: textproc/libxml2: VALID as option name conflicts with
                    framework
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: desktop@FreeBSD.org
          Reporter: andrew@tao11.riddles.org.uk
          Assignee: desktop@FreeBSD.org
             Flags: maintainer-feedback?(desktop@FreeBSD.org)
             Flags: maintainer-feedback?

The use of VALID as an option name conflicts with the framework as follows:

${opt}_CATEGORIES is an options helper that adds its content to CATEGORIES =
if
the specified option is set

VALID_CATEGORIES is a framework variable containing the list of valid
categories

So, if VALID_CATEGORIES is already defined at the point at which options are
processed (which will be the case if local categories have been added via
make.conf or Makefile.inc), the libxml2 package is labelled as belonging to
every category.

Suggested fix: rename option VALID to VALIDATE or VALIDATION

(I did not find any other ports with this issue)

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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-252933-7788>