Further discussion is in mailing list thread in URL. ... PERL_CONFIGURE_WITH= perl=${PERL} perl-bindings ... PYTHON_CONFIGURE_WITH= python=${PYTHON_CMD} % make -VPERL_CONFIGURE_WITH perl=/usr/local/bin/perl perl-bindings % make -VPYTHON_CONFIGURE_WITH python=/usr/local/bin/python2.7 However, for CONFIGURE_ARGS the ${PERL} and ${PYTHON_CMD} variables are getting swallowed up. The port will fail to compile because of this. % make -VCONFIGURE_ARGS "--enable-python --with-python= " "--enable-perl --with-perl= --with-perl-bindings" Blocks fully converting net-mgmt/collectd5 to option helpers (bug 204220)
Add jbeich@ to CC before adding his in progress patch (thanks again Jan!).
Created attachment 163363 [details] bsd.option.mk incomplete patch as there're more cases with premature expansion
Fixed by ports r404759. Re-open if you think otherwise. MFH may not be required as 2016Q1 branch date should be in a few days...
(In reply to Jan Beich from comment #3) Thank you Jan. I concur, with 2016Q1 days away I see no pressing need for MFH and I won't be MFH'ing the option helper conversion in dependent bug 204220 that required this anyway.