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

next in thread | previous in thread | raw e-mail | index | archive | help
Bugzilla Automation <bugzilla@FreeBSD.org> has asked freebsd-desktop (Team)
<desktop@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=3D252933



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



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