If you have DEFAULT_VERSIONS=apache=2.2 and a port with USE_APACHE=24+, it decides 22 is ok, and tries to build with it.
Confirmed. Trying to merge this into the USES work
Backing out on including it in USES work. Will be added post-migration See: https://reviews.freebsd.org/D12308
can we close here?
Just tested with new Mk/Uses/apache.mk In /etc/make.conf > DEFAULT_VERSIONS= apache=2.2 then build www/mod_authnz_external24 which contains > USES= apache:2.4 this pulls in www/apache24 > $ make build-depends-list > /usr/ports/ports-mgmt/pkg > /usr/ports/www/apache24
This is about (translated from the original problem) apache:2.4+ If apache:2.4+ works, I'm fine with closing it.
Hi mat, Checking if I'm missing something here... If in /etc/make.conf the user sets > DEFAULT_VERSIONS= apache=2.2 and the port sets > USES= apache:2.4+ it depends on www/apache24 not www/apache22. If apache22 is already installed it fails in Mk/Uses/apache.mk ===> ap24-mod_md-devel-1.1.10_3 is marked as broken: : Error from apache.mk. Apache 2.2 is installed and port requires 2.4. *** Error code 1 Should we add an additional error for the case where no Apache is installed, DEFAULT_VERSIONS is 2.2 and the port requests 2.4+? Cheers, Bernard.
seems like nobody cared, and apache 2.2 has been removed anyway.