Summary: | [PATCH] Mk/Uses/php.mk: Stale PHP_VERSION variable prevent to use dependency on mod_php and cgi/fpm/embed checks | ||||||
---|---|---|---|---|---|---|---|
Product: | Ports & Packages | Reporter: | Dima Panov <fluffy> | ||||
Component: | Individual Port(s) | Assignee: | Alex Dupre <ale> | ||||
Status: | Closed Not A Bug | ||||||
Severity: | Affects Many People | ||||||
Priority: | --- | ||||||
Version: | Latest | ||||||
Hardware: | Any | ||||||
OS: | Any | ||||||
Attachments: |
|
Nope, PHP_VERSION is set only when PHP is already installed, and those checks have to be performed only in that case, otherwise you can always install the correct dependencies. (In reply to Alex Dupre from comment #1) In clean environment (poudriere) these checks was always skipped, and no dependency on mod_php/apache registered at all while php:mod or php:web was requested:( Oh, I see it. Depend on apache only if it exist in environment. Ok. Sorry for misunderstood |
Created attachment 209084 [details] PHP_VERSION -> PHP_VER check Mk/Uses/php.mk: Stale PHP_VERSION variable prevent to use dependency on mod_php and cgi/fpm/embed checks AFIU, PHP_VERSION should be replaced by PHP_VER by logic