mailarchive of the ptxdist mailing list
 help / color / mirror / Atom feed
* [ptxdist] [PATCH] php5: don't build a SAPI module by default
@ 2017-11-02 11:02 Roland Hieber
  2017-11-02 11:41 ` Michael Olbrich
  2017-11-02 11:54 ` [ptxdist] [PATCH v2] " Roland Hieber
  0 siblings, 2 replies; 3+ messages in thread
From: Roland Hieber @ 2017-11-02 11:02 UTC (permalink / raw)
  To: ptxdist; +Cc: Roland Hieber

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, which might not
even be needed when PHP5 is selected as a dependency by other packages
for PHP5_SAPI_CLI only.

Bring PHP5_SAPI_NONE to the top of the choice block so it gets selected
by default when PHP5 is selected. This pulls in PHP5_SAPI_CLI, but no
further external dependencies.

Signed-off-by: Roland Hieber <r.hieber@pengutronix.de>
---
 rules/php5.in | 10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)

diff --git a/rules/php5.in b/rules/php5.in
index df352a062..4b88a585d 100644
--- a/rules/php5.in
+++ b/rules/php5.in
@@ -37,6 +37,11 @@ config PHP5_INI
 choice
 	prompt "SAPI Module"
 
+config PHP5_SAPI_NONE
+	bool
+	prompt "none"
+	select PHP5_SAPI_CLI
+
 config PHP5_SAPI_AOLSERVER
 	bool
 	prompt "aolserver"
@@ -153,11 +158,6 @@ config PHP5_SAPI_CGI
 	help
 	  Build CGI version of PHP.
 
-config PHP5_SAPI_NONE
-	bool
-	prompt "none"
-	select PHP5_SAPI_CLI
-
 endchoice
 
 config PHP5_SAPI_CLI
-- 
2.11.0


_______________________________________________
ptxdist mailing list
ptxdist@pengutronix.de

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2017-11-02 11:54 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-11-02 11:02 [ptxdist] [PATCH] php5: don't build a SAPI module by default Roland Hieber
2017-11-02 11:41 ` Michael Olbrich
2017-11-02 11:54 ` [ptxdist] [PATCH v2] " Roland Hieber

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox