maintainer-feedback requested: [Bug 252933] textproc/libxml2: VALID as option name conflicts with framework

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Sat Jan 23 07:50:46 UTC 2021


Bugzilla Automation <bugzilla at FreeBSD.org> has asked freebsd-desktop (Team)
<desktop at FreeBSD.org> for maintainer-feedback:
Bug 252933: textproc/libxml2: VALID as option name conflicts with framework
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=252933



--- Description ---
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)


More information about the freebsd-desktop mailing list