From patchwork Sat Apr 13 08:49:12 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Fabrice Fontaine X-Patchwork-Id: 1085074 Return-Path: X-Original-To: incoming-buildroot@patchwork.ozlabs.org Delivered-To: patchwork-incoming-buildroot@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (mailfrom) smtp.mailfrom=busybox.net (client-ip=140.211.166.137; helo=fraxinus.osuosl.org; envelope-from=buildroot-bounces@busybox.net; receiver=) Authentication-Results: ozlabs.org; dmarc=fail (p=none dis=none) header.from=gmail.com Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.b="jZNbqf7K"; dkim-atps=neutral Received: from fraxinus.osuosl.org (smtp4.osuosl.org [140.211.166.137]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 44h7k52KPgz9s7T for ; Sat, 13 Apr 2019 18:49:48 +1000 (AEST) Received: from localhost (localhost [127.0.0.1]) by fraxinus.osuosl.org (Postfix) with ESMTP id 54B1D86AFB; Sat, 13 Apr 2019 08:49:46 +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 MExpnpwjxlyR; Sat, 13 Apr 2019 08:49:43 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by fraxinus.osuosl.org (Postfix) with ESMTP id A81E286ACE; Sat, 13 Apr 2019 08:49:43 +0000 (UTC) X-Original-To: buildroot@lists.busybox.net Delivered-To: buildroot@osuosl.org Received: from whitealder.osuosl.org (smtp1.osuosl.org [140.211.166.138]) by ash.osuosl.org (Postfix) with ESMTP id 852EE1BF2BF for ; Sat, 13 Apr 2019 08:49:42 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by whitealder.osuosl.org (Postfix) with ESMTP id 7E5DF86E0A for ; Sat, 13 Apr 2019 08:49: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 hnVC+v9Pm5de for ; Sat, 13 Apr 2019 08:49:39 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from mail-wm1-f67.google.com (mail-wm1-f67.google.com [209.85.128.67]) by whitealder.osuosl.org (Postfix) with ESMTPS id 8E39286BF9 for ; Sat, 13 Apr 2019 08:49:39 +0000 (UTC) Received: by mail-wm1-f67.google.com with SMTP id o25so14013581wmf.5 for ; Sat, 13 Apr 2019 01:49:39 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=A3vonuL2DOHbbgyCZojGsU9GEldUFbXOSE6x/5mZIG0=; b=jZNbqf7KlOAzhnj9CXXAZkhJq5odDzmDuSDoS48W4oFltkRU39V67NuhGdysg77uTy wU2/3sOh9xyqFCkmUahQvpuZxgYN683oG3JdD+74A54OF13Nv4afYfNmJGUiWzEDXtWg eokvC5HnqKw6KBAZX1yMiXs25RhfT1n0ygHh44q/PzFTESy7eWJ8wSf4nTi4DYK6rYpZ RO53lFQtRP2hEzWd4SGEc7dxR//OFC/DVZt3k71ZsRtqea0LpGWftmImUePLLGoEVltj a+9fZ82YSpntLQ3S414XSzXtUzwSBDhdFfc4r6WBQlGZQpi/7vcF3trEhovZ83APuvJh 1zkQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=A3vonuL2DOHbbgyCZojGsU9GEldUFbXOSE6x/5mZIG0=; b=G+i5ZClMUjZMWEfEgqLLt1pFOcxbeBLqhE1iNWsZPNVRwPj04A44gVTSWHIEtuCDyp /31kWByTjRQHAH02pN8RHVia97tlCc8GEiL0Th6H0kGUkQ/FX+J4Ew5HtxJzznBYytQx f73d7cSpwxcTGDy460Hdx93fWc/kqcx+nTfwENjvRMZmLp9HXYWoxSY1z4K+N8EGSaEL l9YLGnXK2QeAkPwBVY9vRLzlPc9tZnch5RrsjqsQ0GrenGQgmpiUfCD8b9XQMwYYF17J 8XfFSTQvlSZDZ/FkZwsnCNKbY2otLjqp70AnHad1YSphwECNxVucCPDjeP9hGbciuDVc tk2g== X-Gm-Message-State: APjAAAVEjz+A5vd6jYWCdp86R4l4hYp/E3kpnP99IkVAVkUlimU0oD3u qTU+hQzINBFgu9bHeo7rfgsW8275 X-Google-Smtp-Source: APXvYqxQ6wTuZ+uC88JE6e++BK6K9i2iyn0mDdKWtKy9q5XDdCqzzSoAOSAnmhIH2dMJASmPWIZg1Q== X-Received: by 2002:a7b:c923:: with SMTP id h3mr14243850wml.34.1555145377960; Sat, 13 Apr 2019 01:49:37 -0700 (PDT) Received: from kali.home (lfbn-ren-1-314-196.w2-10.abo.wanadoo.fr. [2.10.15.196]) by smtp.gmail.com with ESMTPSA id d16sm34947326wrs.68.2019.04.13.01.49.36 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sat, 13 Apr 2019 01:49:37 -0700 (PDT) From: Fabrice Fontaine To: buildroot@buildroot.org Date: Sat, 13 Apr 2019 10:49:12 +0200 Message-Id: <20190413084912.8000-1-fontaine.fabrice@gmail.com> X-Mailer: git-send-email 2.20.1 MIME-Version: 1.0 Subject: [Buildroot] [PATCH 1/1] package/ipsec-tools: fix static build with openssl and atomic X-BeenThere: buildroot@busybox.net X-Mailman-Version: 2.1.29 Precedence: list List-Id: Discussion and development of buildroot List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Fabrice Fontaine Errors-To: buildroot-bounces@busybox.net Sender: "buildroot" Use pkg-config to find openssl dependencies such as lz or latomic Fix static build on sparc v8 (even if there is no autobuilder failures yet) Signed-off-by: Fabrice Fontaine --- package/ipsec-tools/ipsec-tools.mk | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/package/ipsec-tools/ipsec-tools.mk b/package/ipsec-tools/ipsec-tools.mk index 8672272538..7ac6b5cb22 100644 --- a/package/ipsec-tools/ipsec-tools.mk +++ b/package/ipsec-tools/ipsec-tools.mk @@ -9,17 +9,14 @@ IPSEC_TOOLS_SOURCE = ipsec-tools-$(IPSEC_TOOLS_VERSION).tar.bz2 IPSEC_TOOLS_SITE = http://sourceforge.net/projects/ipsec-tools/files/ipsec-tools/$(IPSEC_TOOLS_VERSION) IPSEC_TOOLS_INSTALL_STAGING = YES IPSEC_TOOLS_MAKE = $(MAKE1) -IPSEC_TOOLS_DEPENDENCIES = openssl flex host-flex host-bison +IPSEC_TOOLS_DEPENDENCIES = openssl flex host-pkgconf host-flex host-bison # we patch configure.ac IPSEC_TOOLS_AUTORECONF = YES # configure hardcodes -Werror, so override CFLAGS on make invocation IPSEC_TOOLS_MAKE_OPTS = CFLAGS='$(TARGET_CFLAGS)' -# openssl uses zlib, so we need to explicitly link with it when static -ifeq ($(BR2_STATIC_LIBS),y) -IPSEC_TOOLS_CONF_ENV += LIBS=-lz -endif +IPSEC_TOOLS_CONF_ENV = LIBS=`$(PKG_CONFIG_HOST_BINARY) --libs openssl` IPSEC_TOOLS_CONF_OPTS = \ --without-libpam \