HomeFreeBSD

MFH: r454266 r454332

Description

MFH: r454266 r454332

Fix [DE]SELECTED_OPTIONS to lazily evaluate as late as possible.

If a port modifies OPTIONS_UNSET after including bsd.port.options.mk
then these values were wrong even though all of 'showconfig',
'pretty-print-config', and the package generated all had the expected
options.

Only Poudriere and synth use these variables for incremental build checks.

Reviewed by: sjg, bapt
Approved by: portmgr (bapt)
Differential Revision: https://reviews.freebsd.org/D13092

Follow-up r454266: Sort and remove duplicates for [DE]SELECTED_OPTIONS.

Some ports like graphics/povray-meta do funky things like add the same
option into PORT_OPTIONS twice. This also avoids a new leading blank
space in some cases.

With hat: portmgr
Approved by: portmgr (implicit)

Details

Provenance
bdreweryAuthored on
Reviewer
sjg
Differential Revision
D13092: Fix [DE]SELECTED_OPTIONS to lazily evaluate.
Parents
rP454335: devel/phpunit6: Update from 6.4.3 to 6.4.4
Branches
Unknown
Tags
Unknown