Need to also test for defined(${v}_${PROG})
This commit is contained in:
parent
7dfb7dad8b
commit
3bd40bb188
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=258330
@ -44,7 +44,7 @@ PROG ?= $t
|
||||
# just one of many
|
||||
PROG_VARS += BINDIR CFLAGS CPPFLAGS CXXFLAGS DPADD DPLIBS LDADD MAN SRCS
|
||||
.for v in ${PROG_VARS:O:u}
|
||||
.if defined(${v}.${PROG})
|
||||
.if defined(${v}.${PROG}) || defined(${v}_${PROG})
|
||||
$v += ${${v}_${PROG}:U${${v}.${PROG}}}
|
||||
.else
|
||||
$v ?=
|
||||
|
Loading…
Reference in New Issue
Block a user