From patchwork Tue Dec 10 17:06:15 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ross Burton X-Patchwork-Id: 181140 Delivered-To: patch@linaro.org Received: by 2002:ac9:44c4:0:0:0:0:0 with SMTP id t4csp5767879och; Tue, 10 Dec 2019 09:06:59 -0800 (PST) X-Google-Smtp-Source: APXvYqwr24CCLIbt3ImPRKL05hTy+I+38viK15LRSS9b3C/Lb0Sh0+D3snTdUXL8qYdJy31f4fKz X-Received: by 2002:a62:174b:: with SMTP id 72mr36535858pfx.185.1575997619182; Tue, 10 Dec 2019 09:06:59 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1575997619; cv=none; d=google.com; s=arc-20160816; b=B3hDy9PI92odgr1ibIq71LpP5LjEQY8vfpvM0eLe22aRQXh751pHbfvdOMsPujpi2p kiiUtbHzarKCtT9WBIwTaJ4HGU2BLU/5RDbKgGVt+kw39Y83UPFSpWZK7tRM2v41UK6e MCB6mr/6D9Zd228oa/lOrVwnyqgJZhtLSDYztjW9jCWxxTrUgthMky4ogFCwoxlqROn6 dpJ5UFw5qdlExHgaLjC+m1VillVf6cm8Vbgj+vOjIizmUuFMyOHGIqawzdMM6RwNCuZr Q5crzT6FG6E+5ORLO8S0KqYHcoIrmtd89bwJ6R+I1D429hbnx7wenbGx4WEj1euohzrW SOBQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=errors-to:sender:content-transfer-encoding:list-subscribe:list-help :list-post:list-archive:list-unsubscribe:list-id:precedence:subject :mime-version:references:in-reply-to:message-id:date:to:from :dkim-signature:delivered-to; bh=hDMfMzEtySyfH7gmrs+3AgbieAhmqkGeI1DsQCxQfN0=; b=V/tqsN4wdIR5Ob3XtLcax0ifrAQ8z82i+B2Ex4xdJo/HR3grBSICYAhXM1Hb9hv/sf eTqJXZSx3K4Bz7T2Npzq8quypBIIqoo2Lhh5fM5e6W2WIjz0zZA9VXsNDulQk0Ndjzbb Vxv3xdvOrPMgHBXvxM3blr4y6WaNZ46wCtKkYUL9djNWVHMCZpyU33/hyr2cdI+F6KY6 0v7WdcobmM7JOxo8zWgGaE5qtus1nB5rTEJWFMY8yCukFOT5ll9XZp3duhaRZdWgWfvm OQmmu+P4lnWl/1ERqxoNEjR62fddmBJ36mn1q/OrCYhJTKXQMPgJMlo+CZ4AF8D9u+pj d2Pg== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@intel-com.20150623.gappssmtp.com header.s=20150623 header.b="QoN6Ik/q"; spf=pass (google.com: best guess record for domain of openembedded-devel-bounces@lists.openembedded.org designates 140.211.169.62 as permitted sender) smtp.mailfrom=openembedded-devel-bounces@lists.openembedded.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=intel.com Return-Path: Received: from mail.openembedded.org (mail.openembedded.org. [140.211.169.62]) by mx.google.com with ESMTP id i23si3549378pfo.75.2019.12.10.09.06.58; Tue, 10 Dec 2019 09:06:59 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of openembedded-devel-bounces@lists.openembedded.org designates 140.211.169.62 as permitted sender) client-ip=140.211.169.62; Authentication-Results: mx.google.com; dkim=neutral (body hash did not verify) header.i=@intel-com.20150623.gappssmtp.com header.s=20150623 header.b="QoN6Ik/q"; spf=pass (google.com: best guess record for domain of openembedded-devel-bounces@lists.openembedded.org designates 140.211.169.62 as permitted sender) smtp.mailfrom=openembedded-devel-bounces@lists.openembedded.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: from ec2-34-214-78-129.us-west-2.compute.amazonaws.com (localhost [127.0.0.1]) by mail.openembedded.org (Postfix) with ESMTP id 8C53F7FC65; Tue, 10 Dec 2019 17:06:55 +0000 (UTC) X-Original-To: openembedded-devel@lists.openembedded.org Delivered-To: openembedded-devel@lists.openembedded.org Received: from mail-wm1-f54.google.com (mail-wm1-f54.google.com [209.85.128.54]) by mail.openembedded.org (Postfix) with ESMTP id 6E3E67F8C6 for ; Tue, 10 Dec 2019 17:06:23 +0000 (UTC) Received: by mail-wm1-f54.google.com with SMTP id d5so2506249wmb.4 for ; Tue, 10 Dec 2019 09:06:24 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=intel-com.20150623.gappssmtp.com; s=20150623; h=from:to:subject:date:message-id:in-reply-to:references:mime-version :content-transfer-encoding; bh=GF9oVoG9W6UKnpd07tMFtjZvaW55mLMFwGd2NZUvAGk=; b=QoN6Ik/qIZyfWTG+/7EL1u8jjQ5Zcq+TI3r1F6hKk/BBlRrFpt8ImHpETlUVPQTrJn rYQf/tbo62Dl9dPw2eSvKvrc1AuQvrUZF8nnoX3lrezybkT0sJwJZeYL60CImdgJjYzv LQnBTfYBfmJUA69s3qydyVrYUO7WYCCy9fRvZE/6aYonR8cbB7EMNj1JHU0B0mrJ18W0 sd5vhHyFb+VpcQ8FoGr5P0nNfBf3q1tXtW3iIgDivY3mIs6G47nOZfUSEyG4+L5fD7kY LK5rl3cUl9TApq36eS/6ThgpDGLoUWLHJ91V39RCwocm7VSXOOJaZksUY2QccewvZiwR gUuA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=GF9oVoG9W6UKnpd07tMFtjZvaW55mLMFwGd2NZUvAGk=; b=ZXvHaym48fpMfVvYP6vgtSpSiRQ7/ncgtS1MWJwWc4OeH1lEogDt/b3DxP06bRPCI7 maaOjUfowWI8CtfuWslzZUvpNVfryU4vkWDuZBA4i+K7nH7agcnKQkliCkftzqqOyQlE zA5cjQvXnC2r9v9I53JIbcS0eh5QjQPGEKHvVMIXz6QBl0NhKh4XY/sD1J9ym7XdzSfo W8YD50nERbugJheQRh5ORoprEVjmjs+boEPP8QUyxq8GfDc/gpsTtORLC7SBHpKIvrHo +dRIxtvTDDHFdsB3S2XgawvgVtH+daC44QLPJuwrMGRMsk2NArD/+lQrKQO8vkSjwFL1 ViOg== X-Gm-Message-State: APjAAAVwi/LHIA2YJUfrvRQSafaClZAPMqf55RmubaBSK/XDFY8WoKux LbcBoEfOwIq0XCgBgpqewebe/CWM7j8= X-Received: by 2002:a1c:23ca:: with SMTP id j193mr6019140wmj.83.1575997583954; Tue, 10 Dec 2019 09:06:23 -0800 (PST) Received: from flashheart.burtonini.com (35.106.2.81.in-addr.arpa. [81.2.106.35]) by smtp.gmail.com with ESMTPSA id q3sm3998443wrn.33.2019.12.10.09.06.23 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 10 Dec 2019 09:06:23 -0800 (PST) From: Ross Burton To: openembedded-devel@lists.openembedded.org Date: Tue, 10 Dec 2019 17:06:15 +0000 Message-Id: <20191210170618.29764-2-ross.burton@intel.com> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20191210170618.29764-1-ross.burton@intel.com> References: <20191210170618.29764-1-ross.burton@intel.com> MIME-Version: 1.0 Subject: [oe] [PATCH][meta-python 2/5] python-m2crypto: don't use relative paths X-BeenThere: openembedded-devel@lists.openembedded.org X-Mailman-Version: 2.1.12 Precedence: list List-Id: Using the OpenEmbedded metadata to build Distributions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: openembedded-devel-bounces@lists.openembedded.org Errors-To: openembedded-devel-bounces@lists.openembedded.org Signed-off-by: Ross Burton --- meta-python/recipes-devtools/python/python-m2crypto.inc | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) -- 2.20.1 -- _______________________________________________ Openembedded-devel mailing list Openembedded-devel@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-devel diff --git a/meta-python/recipes-devtools/python/python-m2crypto.inc b/meta-python/recipes-devtools/python/python-m2crypto.inc index a36ab8a7fa..5f5444f37e 100644 --- a/meta-python/recipes-devtools/python/python-m2crypto.inc +++ b/meta-python/recipes-devtools/python/python-m2crypto.inc @@ -32,7 +32,7 @@ export SWIG_FEATURES # do_configure_prepend() { ${CPP} -dM - < /dev/null | grep -v '__\(STDC\|REGISTER_PREFIX\|GNUC\|STDC_HOSTED\)__' \ - | sed 's/^\(#define \([^ ]*\) .*\)$/#undef \2\n\1/' > SWIG/gcc_macros.h + | sed 's/^\(#define \([^ ]*\) .*\)$/#undef \2\n\1/' > ${S}/SWIG/gcc_macros.h if [ "${SITEINFO_BITS}" = "64" ];then bit="64" @@ -42,11 +42,11 @@ do_configure_prepend() { if [ -e ${STAGING_INCDIR}/openssl/opensslconf-${bit}.h ] ;then for i in SWIG/_ec.i SWIG/_evp.i; do - sed -i -e "s/opensslconf.*\./opensslconf-${bit}\./" "$i" + sed -i -e "s/opensslconf.*\./opensslconf-${bit}\./" "${S}/$i" done elif [ -e ${STAGING_INCDIR}/openssl/opensslconf-n${bit}.h ] ;then for i in SWIG/_ec.i SWIG/_evp.i; do - sed -i -e "s/opensslconf.*\./opensslconf-n${bit}\./" "$i" + sed -i -e "s/opensslconf.*\./opensslconf-n${bit}\./" "${S}/$i" done fi }