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 AA59A13835A for ; Wed, 20 Jan 2021 05:36:28 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id BE8E9E0825; Wed, 20 Jan 2021 05:36:27 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (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 8045DE0825 for ; Wed, 20 Jan 2021 05:36:27 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (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 CF4E0340AB6 for ; Wed, 20 Jan 2021 05:36:25 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 5F6F5488 for ; Wed, 20 Jan 2021 05:36:24 +0000 (UTC) From: "Benda XU" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Benda XU" Message-ID: <1611119318.29637005c092e15a8f8b63181b82e26bfa115d6c.heroxbd@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-libs/rocclr/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-libs/rocclr/rocclr-4.0.0.ebuild X-VCS-Directories: dev-libs/rocclr/ X-VCS-Committer: heroxbd X-VCS-Committer-Name: Benda XU X-VCS-Revision: 29637005c092e15a8f8b63181b82e26bfa115d6c X-VCS-Branch: master Date: Wed, 20 Jan 2021 05:36:24 +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: 7bc6c53c-c33b-433c-a8b8-0c6e6932ed95 X-Archives-Hash: 592e7ba7be43c1cbdbf9f04219efcee2 commit: 29637005c092e15a8f8b63181b82e26bfa115d6c Author: Benda Xu gentoo org> AuthorDate: Wed Jan 20 05:08:31 2021 +0000 Commit: Benda XU gentoo org> CommitDate: Wed Jan 20 05:08:38 2021 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=29637005 dev-libs/rocclr: support Prefix. Suggested-by: Yiyang Wu gmail.com> Package-Manager: Portage-3.0.12, Repoman-3.0.1 Signed-off-by: Benda Xu gentoo.org> dev-libs/rocclr/rocclr-4.0.0.ebuild | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/dev-libs/rocclr/rocclr-4.0.0.ebuild b/dev-libs/rocclr/rocclr-4.0.0.ebuild index ffa5203065d..14d12c5c2f5 100644 --- a/dev-libs/rocclr/rocclr-4.0.0.ebuild +++ b/dev-libs/rocclr/rocclr-4.0.0.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2020 Gentoo Authors +# Copyright 1999-2021 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 @@ -31,7 +31,7 @@ src_configure() { local mycmakeargs=( -DUSE_COMGR_LIBRARY=YES -DOPENCL_DIR="${WORKDIR}/ROCm-OpenCL-Runtime-rocm-${PV}" - -DCMAKE_INSTALL_PREFIX="/usr" + -DCMAKE_INSTALL_PREFIX="${EPREFIX}/usr" ) cmake_src_configure } @@ -40,5 +40,5 @@ src_install() { cmake_src_install # This should be fixed in the CMakeLists.txt - sed -e "s:${BUILD_DIR}:${EPREFIX}/usr:" -i "${D}/usr/lib/cmake/rocclr/ROCclrConfig.cmake" || die + sed -e "s:${BUILD_DIR}:${EPREFIX}/usr:" -i "${ED}/usr/lib/cmake/rocclr/ROCclrConfig.cmake" || die }