Browse Source

dependencies.sh: add perl autodie for whois

Add dependency on perl autodie if whois package is selected

Fixes:
 - http://autobuild.buildroot.net/results/4d2ca14580cbc73f94e86ee834fac6d2541298ec

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
Fabrice Fontaine 7 years ago
parent
commit
dc5553d2ce
1 changed files with 4 additions and 0 deletions
  1. 4 0
      support/dependencies/dependencies.sh

+ 4 - 0
support/dependencies/dependencies.sh

@@ -256,6 +256,10 @@ if grep -q ^BR2_PACKAGE_MPV=y $BR2_CONFIG ; then
     required_perl_modules="$required_perl_modules Math::BigRat"
 fi
 
+if grep -q ^BR2_PACKAGE_WHOIS=y $BR2_CONFIG ; then
+    required_perl_modules="$required_perl_modules autodie"
+fi
+
 # This variable will keep the modules that are missing in your system.
 missing_perl_modules=""