diff mbox

package/php: explicitly disable phpdbg.

Message ID 1473263026-14588-2-git-send-email-theo.debrouwere@skynet.be
State Superseded
Headers show

Commit Message

Theo Debrouwere Sept. 7, 2016, 3:43 p.m. UTC
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(+)

Comments

Yann E. MORIN Sept. 7, 2016, 5:16 p.m. UTC | #1
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@busybox.net
> http://lists.busybox.net/mailman/listinfo/buildroot
diff mbox

Patch

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)"