git: 32db8ad200c9 - main - framework: force expansion of constraint values in llvm.mk

From: Tobias C. Berner <tcberner_at_FreeBSD.org>
Date: Sun, 18 Dec 2022 18:00:58 UTC
The branch main has been updated by tcberner:

URL: https://cgit.FreeBSD.org/ports/commit/?id=32db8ad200c91f1769b2ac538e7bff5f712547d2

commit 32db8ad200c91f1769b2ac538e7bff5f712547d2
Author:     Tobias C. Berner <tcberner@FreeBSD.org>
AuthorDate: 2022-12-18 17:50:00 +0000
Commit:     Tobias C. Berner <tcberner@FreeBSD.org>
CommitDate: 2022-12-18 17:59:53 +0000

    framework: force expansion of constraint values in llvm.mk
    
    This should fix an issue where
            USES=llvm:min=13
    would not set _LLVM_MK_CONSTRAINT_min to 13.
    
    Reported by:    adamw
---
 Mk/Uses/llvm.mk | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/Mk/Uses/llvm.mk b/Mk/Uses/llvm.mk
index 2cae756fd280..388b1a3ba206 100644
--- a/Mk/Uses/llvm.mk
+++ b/Mk/Uses/llvm.mk
@@ -70,7 +70,7 @@ _LLVM_MK_VERSION=	${LLVM_DEFAULT}
 .  for _constraint in ${_LLVM_MK_VALID_CONSTRAINTS}
 _version=	${llvm_ARGS:M${_constraint}=[0-9]*:S/${_constraint}=//}
 .    if !empty(_version)
-_LLVM_MK_CONSTRAINT_${_constraint}=	${_version}
+_LLVM_MK_CONSTRAINT_${_constraint}:=	${_version}
 .    endif
 .  endfor