Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [PATCH] package/php: explicitly disable phpdbg.
@ 2016-09-07 15:43 Theo Debrouwere
  2016-09-07 15:43 ` Theo Debrouwere
  0 siblings, 1 reply; 5+ messages in thread
From: Theo Debrouwere @ 2016-09-07 15:43 UTC (permalink / raw)
  To: buildroot

Hi,

I noticed that the php package now build & installs phpdbg.
In my setup, this is not necessary & even unwanted.

The patch disables building phpdbg.

Theo

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

* [Buildroot] [PATCH] package/php: explicitly disable phpdbg.
  2016-09-07 15:43 [Buildroot] [PATCH] package/php: explicitly disable phpdbg Theo Debrouwere
@ 2016-09-07 15:43 ` Theo Debrouwere
  2016-09-07 17:16   ` Yann E. MORIN
  0 siblings, 1 reply; 5+ messages in thread
From: Theo Debrouwere @ 2016-09-07 15:43 UTC (permalink / raw)
  To: buildroot

When building php, the package will also build/install phpdbg.
This patch explicitly disables this behaviour.

Signed-off-by: Theo Debrouwere <tdebrouwere@televic.com>
---
 package/php/php.mk | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/package/php/php.mk b/package/php/php.mk
index d7e27a1..a63a8df 100644
--- a/package/php/php.mk
+++ b/package/php/php.mk
@@ -19,7 +19,9 @@ PHP_CONF_OPTS = \
 	--disable-all \
 	--without-pear \
 	--with-config-file-path=/etc \
+	--enable-phpdbg=no \
 	--disable-rpath
+
 PHP_CONF_ENV = \
 	ac_cv_func_strcasestr=yes \
 	EXTRA_LIBS="$(PHP_EXTRA_LIBS)"
-- 
2.8.1

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

* [Buildroot] [PATCH] package/php: explicitly disable phpdbg.
  2016-09-07 15:43 ` Theo Debrouwere
@ 2016-09-07 17:16   ` Yann E. MORIN
  2016-09-08  7:53     ` Theo Debrouwere
  0 siblings, 1 reply; 5+ messages in thread
From: Yann E. MORIN @ 2016-09-07 17:16 UTC (permalink / raw)
  To: buildroot

Theo, All,

On 2016-09-07 17:43 +0200, Theo Debrouwere spake thusly:
> When building php, the package will also build/install phpdbg.
> This patch explicitly disables this behaviour.
> 
> Signed-off-by: Theo Debrouwere <tdebrouwere@televic.com>
> ---
>  package/php/php.mk | 2 ++
>  1 file changed, 2 insertions(+)
> 
> diff --git a/package/php/php.mk b/package/php/php.mk
> index d7e27a1..a63a8df 100644
> --- a/package/php/php.mk
> +++ b/package/php/php.mk
> @@ -19,7 +19,9 @@ PHP_CONF_OPTS = \
>  	--disable-all \
>  	--without-pear \
>  	--with-config-file-path=/etc \
> +	--enable-phpdbg=no \

To disable options, we use the --disable variant.

Otherwise, looks good. Thanks!

Regards,
Yann E. MORIN.

>  	--disable-rpath
> +
>  PHP_CONF_ENV = \
>  	ac_cv_func_strcasestr=yes \
>  	EXTRA_LIBS="$(PHP_EXTRA_LIBS)"
> -- 
> 2.8.1
> 
> _______________________________________________
> buildroot mailing list
> buildroot at busybox.net
> http://lists.busybox.net/mailman/listinfo/buildroot

-- 
.-----------------.--------------------.------------------.--------------------.
|  Yann E. MORIN  | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: |
| +33 662 376 056 | Software  Designer | \ / CAMPAIGN     |  ___               |
| +33 223 225 172 `------------.-------:  X  AGAINST      |  \e/  There is no  |
| http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL    |   v   conspiracy.  |
'------------------------------^-------^------------------^--------------------'

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

* [Buildroot] [PATCH] package/php: explicitly disable phpdbg.
  2016-09-07 17:16   ` Yann E. MORIN
@ 2016-09-08  7:53     ` Theo Debrouwere
  2016-09-08 19:59       ` Thomas Petazzoni
  0 siblings, 1 reply; 5+ messages in thread
From: Theo Debrouwere @ 2016-09-08  7:53 UTC (permalink / raw)
  To: buildroot

When building php, the package will also build/install phpdbg.
This patch explicitly disables this behaviour.

Signed-off-by: Theo Debrouwere <t.debrouwere@televic.com>
---
 package/php/php.mk | 1 +
 1 file changed, 1 insertion(+)

diff --git a/package/php/php.mk b/package/php/php.mk
index d7e27a1..5d676e4 100644
--- a/package/php/php.mk
+++ b/package/php/php.mk
@@ -19,6 +19,7 @@ PHP_CONF_OPTS = \
 	--disable-all \
 	--without-pear \
 	--with-config-file-path=/etc \
+	--disable-phpdbg \
 	--disable-rpath
 PHP_CONF_ENV = \
 	ac_cv_func_strcasestr=yes \
-- 
2.8.1

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

* [Buildroot] [PATCH] package/php: explicitly disable phpdbg.
  2016-09-08  7:53     ` Theo Debrouwere
@ 2016-09-08 19:59       ` Thomas Petazzoni
  0 siblings, 0 replies; 5+ messages in thread
From: Thomas Petazzoni @ 2016-09-08 19:59 UTC (permalink / raw)
  To: buildroot

Hello,

On Thu,  8 Sep 2016 09:53:09 +0200, Theo Debrouwere wrote:
> When building php, the package will also build/install phpdbg.
> This patch explicitly disables this behaviour.
> 
> Signed-off-by: Theo Debrouwere <t.debrouwere@televic.com>
> ---
>  package/php/php.mk | 1 +
>  1 file changed, 1 insertion(+)

Applied to master, thanks.

Thomas
-- 
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com

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

end of thread, other threads:[~2016-09-08 19:59 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-09-07 15:43 [Buildroot] [PATCH] package/php: explicitly disable phpdbg Theo Debrouwere
2016-09-07 15:43 ` Theo Debrouwere
2016-09-07 17:16   ` Yann E. MORIN
2016-09-08  7:53     ` Theo Debrouwere
2016-09-08 19:59       ` Thomas Petazzoni

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