public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Vladislav Dudar" <seal331gentoo@gmail.com>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/proj/guru:dev commit in: dev-libs/dmd_core/
Date: Thu, 28 Oct 2021 18:21:57 +0000 (UTC)	[thread overview]
Message-ID: <1635445207.6e7a8a71c77d1ecc4720e83a2f3b6a6347a20f9f.seal331gentoo@gentoo> (raw)

commit:     6e7a8a71c77d1ecc4720e83a2f3b6a6347a20f9f
Author:     Vladislav Dudar <seal331gentoo <AT> gmail <DOT> com>
AuthorDate: Thu Oct 28 18:19:18 2021 +0000
Commit:     Vladislav Dudar <seal331gentoo <AT> gmail <DOT> com>
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 <seal331gentoo <AT> 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"
 }


             reply	other threads:[~2021-10-28 18:22 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-10-28 18:21 Vladislav Dudar [this message]
  -- strict thread matches above, loose matches on Subject: below --
2024-06-12 15:08 [gentoo-commits] repo/proj/guru:dev commit in: dev-libs/dmd_core/ Lucio Sauer
2024-06-12 15:08 Lucio Sauer
2024-06-12 15:08 Lucio Sauer
2024-06-12 15:08 Lucio Sauer
2024-06-12 15:08 Lucio Sauer
2024-07-13  4:54 Vladislav Dudar
2024-07-13  5:09 Vladislav Dudar

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1635445207.6e7a8a71c77d1ecc4720e83a2f3b6a6347a20f9f.seal331gentoo@gentoo \
    --to=seal331gentoo@gmail.com \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox