From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 2A3451382C5 for ; Sat, 20 Jun 2020 03:11:05 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 5DAD2E083E; Sat, 20 Jun 2020 03:11:04 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id E3634E083E for ; Sat, 20 Jun 2020 03:11:03 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id B9AF334F458 for ; Sat, 20 Jun 2020 03:11:02 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 3B8F3253 for ; Sat, 20 Jun 2020 03:11:01 +0000 (UTC) From: "Thomas Deutschmann" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Thomas Deutschmann" Message-ID: <1592622649.8dad074d9270403c912f49c8f419d120f3e78048.whissi@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-libs/librdkafka/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-libs/librdkafka/librdkafka-1.4.2-r1.ebuild X-VCS-Directories: dev-libs/librdkafka/ X-VCS-Committer: whissi X-VCS-Committer-Name: Thomas Deutschmann X-VCS-Revision: 8dad074d9270403c912f49c8f419d120f3e78048 X-VCS-Branch: master Date: Sat, 20 Jun 2020 03:11:01 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: ddddb5bf-c509-4914-ba48-025e23d0d442 X-Archives-Hash: 028eac1928091ab110439c76cefcee63 commit: 8dad074d9270403c912f49c8f419d120f3e78048 Author: Thomas Deutschmann gentoo org> AuthorDate: Sat Jun 20 03:10:04 2020 +0000 Commit: Thomas Deutschmann gentoo org> CommitDate: Sat Jun 20 03:10:49 2020 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8dad074d dev-libs/librdkafka: don't call git in non-live ebuilds Closes: https://bugs.gentoo.org/723050 Package-Manager: Portage-2.3.101, Repoman-2.3.22 Signed-off-by: Thomas Deutschmann gentoo.org> dev-libs/librdkafka/librdkafka-1.4.2-r1.ebuild | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/dev-libs/librdkafka/librdkafka-1.4.2-r1.ebuild b/dev-libs/librdkafka/librdkafka-1.4.2-r1.ebuild index 026accdfa88..44147ffd4ce 100644 --- a/dev-libs/librdkafka/librdkafka-1.4.2-r1.ebuild +++ b/dev-libs/librdkafka/librdkafka-1.4.2-r1.ebuild @@ -40,6 +40,16 @@ DEPEND=" static-libs? ( ${LIB_DEPEND} ) " +src_prepare() { + default + + if [[ ${PV} != "9999" ]]; then + sed -i \ + -e "s/^\(export RDKAFKA_GITVER=\).*/\1\"${PV}@release\"/" \ + tests/run-test.sh || die + fi +} + src_configure() { tc-export AR CC CXX LD NM OBJDUMP PKG_CONFIG STRIP