From patchwork Thu May 3 13:25:37 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Gustavo Zacarias X-Patchwork-Id: 156699 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 02D15B6FA7 for ; Thu, 3 May 2012 23:25:50 +1000 (EST) Received: from localhost (localhost [127.0.0.1]) by silver.osuosl.org (Postfix) with ESMTP id 302C225F2F; Thu, 3 May 2012 13:25:49 +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 4wRgQGOt6PJo; Thu, 3 May 2012 13:25:47 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by silver.osuosl.org (Postfix) with ESMTP id 0040A3201D; Thu, 3 May 2012 13:25:46 +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 1D86B8F753 for ; Thu, 3 May 2012 13:25:46 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by whitealder.osuosl.org (Postfix) with ESMTP id F290A80569 for ; Thu, 3 May 2012 13:25:45 +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 El8TUe5eztPl for ; Thu, 3 May 2012 13:25:44 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from loknar.toptech.com.ar (loknar.toptech.com.ar [74.118.36.95]) by whitealder.osuosl.org (Postfix) with ESMTPS id 58DD4805BE for ; Thu, 3 May 2012 13:25:44 +0000 (UTC) Received: from asgard (host105.190-136-216.telecom.net.ar [190.136.216.105]) (authenticated bits=0) by loknar.toptech.com.ar (8.14.4/8.14.4) with ESMTP id q43DPde1014437 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Thu, 3 May 2012 10:25:41 -0300 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=zacarias.com.ar; s=dkey; t=1336051542; bh=CtgvcHOStTCYo7uNQoofhyIQotG7+euR5wQNyZaWrbo=; h=From:To:Cc:Subject:Date:Message-Id; b=JWze/ccG5ND8AmKMq1AUroBE/7Wzx1FG54izZ3y+cC0hdGZJYJZ9pbo6xYLz6/WFD k6nKEVLlPHn7rTn9VBWGOmF0zASumgBl+w6xXhCff2lMafeGBs8Aeo1p4dApzDQcmh mYRc1MopZem2DPgOnNHg8uzt5vacMigbVbSBdSt0= Received: by asgard (sSMTP sendmail emulation); Thu, 03 May 2012 10:25:38 -0300 From: Gustavo Zacarias To: buildroot@busybox.net Date: Thu, 3 May 2012 10:25:37 -0300 Message-Id: <1336051537-10676-1-git-send-email-gustavo@zacarias.com.ar> X-Mailer: git-send-email 1.7.3.4 X-Virus-Scanned: clamav-milter 0.97.3 at loknar X-Virus-Status: Clean Subject: [Buildroot] [PATCH] ushare: needs libintl if NLS is enabled 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: Gustavo Zacarias --- package/ushare/Config.in | 2 ++ package/ushare/ushare.mk | 7 ++++++- 2 files changed, 8 insertions(+), 1 deletions(-) diff --git a/package/ushare/Config.in b/package/ushare/Config.in index a714fa0..acf025f 100644 --- a/package/ushare/Config.in +++ b/package/ushare/Config.in @@ -2,6 +2,8 @@ config BR2_PACKAGE_USHARE bool "ushare" depends on BR2_LARGEFILE select BR2_PACKAGE_LIBUPNP + select BR2_PACKAGE_GETTEXT if BR2_NEEDS_GETTEXT_IF_LOCALE + select BR2_PACKAGE_LIBINTL if BR2_NEEDS_GETTEXT_IF_LOCALE help uShare is a UPnP (TM) A/V & DLNA Media Server. It implements the server component that provides UPnP media devices diff --git a/package/ushare/ushare.mk b/package/ushare/ushare.mk index ac8cbc3..5421d8a 100644 --- a/package/ushare/ushare.mk +++ b/package/ushare/ushare.mk @@ -9,6 +9,11 @@ USHARE_SOURCE = ushare-$(USHARE_VERSION).tar.bz2 USHARE_SITE = http://ushare.geexbox.org/releases USHARE_DEPENDENCIES = host-pkg-config libupnp +ifeq ($(BR2_NEEDS_GETTEXT_IF_LOCALE),y) +USHARE_DEPENDENCIES += gettext libintl +USHARE_LDFLAGS += -lintl +endif + define USHARE_CONFIGURE_CMDS (cd $(@D); \ $(TARGET_CONFIGURE_OPTS) \ @@ -19,7 +24,7 @@ define USHARE_CONFIGURE_CMDS endef define USHARE_BUILD_CMDS - $(MAKE) -C $(@D) + $(MAKE) LDFLAGS="$(TARGET_LDFLAGS) $(USHARE_LDFLAGS)" -C $(@D) endef define USHARE_INSTALL_TARGET_CMDS