From patchwork Sat Oct 6 13:53:46 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: [v9,03/10] perl: add DB_File Date: Sat, 06 Oct 2012 03:53:46 -0000 From: Francois Perrad X-Patchwork-Id: 189703 Message-Id: <1349531633-26717-3-git-send-email-francois.perrad@gadz.org> To: buildroot@busybox.net Signed-off-by: Francois Perrad --- package/perl/Config.in | 10 ++++++++++ package/perl/perl.mk | 4 ++++ 2 files changed, 14 insertions(+) diff --git a/package/perl/Config.in b/package/perl/Config.in index 096159f..9a13223 100644 --- a/package/perl/Config.in +++ b/package/perl/Config.in @@ -15,5 +15,15 @@ config BR2_PACKAGE_PERL http://www.perl.org/ +if BR2_PACKAGE_PERL + +config BR2_PACKAGE_PERL_DB_FILE + bool "DB_File" + select BR2_PACKAGE_BERKELEYDB + help + Build the DB_File module. + +endif + comment "perl requires an architecture supported by qemu" depends on BR2_avr32 || BR2_bfin || BR2_sh2 || BR2_sh2a || BR2_sh3 || BR2_sh3eb || BR2_sh64 diff --git a/package/perl/perl.mk b/package/perl/perl.mk index b29e99f..fbaba54 100644 --- a/package/perl/perl.mk +++ b/package/perl/perl.mk @@ -11,7 +11,11 @@ PERL_SOURCE = perl-$(PERL_VERSION).tar.bz2 PERL_LICENSE = Artistic PERL_LICENSE_FILES = Artistic PERL_INSTALL_STAGING = YES + PERL_DEPENDENCIES = host-qemu +ifeq ($(BR2_PACKAGE_BERKELEYDB),y) + PERL_DEPENDENCIES += berkeleydb +endif PERL_CONF_OPT = -des \ -Dusecrosscompile \