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 56B19138350 for ; Sun, 2 Feb 2020 19:29:10 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 86CA6E08A0; Sun, 2 Feb 2020 19:29:09 +0000 (UTC) Received: from smtp.gentoo.org (smtp.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 70F8FE08A0 for ; Sun, 2 Feb 2020 19:29:09 +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 5832D34E47C for ; Sun, 2 Feb 2020 19:29:08 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 0DEA73E for ; Sun, 2 Feb 2020 19:29:07 +0000 (UTC) From: "Mike Pagano" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Mike Pagano" Message-ID: <1580671731.0aa8735e280718890bc4b0cd4a3dccbfc177d639.mpagano@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-util/idea-community/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-util/idea-community/idea-community-2019.3.2.193.6015.39.ebuild X-VCS-Directories: dev-util/idea-community/ X-VCS-Committer: mpagano X-VCS-Committer-Name: Mike Pagano X-VCS-Revision: 0aa8735e280718890bc4b0cd4a3dccbfc177d639 X-VCS-Branch: master Date: Sun, 2 Feb 2020 19:29:07 +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: 896b9604-1bda-4bbb-89d9-46816041ee52 X-Archives-Hash: 833c733d16003cd7df4cd3dbced49b59 commit: 0aa8735e280718890bc4b0cd4a3dccbfc177d639 Author: Mike Pagano gentoo org> AuthorDate: Sun Feb 2 19:28:51 2020 +0000 Commit: Mike Pagano gentoo org> CommitDate: Sun Feb 2 19:28:51 2020 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0aa8735e dev-util/idea-community: Check for dir before running patchelf Reported-by: Matt offtopica.uk> Closes: https://bugs.gentoo.org/707748 Package-Manager: Portage-2.3.85, Repoman-2.3.20 Signed-off-by: Mike Pagano gentoo.org> .../idea-community/idea-community-2019.3.2.193.6015.39.ebuild | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/dev-util/idea-community/idea-community-2019.3.2.193.6015.39.ebuild b/dev-util/idea-community/idea-community-2019.3.2.193.6015.39.ebuild index cf7b3629f82..b33ce52f9b7 100644 --- a/dev-util/idea-community/idea-community-2019.3.2.193.6015.39.ebuild +++ b/dev-util/idea-community/idea-community-2019.3.2.193.6015.39.ebuild @@ -89,10 +89,12 @@ src_prepare() { rm -vrf "${S}"/lib/pty4j-native/linux/ppc64le || die rm -vf "${S}"/bin/libdbm64* || die - for file in "${S}"/"${JRE_DIR}"/lib/amd64/{libfxplugins.so,libjfxmedia.so} - do - patchelf --set-rpath '$ORIGIN' $file || die - done + if [[ -f "${JRE_DIR}" ]]; then + for file in "${S}"/"${JRE_DIR}"/lib/amd64/{libfxplugins.so,libjfxmedia.so} + do + patchelf --set-rpath '$ORIGIN' $file || die + done + fi patchelf --replace-needed liblldb.so liblldb.so.9 "${S}"/plugins/Kotlin/bin/linux/LLDBFrontend || die "Unable to patch LLDBFrontend for lldb"