ruby.port.mk: fix check for conflicting flavors

Remove trailing whitespace after line continuation character that
somehow did not result in a syntax error, and add missing ruby31
check.
This commit is contained in:
naddy 2022-10-31 20:28:25 +00:00
parent 7f796a2716
commit a345bd907c

View File

@ -53,8 +53,9 @@ FLAVOR = ruby31
. for i in ruby27 ruby30 ruby31 jruby
. if ${FLAVOR:M$i}
MODRUBY_REV = ${i:C/ruby([0-9])/\1./}
. if ${FLAVOR:N$i:Mruby27} || \
${FLAVOR:N$i:Mruby30} || \
. if ${FLAVOR:N$i:Mruby27} || \
${FLAVOR:N$i:Mruby30} || \
${FLAVOR:N$i:Mruby31} || \
${FLAVOR:N$i:Mjruby}
ERRORS += "Fatal: Conflicting flavors used: ${FLAVOR}"
. endif