git: 8b170be6b9be - main - net-mgmt/unifi7: Fix FLAVOR

From: Juraj Lutter <otis_at_FreeBSD.org>
Date: Wed, 18 Oct 2023 14:58:17 UTC
The branch main has been updated by otis:

URL: https://cgit.FreeBSD.org/ports/commit/?id=8b170be6b9be02d0c086f7790c39b664ed38574f

commit 8b170be6b9be02d0c086f7790c39b664ed38574f
Author:     Juraj Lutter <otis@FreeBSD.org>
AuthorDate: 2023-10-18 14:56:37 +0000
Commit:     Juraj Lutter <otis@FreeBSD.org>
CommitDate: 2023-10-18 14:57:54 +0000

    net-mgmt/unifi7: Fix FLAVOR
    
    Fix FLAVOR logic for externaldb. Not bumping PORTREVISION.
---
 net-mgmt/unifi7/Makefile | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net-mgmt/unifi7/Makefile b/net-mgmt/unifi7/Makefile
index fb4fdc2e9fbd..2591f07cd543 100644
--- a/net-mgmt/unifi7/Makefile
+++ b/net-mgmt/unifi7/Makefile
@@ -53,7 +53,7 @@ GROUPS=		unifi
 
 OPTIONS_DEFINE=	EXTERNALDB
 
-.if (empty(FLAVOR) || ${FLAVOR:U} == externaldb)
+.if ${FLAVOR:U} == externaldb
 OPTIONS_DEFAULT+=	EXTERNALDB
 .endif