dependencies.sh: add perl autodie for whois
authorFabrice Fontaine <fontaine.fabrice@gmail.com>
Tue, 5 Jun 2018 18:13:47 +0000 (20:13 +0200)
committerThomas Petazzoni <thomas.petazzoni@bootlin.com>
Tue, 5 Jun 2018 20:20:18 +0000 (22:20 +0200)
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>
support/dependencies/dependencies.sh

index f98678973b3116287703498f7ac591d457f7327c..e570a9ee1a4bc74cb933b68101218d6d54ea4e63 100755 (executable)
@@ -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=""