Skip to contentSkip to conversation

package/php: explicitly disable phpdbg.

PATCH New Theo Debrouwere 3 participants 5 messages Sep 7, 2016 – Sep 8, 2016

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 package/php: explicitly disable phpdbg.

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

#1 lore raw

PATCH 1/1 package/php: explicitly disable phpdbg.

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

---
 package/php/php.mk | 2 ++
 1 file changed, 2 insertions(+)
package/php/php.mk +2 -0
index d7e27a1..a63a8df 100644
@@ -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)"
Signature · 1 line
2.8.1
#2 lore raw

PATCH 1/1 package/php: explicitly disable phpdbg.

Theo, All,

On 2016-09-07 17:43 +0200, Theo Debrouwere spake thusly:

Quoted 13 lines

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

---
 package/php/php.mk | 2 ++
 1 file changed, 2 insertions(+)
package/php/php.mk +0 -0
index d7e27a1..a63a8df 100644

package/php/php.mk PHP_CONF_OPTS = \ · line 22

Quoted 4 lines
package/php/php.mk +1 -0
@@ -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.

Quoted 12 lines
package/php/php.mk +1 -0
 	--disable-rpath
+
 PHP_CONF_ENV = \
 	ac_cv_func_strcasestr=yes \
 	EXTRA_LIBS="$(PHP_EXTRA_LIBS)"
Signature · 6 lines
2.8.1

_______________________________________________
buildroot mailing list
buildroot at busybox.net
http://lists.busybox.net/mailman/listinfo/buildroot
Signature · 6 lines
.-----------------.--------------------.------------------.--------------------.
|  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.  |
'------------------------------^-------^------------------^--------------------'
#3 lore raw

PATCH 1/1 package/php: explicitly disable phpdbg.

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

---
 package/php/php.mk | 1 +
 1 file changed, 1 insertion(+)
package/php/php.mk +1 -0
index d7e27a1..5d676e4 100644
@@ -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 \
Signature · 1 line
2.8.1
#4 lore raw

PATCH 1/1 package/php: explicitly disable phpdbg.

Hello,

Quoted 7 lines · Theo Debrouwere

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

---
 package/php/php.mk | 1 +
 1 file changed, 1 insertion(+)

Applied to master, thanks.

Thomas

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