Skip to contentSkip to conversation

package/wireshark: properly guard sub-options

PATCH New Yann E. MORIN 2 participants 2 messages Oct 20, 2016

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 package/wireshark: properly guard sub-options

... otherwise we would end up forcefully enabling the linguist tool even when wireshark would not be enabled.

---
 package/wireshark/Config.in | 4 ++++
 1 file changed, 4 insertions(+)
package/wireshark/Config.in +4 -0
index b5a874b..c5b5c3e 100644
@@ -10,6 +10,8 @@ config BR2_PACKAGE_WIRESHARK
 
 	  https://www.wireshark.org
 
+if BR2_PACKAGE_WIRESHARK
+
 config BR2_PACKAGE_WIRESHARK_QT
 	bool
 	default y
@@ -23,6 +25,8 @@ config BR2_PACKAGE_WIRESHARK_GUI
 	default y if BR2_PACKAGE_LIBGTK3
 	default y if BR2_PACKAGE_WIRESHARK_QT
 
+endif # BR2_PACKAGE_WIRESHARK
+
 comment "wireshark needs a toolchain w/ wchar, threads"
 	depends on BR2_USE_MMU
 	depends on !BR2_USE_WCHAR || !BR2_TOOLCHAIN_HAS_THREADS
Signature · 1 line
2.7.4
#1 lore raw

PATCH 1/1 package/wireshark: properly guard sub-options

Hello,

Quoted 8 lines · Yann E. MORIN

... otherwise we would end up forcefully enabling the linguist tool even when wireshark would not be enabled.

---
 package/wireshark/Config.in | 4 ++++
 1 file changed, 4 insertions(+)

Applied to master, thanks.

Thomas

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