With PHP5_SAPI_APXSFILTER as the top-most selectable choice, it gets
selected as default when PHP5 is selected. This pulls in a fairly high
footprint of other dependencies, namely (host-)apache2. These might not
even be needed when PHP5 is selected as a dependency by other packages
for PHP5_SAPI_CLI only.

Default to PHP5_SAPI_NONE instead. This also selects PHP5_SAPI_CLI
(preventing configure from complaining that nothing is being built), but
no further external dependencies, resulting in a much smaller default
footprint.

Signed-off-by: Roland Hieber <r.hie...@pengutronix.de>

---
 v2:
  - don't reorder options, but only set the default choice.
  - improve commit message

---
 rules/php5.in | 1 +
 1 file changed, 1 insertion(+)

diff --git a/rules/php5.in b/rules/php5.in
index df352a062..fe76d4bd5 100644
--- a/rules/php5.in
+++ b/rules/php5.in
@@ -36,6 +36,7 @@ config PHP5_INI
 
 choice
        prompt "SAPI Module"
+       default PHP5_SAPI_NONE
 
 config PHP5_SAPI_AOLSERVER
        bool
-- 
2.11.0


_______________________________________________
ptxdist mailing list
ptxdist@pengutronix.de

Reply via email to