From: Roland Hieber <r.hieber@pengutronix.de>
To: ptxdist@pengutronix.de
Cc: Roland Hieber <r.hieber@pengutronix.de>
Subject: [ptxdist] [PATCH v2] php5: don't build a SAPI module by default
Date: Thu, 2 Nov 2017 12:54:07 +0100 [thread overview]
Message-ID: <20171102115407.24173-1-r.hieber@pengutronix.de> (raw)
In-Reply-To: <20171102110233.6949-1-r.hieber@pengutronix.de>
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.hieber@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
prev parent reply other threads:[~2017-11-02 11:54 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-11-02 11:02 [ptxdist] [PATCH] " Roland Hieber
2017-11-02 11:41 ` Michael Olbrich
2017-11-02 11:54 ` Roland Hieber [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20171102115407.24173-1-r.hieber@pengutronix.de \
--to=r.hieber@pengutronix.de \
--cc=ptxdist@pengutronix.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox