1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-19 00:13:33 +00:00

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
This commit is contained in:
Tobias C. Berner 2022-12-18 18:50:00 +01:00
parent b1f9d0e1db
commit 32db8ad200

View File

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