Mk/Uses/firebird.mk: cleanup
- remove useless for loops - avoid IGNORE overwrite
This commit is contained in:
parent
33f1555940
commit
88b4424308
@ -16,17 +16,11 @@ FIREBIRD_VER= ${FIREBIRD_DEFAULT}
|
||||
# Mk/bsd.default-versions.mk in sync.
|
||||
VALID_FIREBIRD_VER= 2.5 3.0 4.0
|
||||
|
||||
. for v in ${FIREBIRD_DEFAULT}
|
||||
. if ! ${VALID_FIREBIRD_VER:M$v}
|
||||
. if ! ${VALID_FIREBIRD_VER:M${FIREBIRD_DEFAULT}}
|
||||
IGNORE= Invalid Firebird default version ${FIREBIRD_DEFAULT}; valid versions are ${VALID_FIREBIRD_VER}
|
||||
. endif
|
||||
. endfor
|
||||
|
||||
. for w in ${FIREBIRD_VER}
|
||||
. if ! ${VALID_FIREBIRD_VER:M$w}
|
||||
. elif ! ${VALID_FIREBIRD_VER:M${FIREBIRD_VER}}
|
||||
IGNORE= Invalid Firebird version ${FIREBIRD_VER}; valid versions are ${VALID_FIREBIRD_VER}
|
||||
. endif
|
||||
. endfor
|
||||
. endif
|
||||
|
||||
LIB_DEPENDS+= libfbclient.so:databases/firebird${FIREBIRD_VER:S/.//}-client
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user