From patchwork Tue Jan 8 12:06:21 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Yann E. MORIN" X-Patchwork-Id: 210354 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from whitealder.osuosl.org (whitealder.osuosl.org [140.211.166.138]) by ozlabs.org (Postfix) with ESMTP id E21772C0090 for ; Tue, 8 Jan 2013 23:07:12 +1100 (EST) Received: from localhost (localhost [127.0.0.1]) by whitealder.osuosl.org (Postfix) with ESMTP id 7E2298C798; Tue, 8 Jan 2013 12:07:11 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org X-Amavis-Alert: BAD HEADER SECTION, Duplicate header field: "References" Received: from whitealder.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id mzWbrX71S5yE; Tue, 8 Jan 2013 12:07:03 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by whitealder.osuosl.org (Postfix) with ESMTP id A386B8C8DD; Tue, 8 Jan 2013 12:07:01 +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 D736A8F753 for ; Tue, 8 Jan 2013 12:06:44 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by whitealder.osuosl.org (Postfix) with ESMTP id 9809D8AC18 for ; Tue, 8 Jan 2013 12:06:38 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org X-Amavis-Alert: BAD HEADER SECTION, Duplicate header field: "References" Received: from whitealder.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id K7wu9BePl8Vt for ; Tue, 8 Jan 2013 12:06:36 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from mail-bk0-f51.google.com (mail-bk0-f51.google.com [209.85.214.51]) by whitealder.osuosl.org (Postfix) with ESMTPS id 3BA0D8C8CE for ; Tue, 8 Jan 2013 12:06:35 +0000 (UTC) Received: by mail-bk0-f51.google.com with SMTP id ik5so190958bkc.10 for ; Tue, 08 Jan 2013 04:06:34 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=x-received:sender:from:to:cc:subject:date:message-id:x-mailer :in-reply-to:references:in-reply-to:references; bh=lCmndRgp14k+gNq38SfpQkMBP24ScyF8y5PeVwV+N+0=; b=b0/Y0zPHWWrHp0Moyov47gc1W4TvHqQs4hGMabIs5DQtsMjk50aR9SUbIYuL0QiYaw tv7sgan76/UoHUZWGQWY4xyHEQ3tUpM0m0TX7P9n58w7ZnmoVlC7dSkH2AB5kxFxju+l zSIFUm/vsPwf8tQo5XIUeUZ5vvohUcIvp4+cdLk1CdWt+e95kdBYKFbsr4MN0cvGcL4M zgaxVufnRQJ7OU/fA1UBQKTzw5hXxSx+HPqO4prGEl0wZORBJ3UXkP46AZ3rK32YbhkI B4s8B2h4pFs1v8uhPRClIek8n/yPtGh4Qnrg854jx+pHAINWAhYjjYDepOkBh/lV6p1u ozbA== X-Received: by 10.204.128.197 with SMTP id l5mr32664690bks.59.1357646794088; Tue, 08 Jan 2013 04:06:34 -0800 (PST) Received: from localhost.localdomain (ARennes-256-1-33-7.w90-32.abo.wanadoo.fr. [90.32.16.7]) by mx.google.com with ESMTPS id l17sm45156036bkw.12.2013.01.08.04.06.32 (version=TLSv1/SSLv3 cipher=OTHER); Tue, 08 Jan 2013 04:06:32 -0800 (PST) From: "Yann E. MORIN" To: buildroot@busybox.net Date: Tue, 8 Jan 2013 13:06:21 +0100 Message-Id: X-Mailer: git-send-email 1.7.2.5 In-Reply-To: References: In-Reply-To: References: Cc: Thomas Petazzoni , "Yann E. MORIN" Subject: [Buildroot] [PATCH 2/2] package/dvb-apps: requires iconv 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 Use libiconv if the toolchain does not have locales. Fixes (for example): http://autobuild.buildroot.net/results/c5776c95ac128f7c7eadc2fe746ad89f8c1ef49a Signed-off-by: "Yann E. MORIN" --- package/dvb-apps/Config.in | 1 + package/dvb-apps/dvb-apps.mk | 3 ++- 2 files changed, 3 insertions(+), 1 deletions(-) diff --git a/package/dvb-apps/Config.in b/package/dvb-apps/Config.in index ca8dc54..7f76330 100644 --- a/package/dvb-apps/Config.in +++ b/package/dvb-apps/Config.in @@ -14,6 +14,7 @@ comment "dvb-apps utils needs LARGEFILE support in the toolchain" config BR2_PACKAGE_DVB_APPS_UTILS bool "dvb-apps utilities" depends on BR2_LARGEFILE + select BR2_PACKAGE_LIBICONV if !BR2_ENABLE_LOCALE help A small number of DVB test and utility programs, including szap and dvbscan. diff --git a/package/dvb-apps/dvb-apps.mk b/package/dvb-apps/dvb-apps.mk index f914799..bf88c69 100644 --- a/package/dvb-apps/dvb-apps.mk +++ b/package/dvb-apps/dvb-apps.mk @@ -20,10 +20,11 @@ DVB_APPS_LICENSE = unknown (probably public domain) ifeq ($(BR2_PACKAGE_DVB_APPS_UTILS),y) # Utilitiess are selected, build and install everything +DVB_APPS_DEPENDENCIES = libiconv DVB_APPS_INSTALL_STAGING = YES define DVB_APPS_BUILD_CMDS - $(TARGET_CONFIGURE_OPTS) $(MAKE) -C $(@D) V=1 + $(TARGET_CONFIGURE_OPTS) LDFLAGS="$(TARGET_LDFLAGS) -liconv" $(MAKE) -C $(@D) V=1 endef define DVB_APPS_INSTALL_STAGING_CMDS