From patchwork Thu Feb 7 13:48:35 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ignacy Gawedzki X-Patchwork-Id: 218931 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 062172C0291 for ; Fri, 8 Feb 2013 00:49:32 +1100 (EST) Received: from localhost (localhost [127.0.0.1]) by fraxinus.osuosl.org (Postfix) with ESMTP id 6875BFFC18; Thu, 7 Feb 2013 13:49:18 +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 nEtbMwkq4tyj; Thu, 7 Feb 2013 13:49:15 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by fraxinus.osuosl.org (Postfix) with ESMTP id 7CEF0101BCC; Thu, 7 Feb 2013 13:48:28 +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 2070A8F753 for ; Thu, 7 Feb 2013 13:48:47 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by whitealder.osuosl.org (Postfix) with ESMTP id A93D68BFD9 for ; Thu, 7 Feb 2013 13:48:39 +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 fYWhwoiD6y6Z for ; Thu, 7 Feb 2013 13:48:39 +0000 (UTC) X-Greylist: from auto-whitelisted by SQLgrey-1.7.6 Received: from qult.net (unknown [78.193.33.39]) by whitealder.osuosl.org (Postfix) with ESMTPS id EDCD68C1DB for ; Thu, 7 Feb 2013 13:48:38 +0000 (UTC) Received: from zenon.in.qult.net ([192.168.128.3]) by qult.net with esmtpsa (TLS1.2:DHE_RSA_AES_128_CBC_SHA1:128) (Exim 4.80) (envelope-from ) id 1U3Rq8-0005Nj-VQ for buildroot@busybox.net; Thu, 07 Feb 2013 14:48:37 +0100 Received: from ig by zenon.in.qult.net with local (Exim 4.80) (envelope-from ) id 1U3Rq7-0006MY-3j for buildroot@busybox.net; Thu, 07 Feb 2013 14:48:35 +0100 Date: Thu, 7 Feb 2013 14:48:35 +0100 From: Ignacy Gawedzki To: buildroot@busybox.net Message-ID: <20130207134835.GA23603@zenon.in.qult.net> MIME-Version: 1.0 Content-Disposition: inline User-Agent: Mutt/1.5.21 (2010-09-15) Subject: [Buildroot] [PATCH] boost: Pass staging dir to --with-icu option. 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: , Errors-To: buildroot-bounces@busybox.net Sender: buildroot-bounces@busybox.net When using the --with-icu option without specifying the directory, boost's bootstrap.sh script will look at "common" locations (lines 289-294): COMMON_ICU_PATHS="/usr /usr/local /sw" for p in $COMMON_ICU_PATHS; do if test -r $p/include/unicode/utypes.h; then ICU_ROOT=$p fi done With buildroot it may surely become problematic at some point. --- package/boost/boost.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package/boost/boost.mk b/package/boost/boost.mk index 5e1bb4e..a202848 100644 --- a/package/boost/boost.mk +++ b/package/boost/boost.mk @@ -39,7 +39,7 @@ BOOST_WITHOUT_FLAGS += $(if $(BR2_PACKAGE_BOOST_TIMER),,timer) BOOST_WITHOUT_FLAGS += $(if $(BR2_PACKAGE_BOOST_WAVE),,wave) ifeq ($(BR2_PACKAGE_ICU),y) -BOOST_FLAGS += --with-icu +BOOST_FLAGS += --with-icu=$(STAGING_DIR)/usr BOOST_DEPENDENCIES += icu else BOOST_FLAGS += --without-icu