From patchwork Fri Sep 21 21:38:58 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Francois Perrad X-Patchwork-Id: 185937 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from hemlock.osuosl.org (hemlock.osuosl.org [140.211.166.133]) by ozlabs.org (Postfix) with ESMTP id 67FD02C007C for ; Sat, 22 Sep 2012 07:39:43 +1000 (EST) Received: from localhost (localhost [127.0.0.1]) by hemlock.osuosl.org (Postfix) with ESMTP id 2CBA4A02B2; Fri, 21 Sep 2012 21:39:41 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from hemlock.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id wGf0v5+B-6qp; Fri, 21 Sep 2012 21:39:39 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by hemlock.osuosl.org (Postfix) with ESMTP id 324C2A054C; Fri, 21 Sep 2012 21:39:39 +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 08A178F74A for ; Fri, 21 Sep 2012 21:39:38 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by whitealder.osuosl.org (Postfix) with ESMTP id 45E818A9E6 for ; Fri, 21 Sep 2012 21:39:36 +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 RWYOSbMycLTM for ; Fri, 21 Sep 2012 21:39:34 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from mail-wi0-f181.google.com (mail-wi0-f181.google.com [209.85.212.181]) by whitealder.osuosl.org (Postfix) with ESMTPS id A8AB58D07D for ; Fri, 21 Sep 2012 21:39:33 +0000 (UTC) Received: by wibhm2 with SMTP id hm2so1920020wib.10 for ; Fri, 21 Sep 2012 14:39:31 -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=tRRaEdr/kTqbWi6DJS8U2cEga6dLpQFfWWMl8VzR31w=; b=gvB1AThLq/bzDwV3h3bfXd3ml7OE9Py01Af7swjNhl6R0xu42za1x/CyhUENxp8Zcv q7H5PxIiNm5gYXSksxifEc2zQHub4DnObeBlPocHMk4DtYLJ1T2KmuWtVE9XEy51aEC3 Ww4aTfpTDXVp+ir9dnDLyLm4Az2KmdXuW9D+bMpWpObEDZySLUecWwcOjc92GPtTkVKK H786NCiUYUPicx3zYho4793RTkJjsvFbERO6KJcaDIHCpBpESLl97A4aZI3TSPgBavyV necAP2z+bb/X76uLmqwoIMQRywFDqD8dDhcrB4RUQO50CRaswjOxzCez8F57/cQ4iiga csiQ== Received: by 10.216.212.225 with SMTP id y75mr3482037weo.39.1348263571894; Fri, 21 Sep 2012 14:39:31 -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 w7sm109925wiz.0.2012.09.21.14.39.30 (version=TLSv1/SSLv3 cipher=OTHER); Fri, 21 Sep 2012 14:39:31 -0700 (PDT) From: Francois Perrad To: buildroot@busybox.net Date: Fri, 21 Sep 2012 23:38:58 +0200 Message-Id: <1348263548-12975-3-git-send-email-francois.perrad@gadz.org> X-Mailer: git-send-email 1.7.9.5 In-Reply-To: <1348263548-12975-1-git-send-email-francois.perrad@gadz.org> References: <1348263548-12975-1-git-send-email-francois.perrad@gadz.org> Subject: [Buildroot] [PATCH v7 03/13] 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 | 5 +++++ 2 files changed, 15 insertions(+) diff --git a/package/perl/Config.in b/package/perl/Config.in index e4263d1..2e627da 100644 --- a/package/perl/Config.in +++ b/package/perl/Config.in @@ -16,3 +16,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 134d947..aca5fb0 100644 --- a/package/perl/perl.mk +++ b/package/perl/perl.mk @@ -12,6 +12,11 @@ PERL_LICENSE = Artistic PERL_LICENSE_FILES = Artistic PERL_INSTALL_STAGING = YES +ifeq ($(BR2_PACKAGE_PERL_DB_FILE),y) + PERL_DEPENDENCIES += berkeleydb +endif +HOST_PERL_DEPENDENCIES = + ifeq ($(shell expr $(PERL_VERSION_MAJOR) % 2), 1) PERL_USE_DEVEL=-Dusedevel endif