It will be good if nginx have support for that variable. For example I need compile naxsi to nginx. EXTRA_ECONF="--add-module=/tmp/naxsi-0.44-1/naxsi_src/" emerge nginx
FYI: EXTRA_ECONF is only intended for packages that use standard autotools
please use NGINX_ADD_MODULES: if [[ -n $NGINX_ADD_MODULES ]]; then ewarn "You are building custom modules via \$NGINX_ADD_MODULES!" ewarn "This nginx installation is not supported!" ewarn "Make sure you can reproduce the bug without those modules" ewarn "_before_ reporting bugs." fi ... for mod in $NGINX_ADD_MODULES; do myconf+=" --add-module=${mod}" done
thank you for you comment