[Buildroot] [PATCH 14/14] perl: add GDBM_File

Francois Perrad fperrad at gmail.com
Sat Sep 1 07:25:32 UTC 2012


Signed-off-by: Francois Perrad <francois.perrad at gadz.org>
---
 package/perl/Config.in |    6 ++++++
 package/perl/perl.mk   |    3 +++
 2 files changed, 9 insertions(+)

diff --git a/package/perl/Config.in b/package/perl/Config.in
index 9df487a..8a042cc 100644
--- a/package/perl/Config.in
+++ b/package/perl/Config.in
@@ -26,4 +26,10 @@ config BR2_PACKAGE_PERL_DB_FILE
 	help
 	  Build the DB_File module.
 
+config BR2_PACKAGE_PERL_GDBM_FILE
+	bool "GDBM_File"
+	select BR2_PACKAGE_GDBM
+	help
+	  Build the GDBM_File module.
+
 endif
diff --git a/package/perl/perl.mk b/package/perl/perl.mk
index 7785322..b5dd4bd 100644
--- a/package/perl/perl.mk
+++ b/package/perl/perl.mk
@@ -15,6 +15,9 @@ PERL_INSTALL_STAGING = YES
 ifdef BR2_PACKAGE_PERL_DB_FILE
     PERL_DEPENDENCIES += berkeleydb
 endif
+ifdef BR2_PACKAGE_PERL_GDBM_FILE
+    PERL_DEPENDENCIES += gdbm
+endif
 HOST_PERL_DEPENDENCIES =
 
 ifeq ($(shell expr $(PERL_VERSION_MAJOR) % 2), 1)
-- 
1.7.9.5



More information about the buildroot mailing list