From patchwork Tue Sep 25 17:18:20 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Francois Perrad X-Patchwork-Id: 186863 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from silver.osuosl.org (silver.osuosl.org [140.211.166.136]) by ozlabs.org (Postfix) with ESMTP id EC9482C007C for ; Wed, 26 Sep 2012 03:19:32 +1000 (EST) Received: from localhost (localhost [127.0.0.1]) by silver.osuosl.org (Postfix) with ESMTP id 7E59130D8B; Tue, 25 Sep 2012 17:19:31 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from silver.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id DVQZCem0uwLT; Tue, 25 Sep 2012 17:19:25 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by silver.osuosl.org (Postfix) with ESMTP id 1321825599; Tue, 25 Sep 2012 17:19:11 +0000 (UTC) X-Original-To: buildroot@lists.busybox.net Delivered-To: buildroot@osuosl.org Received: from whitealder.osuosl.org (whitealder.osuosl.org [140.211.166.138]) by ash.osuosl.org (Postfix) with ESMTP id C477A8F74B for ; Tue, 25 Sep 2012 17:19:06 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by whitealder.osuosl.org (Postfix) with ESMTP id D6A6F80569 for ; Tue, 25 Sep 2012 17:19:04 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from whitealder.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id rQFzqhRiXzjG for ; Tue, 25 Sep 2012 17:19:02 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from mail-we0-f171.google.com (mail-we0-f171.google.com [74.125.82.171]) by whitealder.osuosl.org (Postfix) with ESMTPS id 85F6D8033E for ; Tue, 25 Sep 2012 17:19:02 +0000 (UTC) Received: by weys43 with SMTP id s43so3324497wey.16 for ; Tue, 25 Sep 2012 10:19:00 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:subject:date:message-id:x-mailer:in-reply-to:references; bh=jQK49/9PyZtkQNlScHvVbPXnu/JzSsmRzmYubRSyqHk=; b=ZKVfxNVk5i0lXoSdOIMT4dZkHPFdlIUp/2a8EfajzszBs12qLX845bLzN30H7NU2RG LDyIsWHSluhBBT7Z5AIqruBJE+VmjQQzSwNwwzMqXOefL18RZhze0sEmkKKBQ2P7bMjP NWjQTYka4s3dLX1ZbZOQksSp4hqft5U19ys8iU0tLp6dCGhDdqK0n01Ervqu9p15X7x6 PojyF6tlRvz1To/UkKQq9ot2brVxLG2tmaB/rdLf3pNy6T8mJa0+n7xhJKtLGxLoIZUp rzcneFMi+kks+9Ugft/mxdZWxTmYgP8CyJUawad6JlG3va2b5XqqHx3RbO0Y024Oq1zP 2c2Q== Received: by 10.180.105.6 with SMTP id gi6mr23299645wib.4.1348593540756; Tue, 25 Sep 2012 10:19:00 -0700 (PDT) Received: from xubuntu-12.04 (15.119.86.79.rev.sfr.net. [79.86.119.15]) by mx.google.com with ESMTPS id dm3sm1642608wib.3.2012.09.25.10.18.59 (version=TLSv1/SSLv3 cipher=OTHER); Tue, 25 Sep 2012 10:19:00 -0700 (PDT) From: Francois Perrad To: buildroot@busybox.net Date: Tue, 25 Sep 2012 19:18:20 +0200 Message-Id: <1348593508-14254-4-git-send-email-francois.perrad@gadz.org> X-Mailer: git-send-email 1.7.9.5 In-Reply-To: <1348593508-14254-1-git-send-email-francois.perrad@gadz.org> References: <1348593508-14254-1-git-send-email-francois.perrad@gadz.org> Subject: [Buildroot] [PATCH v8 04/11] perl: add DB_File X-BeenThere: buildroot@busybox.net X-Mailman-Version: 2.1.14 Precedence: list List-Id: Discussion and development of buildroot List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Errors-To: buildroot-bounces@busybox.net Sender: buildroot-bounces@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 3e11574..e0dbbdf 100644 --- a/package/perl/Config.in +++ b/package/perl/Config.in @@ -17,3 +17,13 @@ config BR2_PACKAGE_PERL_ONLY_MINIPERL Usually used to bootstrap a full Perl (@INC contains only .). endif + +if BR2_PACKAGE_PERL && !BR2_PACKAGE_PERL_ONLY_MINIPERL + +config BR2_PACKAGE_PERL_DB_FILE + bool "DB_File" + select BR2_PACKAGE_BERKELEYDB + help + Build the DB_File module. + +endif diff --git a/package/perl/perl.mk b/package/perl/perl.mk index 8f7ba15..0c69e0b 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_PERL_DB_FILE),y) + PERL_DEPENDENCIES += berkeleydb +endif ifeq ($(shell expr $(PERL_VERSION_MAJOR) % 2), 1) PERL_USE_DEVEL=-Dusedevel