diff options
author | Mathieu Arnold <mat@FreeBSD.org> | 2021-06-01 07:04:25 +0000 |
---|---|---|
committer | Mathieu Arnold <mat@FreeBSD.org> | 2021-06-01 07:16:35 +0000 |
commit | e70bedf4f71eda15307b550cefd028a5a4b0281a (patch) | |
tree | 0c1e0b484d7f122ab8c9935baf4e2434e3ff1323 /benchmarks/vkmark | |
parent | bad84b3403f35e38153b86976e46a29ea1c30c9b (diff) | |
download | ports-e70bedf4f71eda15307b550cefd028a5a4b0281a.tar.gz ports-e70bedf4f71eda15307b550cefd028a5a4b0281a.zip |
Mk/bsd.port.mk: Don't pass up an empty flavor.
The classic way to handle flavors is to set:
FLAVORS= foo bar
FLAVOR?= ${FLAVORS:[0]}
And in that case, FLAVOR is only set if the variable is not defined. If
you pass an empty flavor using `FLAVOR=` then it remains empty after
that line. It can leads to some ports with complicated logic to assume
the wrong flavor is set.
PR: 256301
Reported by: avg
Differential Revision: https://reviews.freebsd.org/D30579
Diffstat (limited to 'benchmarks/vkmark')
0 files changed, 0 insertions, 0 deletions