flavor1_USES= alice flavor2_USES= bob
Instead of:
.if ${FLAVOR} == flavor1
USES+= alice
.elif ${FLAVOR} == flavor2
USES+= bob
.endif
At a glance, it looks like all that's needed is adding USES to
_FLAVOR_HELPERS_APPEND[1]. What am I missing?
1: Mk/bsd.port.mk, line 1525 as of bed4073e0
