From patchwork Fri Oct 19 13:13:48 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Francois Perrad X-Patchwork-Id: 192685 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from fraxinus.osuosl.org (fraxinus.osuosl.org [140.211.166.137]) by ozlabs.org (Postfix) with ESMTP id EC8132C008E for ; Sat, 20 Oct 2012 00:15:42 +1100 (EST) Received: from localhost (localhost [127.0.0.1]) by fraxinus.osuosl.org (Postfix) with ESMTP id A9DF710B8F1; Fri, 19 Oct 2012 13:15:37 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from fraxinus.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id rwB5mIvLVdqU; Fri, 19 Oct 2012 13:15:28 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by fraxinus.osuosl.org (Postfix) with ESMTP id 9CD5A10B8BD; Fri, 19 Oct 2012 13:15:22 +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 4D2A78F74A for ; Fri, 19 Oct 2012 13:15:26 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by whitealder.osuosl.org (Postfix) with ESMTP id 2886A8D496 for ; Fri, 19 Oct 2012 13:15:23 +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 vI6n351q39qM for ; Fri, 19 Oct 2012 13:15:19 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from mail-wg0-f41.google.com (mail-wg0-f41.google.com [74.125.82.41]) by whitealder.osuosl.org (Postfix) with ESMTPS id B41978D0E4 for ; Fri, 19 Oct 2012 13:15:18 +0000 (UTC) Received: by mail-wg0-f41.google.com with SMTP id ds1so117765wgb.4 for ; Fri, 19 Oct 2012 06:15:17 -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=kT9KpWDHDdhbYXJzh3itCimJtNpxgUDHHwwmeB6SL24=; b=fhsh7N7htweqkteKi+TYIq6VrdOhrdBQ2LuHJGS95fuc6c9fi9yTNHnHRT58KpdRa6 NShZAaJ1K54I7vErq3NPmNy+RafqmTk9KGdF+LIVfSKAig2yXHHoVwVvyxsqIUFV3WVy qpVmAfgX+VckvNBPg5dnzwcM3KAe/XbA5LWxXhUUnwWQz/ARAhO2gsuPZ1IdQzyy97vA 1nvRTKIEz3sHwA3HsWu7MisF10ti7pXwLRdhbfVV9jNnu8TkpmgJdJdhJWfiZrfwUo/c hVID3/4at+GEFoyU1x25QnMjfqffB1DYUdMC4yO4U6dPnu5R9h3WPUBkQYD4LisTXJmw BQCQ== Received: by 10.216.201.24 with SMTP id a24mr809022weo.102.1350652514997; Fri, 19 Oct 2012 06:15:14 -0700 (PDT) Received: from xubuntu-12.04 (206.124.86.79.rev.sfr.net. [79.86.124.206]) by mx.google.com with ESMTPS id a10sm3390455wiz.4.2012.10.19.06.15.13 (version=TLSv1/SSLv3 cipher=OTHER); Fri, 19 Oct 2012 06:15:14 -0700 (PDT) From: Francois Perrad To: buildroot@busybox.net Date: Fri, 19 Oct 2012 15:13:48 +0200 Message-Id: <1350652434-32020-3-git-send-email-francois.perrad@gadz.org> X-Mailer: git-send-email 1.7.9.5 In-Reply-To: <1350652434-32020-1-git-send-email-francois.perrad@gadz.org> References: <1350652434-32020-1-git-send-email-francois.perrad@gadz.org> Subject: [Buildroot] [PATCH v11 3/9] 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 0a41a97..6cb89f0 100644 --- a/package/perl/Config.in +++ b/package/perl/Config.in @@ -14,5 +14,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 7ac1aed..186158b 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 \