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.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 1C97A158096 for ; Mon, 12 Sep 2022 19:14:42 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 55564E09AE; Mon, 12 Sep 2022 19:14:41 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 361A7E09A7 for ; Mon, 12 Sep 2022 19:14:41 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 5A9A6335DB4 for ; Mon, 12 Sep 2022 19:14:40 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id DEE3D5DB for ; Mon, 12 Sep 2022 19:14:37 +0000 (UTC) From: "Arthur Zamarin" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Arthur Zamarin" Message-ID: <1663010071.e60c536eeda9efe06da2c50bb0cdf8295c411d6b.arthurzam@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: eclass/ X-VCS-Repository: repo/gentoo X-VCS-Files: eclass/bazel.eclass X-VCS-Directories: eclass/ X-VCS-Committer: arthurzam X-VCS-Committer-Name: Arthur Zamarin X-VCS-Revision: e60c536eeda9efe06da2c50bb0cdf8295c411d6b X-VCS-Branch: master Date: Mon, 12 Sep 2022 19:14:37 +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: 5a54afc9-7435-438b-801a-a9d8f3d17b31 X-Archives-Hash: 5775f64ce1b30afe2c5caaf0325cc338 commit: e60c536eeda9efe06da2c50bb0cdf8295c411d6b Author: Arthur Zamarin gentoo org> AuthorDate: Sun Sep 4 19:02:51 2022 +0000 Commit: Arthur Zamarin gentoo org> CommitDate: Mon Sep 12 19:14:31 2022 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e60c536e bazel.eclass: simplify EPREFIX usage EPREFIX is never slash terminated, in all EAPIs. Signed-off-by: Arthur Zamarin gentoo.org> eclass/bazel.eclass | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/eclass/bazel.eclass b/eclass/bazel.eclass index 641da6194ca7..3a8992972d40 100644 --- a/eclass/bazel.eclass +++ b/eclass/bazel.eclass @@ -113,7 +113,7 @@ bazel_setup_bazelrc() { fetch --repository_cache="${T}/bazel-cache/" --distdir="${T}/bazel-distdir/" build --repository_cache="${T}/bazel-cache/" --distdir="${T}/bazel-distdir/" - build --define=PREFIX=${EPREFIX%/}/usr + build --define=PREFIX=${EPREFIX}/usr build --define=LIBDIR=\$(PREFIX)/$(get_libdir) build --define=INCLUDEDIR=\$(PREFIX)/include EOF