From patchwork Tue Mar 3 09:17:21 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Fabio Porcedda X-Patchwork-Id: 445600 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 E45861400DE for ; Tue, 3 Mar 2015 20:18:40 +1100 (AEDT) Authentication-Results: ozlabs.org; dkim=fail reason="verification failed; unprotected key" header.d=gmail.com header.i=@gmail.com header.b=UeaIGN1+; dkim-adsp=none (unprotected policy); dkim-atps=neutral Received: from localhost (localhost [127.0.0.1]) by whitealder.osuosl.org (Postfix) with ESMTP id D0CD791AEB; Tue, 3 Mar 2015 09:18: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 DhDB8vnKHMZc; Tue, 3 Mar 2015 09:18:35 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by whitealder.osuosl.org (Postfix) with ESMTP id C938C91969; Tue, 3 Mar 2015 09:18:33 +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 501841C0B50 for ; Tue, 3 Mar 2015 09:18:31 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by fraxinus.osuosl.org (Postfix) with ESMTP id 4D310A2D5A for ; Tue, 3 Mar 2015 09:18:31 +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 9vWBexSLV1C8 for ; Tue, 3 Mar 2015 09:18:30 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from mail-pa0-f52.google.com (mail-pa0-f52.google.com [209.85.220.52]) by fraxinus.osuosl.org (Postfix) with ESMTPS id DA52DA2D2E for ; Tue, 3 Mar 2015 09:18:30 +0000 (UTC) Received: by padbj1 with SMTP id bj1so51805142pad.5 for ; Tue, 03 Mar 2015 01:18: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=J4AZWCWN9u79tf0LI0SCJktNICcyaZ7phJYENjnXqqY=; b=UeaIGN1+QPlmCLJc/hdoBxYGKjeNG7i7IOVD69+vDDhyL8xPM0kiOEER2a6zX6H7xI QutiT2eHUIO3rtIXFko4dyapjF4w4/xr+EwRNnd2YeXZaMZWHQO1sh4BgMPNgOvbOLko enthHmesB4EO4CBK8r2S6cyjlLT05RxomVhs7UPuiGPj0sDrv/A/KvWKy003RSdSLJkx 5Itr2dPfPZhpIksYcsk583C0j20pqsfkk5jG/knTc5FQV8B0Uo3RPo9yVNywno8SY342 hFhtjaxFFtLxHWc17U0Yt5XE3gYrvjB52jPIHH3iBXtiNBzdcZQu89pu9FnePj3TAB0X tSYQ== X-Received: by 10.66.190.34 with SMTP id gn2mr54404252pac.85.1425374310668; Tue, 03 Mar 2015 01:18:30 -0800 (PST) Received: from ld2077.tmt.telital.com ([213.205.6.118]) by mx.google.com with ESMTPSA id fs13sm323638pdb.38.2015.03.03.01.18.27 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 03 Mar 2015 01:18:30 -0800 (PST) From: Fabio Porcedda To: buildroot@uclibc.org Date: Tue, 3 Mar 2015 10:17:21 +0100 Message-Id: <1425374255-6827-17-git-send-email-fabio.porcedda@gmail.com> X-Mailer: git-send-email 2.3.1 In-Reply-To: <1425374255-6827-1-git-send-email-fabio.porcedda@gmail.com> References: <1425374255-6827-1-git-send-email-fabio.porcedda@gmail.com> Subject: [Buildroot] [RFC v3 16/30] tcpreplay: delay the execution of pcap-config 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" Delay the execution of the pcap-config tool after the creation of the package staging directory. Signed-off-by: Fabio Porcedda --- package/tcpreplay/tcpreplay.mk | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/package/tcpreplay/tcpreplay.mk b/package/tcpreplay/tcpreplay.mk index 1dbe453..4378c2c 100644 --- a/package/tcpreplay/tcpreplay.mk +++ b/package/tcpreplay/tcpreplay.mk @@ -16,8 +16,8 @@ TCPREPLAY_CONF_OPTS = --with-libpcap=$(STAGING_DIR)/usr TCPREPLAY_DEPENDENCIES = libpcap # libpcap may depend on symbols in other libs -TCPREPLAY_LIBS = $(shell $(STAGING_DIR)/usr/bin/pcap-config --static --libs) -TCPREPLAY_CONF_ENV += ac_cv_search_pcap_close='$(TCPREPLAY_LIBS)' \ +TCPREPLAY_LIBS = `$(STAGING_DIR)/usr/bin/pcap-config --static --libs` +TCPREPLAY_CONF_ENV += ac_cv_search_pcap_close="$(TCPREPLAY_LIBS)" \ LIBS="$(TCPREPLAY_LIBS)" ifeq ($(BR2_PACKAGE_TCPDUMP),y)