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 727DE158089 for ; Thu, 28 Oct 2021 20:56:48 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id C5DF3E0928; Thu, 28 Oct 2021 20:56:43 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (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 94F02E0928 for ; Thu, 28 Oct 2021 20:56:43 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (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 9318D343CC2 for ; Thu, 28 Oct 2021 20:56:42 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 5AD1C178 for ; Thu, 28 Oct 2021 20:56:39 +0000 (UTC) From: "Haelwenn Monnier" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Haelwenn Monnier" Message-ID: <1635445207.6e7a8a71c77d1ecc4720e83a2f3b6a6347a20f9f.lanodan@gentoo> Subject: [gentoo-commits] repo/proj/guru:master commit in: dev-libs/dmd_core/ X-VCS-Repository: repo/proj/guru X-VCS-Files: dev-libs/dmd_core/dmd_core-0.6.2.ebuild X-VCS-Directories: dev-libs/dmd_core/ X-VCS-Committer: lanodan X-VCS-Committer-Name: Haelwenn Monnier X-VCS-Revision: 6e7a8a71c77d1ecc4720e83a2f3b6a6347a20f9f X-VCS-Branch: master Date: Thu, 28 Oct 2021 20:56:39 +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: 34ca54f5-cefc-46ca-bf1a-2c620ee944ad X-Archives-Hash: cf03d11142c5dcbd702613f977ee43c5 commit: 6e7a8a71c77d1ecc4720e83a2f3b6a6347a20f9f Author: Vladislav Dudar gmail com> AuthorDate: Thu Oct 28 18:19:18 2021 +0000 Commit: Haelwenn Monnier hacktivis me> CommitDate: Thu Oct 28 18:20:07 2021 +0000 URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=6e7a8a71 dev-libs/dmd_core: address ebuild review Package-Manager: Portage-3.0.22, Repoman-3.0.3 Signed-off-by: Vladislav Dudar gmail.com> dev-libs/dmd_core/dmd_core-0.6.2.ebuild | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/dev-libs/dmd_core/dmd_core-0.6.2.ebuild b/dev-libs/dmd_core/dmd_core-0.6.2.ebuild index 102995cba..687299aeb 100644 --- a/dev-libs/dmd_core/dmd_core-0.6.2.ebuild +++ b/dev-libs/dmd_core/dmd_core-0.6.2.ebuild @@ -40,12 +40,12 @@ src_install() { set_target_arch dolib.a "${S}"/target/${target_arch}-unknown-linux-gnu/release/lib${PN}.a insinto /usr/$(get_libdir)/pkgconfig - cp "${FILESDIR}/dmd_core.pc" "${S}" - sed -i "s/%VERSION%/${PV}/g" "${S}/dmd_core.pc" + cp "${FILESDIR}/dmd_core.pc" "${S}" || die "failed to copy pkgconfig file" + sed -i "s/%VERSION%/${PV}/g" "${S}/dmd_core.pc" || die "failed to set version in pkgconfig file" doins "${S}/dmd_core.pc" sed -e "s:^libdir.*:libdir=${EPREFIX}/usr/$(get_libdir):" \ - -i "${ED}"/usr/$(get_libdir)/pkgconfig/dmd_core.pc + -i "${ED}"/usr/$(get_libdir)/pkgconfig/dmd_core.pc || die "failed to set libdir in pkgconfig file" dodoc "${S}/LICENSE.txt" dodoc "${S}/README.md" }