From patchwork Sat Oct 6 13:53:46 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Francois Perrad X-Patchwork-Id: 189703 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 335BD2C032E for ; Sat, 6 Oct 2012 23:54:42 +1000 (EST) Received: from localhost (localhost [127.0.0.1]) by hemlock.osuosl.org (Postfix) with ESMTP id 82118A0334; Sat, 6 Oct 2012 13:54: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 9fkCESyv-mEo; Sat, 6 Oct 2012 13:54:34 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by hemlock.osuosl.org (Postfix) with ESMTP id 423EFA034A; Sat, 6 Oct 2012 13:54:15 +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 E136E8F74B for ; Sat, 6 Oct 2012 13:54:13 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by whitealder.osuosl.org (Postfix) with ESMTP id 6D00E8306E for ; Sat, 6 Oct 2012 13:54:11 +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 Zz3JVkywOEFg for ; Sat, 6 Oct 2012 13:54:09 +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 C831A82601 for ; Sat, 6 Oct 2012 13:54:08 +0000 (UTC) Received: by mail-we0-f171.google.com with SMTP id s43so2291866wey.16 for ; Sat, 06 Oct 2012 06:54:07 -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=LiDhNkA2HbAjT20PU7JDTcMO7tpYhv401dyTildY0MQ=; b=hGBb4/oaUIPZgJZh9cNct8dggyplwve9+tE2ckdzFNebCJv4oCbzL7KEKMmRz3Kgmi 71lBWt7zyQ3USGOVHTX/8yC5VcieEUpJCgSD2eC58T99R9g9KDQ+NfZHf8BD7ZIq55uQ WP5AoC52umg1dO8Lm1OwiInXkN4Xz5z6ZIIKQv7A90fCURGKptFZJlL5nkY8gdnRkTbI gtzAmihgzuk/tUWPvCBb1bkUtgO/xK4nzGSUrPwW1Afj3G9bHtbWFm7kwa2yAtyufLcu K6a6kQ9B4uinY2cuu7fMX1DMrH3Fz+apMBMk95fBedAeP3eWlCrEK2UeSCU9S+rKW1HH 1Ttw== Received: by 10.216.226.216 with SMTP id b66mr7057350weq.155.1349531646983; Sat, 06 Oct 2012 06:54:06 -0700 (PDT) Received: from xubuntu-12.04 (95.151.93.79.rev.sfr.net. [79.93.151.95]) by mx.google.com with ESMTPS id cu1sm8327350wib.6.2012.10.06.06.54.05 (version=TLSv1/SSLv3 cipher=OTHER); Sat, 06 Oct 2012 06:54:06 -0700 (PDT) From: Francois Perrad To: buildroot@busybox.net Date: Sat, 6 Oct 2012 15:53:46 +0200 Message-Id: <1349531633-26717-3-git-send-email-francois.perrad@gadz.org> X-Mailer: git-send-email 1.7.9.5 In-Reply-To: <1349531633-26717-1-git-send-email-francois.perrad@gadz.org> References: <1349531633-26717-1-git-send-email-francois.perrad@gadz.org> Subject: [Buildroot] [PATCH v9 03/10] 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 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 \