From patchwork Fri Feb 27 09:19:19 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Fabio Porcedda X-Patchwork-Id: 444226 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 8F5FB140111 for ; Fri, 27 Feb 2015 20:19:43 +1100 (AEDT) Authentication-Results: ozlabs.org; dkim=fail reason="verification failed; unprotected key" header.d=gmail.com header.i=@gmail.com header.b=dxjR3VCe; dkim-adsp=none (unprotected policy); dkim-atps=neutral Received: from localhost (localhost [127.0.0.1]) by whitealder.osuosl.org (Postfix) with ESMTP id D3B3492197; Fri, 27 Feb 2015 09:19:42 +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 d65anXunZnh6; Fri, 27 Feb 2015 09:19:39 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by whitealder.osuosl.org (Postfix) with ESMTP id E0F3592188; Fri, 27 Feb 2015 09:19:35 +0000 (UTC) X-Original-To: buildroot@lists.busybox.net Delivered-To: buildroot@osuosl.org Received: from fraxinus.osuosl.org (fraxinus.osuosl.org [140.211.166.137]) by ash.osuosl.org (Postfix) with ESMTP id 15DB71C21E0 for ; Fri, 27 Feb 2015 09:19:32 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by fraxinus.osuosl.org (Postfix) with ESMTP id 1131AA1F79 for ; Fri, 27 Feb 2015 09:19:32 +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 kN-YphaHsBZs for ; Fri, 27 Feb 2015 09:19:31 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from mail-wg0-f54.google.com (mail-wg0-f54.google.com [74.125.82.54]) by fraxinus.osuosl.org (Postfix) with ESMTPS id 6469CA1F35 for ; Fri, 27 Feb 2015 09:19:31 +0000 (UTC) Received: by wghk14 with SMTP id k14so18710850wgh.4 for ; Fri, 27 Feb 2015 01:19:30 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:subject:date:message-id:in-reply-to:references; bh=vbNEUGZlnb24MDgYcOTXX5mEEk7vojc0SyLduSVqR4g=; b=dxjR3VCeXsuLf+FEXc7h0Ki4YbIIxbTsAjgIrb22+2F5x8Z2Wi+dTUj5X1ygG+PgNv Eq0PTrgkL+DzNsQNwllMyVtUFdQF+Dx+Zo4+Vdkl3nsPL5dAYTuITIVVrxxwNaTD+SVZ BUZmV8Jpt5MKokU2yW6JuPkySsQbfw85CCuvbBTW84h+NgmHpeV/ovJkJC0q+asd+q/S ykSkCHYNcx+e7+wSksW/WLI0jhyyaqGdTunj+qGsJ98Lo1OW0bzVgP52vDVvwx47FHnR tBsIj5wPmPHBxhq3E4tui0Z1bR+5Jde+Q8IDIe+Bey0XnUQK1UmYzEdd6PU5kskWms1q eL8g== X-Received: by 10.180.109.33 with SMTP id hp1mr4376107wib.33.1425028770019; Fri, 27 Feb 2015 01:19:30 -0800 (PST) Received: from ld2077.tmt.telital.com ([213.205.6.118]) by mx.google.com with ESMTPSA id lu13sm1923525wic.10.2015.02.27.01.19.28 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Fri, 27 Feb 2015 01:19:29 -0800 (PST) From: Fabio Porcedda To: buildroot@uclibc.org Date: Fri, 27 Feb 2015 10:19:19 +0100 Message-Id: <1425028764-1146-3-git-send-email-fabio.porcedda@gmail.com> X-Mailer: git-send-email 2.3.0 In-Reply-To: <1425028764-1146-1-git-send-email-fabio.porcedda@gmail.com> References: <1425028764-1146-1-git-send-email-fabio.porcedda@gmail.com> Subject: [Buildroot] [PATCH 2/7] libxmlrpc: add missing braces for variable CURL_CONFIG in patch 4 X-BeenThere: buildroot@busybox.net X-Mailman-Version: 2.1.18-1 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" Change $CURL_CONFIG to $(CURL_CONFIG) in the patch 0004-use-correct-curl-config.patch because in a makefile the braces are required to expand a variable. Fix error messages: make[3]: Entering directory '/home/tetsuya/buildroot/br2/output/build/libxmlrpc-1.25.30/lib/curl_transport' make[3]: URL_CONFIG: Command not found /bin/sh: line 0: test: <: unary operator expected make[3]: URL_CONFIG: Command not found Signed-off-by: Fabio Porcedda --- package/libxmlrpc/0004-use-correct-curl-config.patch | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/package/libxmlrpc/0004-use-correct-curl-config.patch b/package/libxmlrpc/0004-use-correct-curl-config.patch index c0646d3..b581643 100644 --- a/package/libxmlrpc/0004-use-correct-curl-config.patch +++ b/package/libxmlrpc/0004-use-correct-curl-config.patch @@ -55,7 +55,7 @@ Index: b/lib/curl_transport/Makefile $(SRCDIR)/common.mk: srcdir blddir -CURL_VERSION := $(shell curl-config --vernum) -+CURL_VERSION := $(shell $CURL_CONFIG --vernum) ++CURL_VERSION := $(shell $(CURL_CONFIG) --vernum) # Some time at or before Curl 7.12, became an empty file # (no-op). Some time after Curl 7.18, ceased to exist. @@ -64,7 +64,7 @@ Index: b/lib/curl_transport/Makefile endif -CURL_INCLUDES := $(shell curl-config --cflags) -+CURL_INCLUDES := $(shell $CURL_CONFIG --cflags) ++CURL_INCLUDES := $(shell $(CURL_CONFIG) --cflags) # We expect that curl-config --cflags just gives us -I options, because # we need just the -I options for 'make dep'. Plus, it's scary to think # of what any other compiler flag would do to our compile. @@ -77,7 +77,7 @@ Index: b/src/cpp/test/Makefile ifeq ($(MUST_BUILD_CURL_CLIENT),yes) - LIBS += $(shell curl-config --libs) -+ LIBS += $(shell $CURL_CONFIG --libs) ++ LIBS += $(shell $(CURL_CONFIG) --libs) endif ifeq ($(MUST_BUILD_LIBWWW_CLIENT),yes) LIBS += $(shell libwww-config --libs) @@ -90,7 +90,7 @@ Index: b/tools/common.mk endif ifeq ($(MUST_BUILD_CURL_CLIENT),yes) - CLIENT_LDLIBS += $(shell curl-config --libs) -+ CLIENT_LDLIBS += $(shell $CURL_CONFIG --libs) ++ CLIENT_LDLIBS += $(shell $(CURL_CONFIG) --libs) endif ifeq ($(MUST_BUILD_WININET_CLIENT),yes) CLIENT_LDLIBS += $(shell wininet-config --libs)