public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Mark Wright" <gienah@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-util/build2/
Date: Tue, 21 Jul 2020 03:08:59 +0000 (UTC)	[thread overview]
Message-ID: <1595300910.cce662903d44519fd37ad43e7fc51e9dcb46780f.gienah@gentoo> (raw)

commit:     cce662903d44519fd37ad43e7fc51e9dcb46780f
Author:     Mark Wright <gienah <AT> gentoo <DOT> org>
AuthorDate: Tue Jul 21 03:08:30 2020 +0000
Commit:     Mark Wright <gienah <AT> gentoo <DOT> org>
CommitDate: Tue Jul 21 03:08:30 2020 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=cce66290

dev-util/build2: Use || die, formatting

Correct the build2/build2/buildfile build2/libbuild2/buildfile paths.

Package-Manager: Portage-3.0.0, Repoman-2.3.23
Signed-off-by: Mark Wright <gienah <AT> gentoo.org>

 .../build2-0.13.0_alpha0_pre20200718101251.ebuild  | 28 +++++++++++++---------
 1 file changed, 17 insertions(+), 11 deletions(-)

diff --git a/dev-util/build2/build2-0.13.0_alpha0_pre20200718101251.ebuild b/dev-util/build2/build2-0.13.0_alpha0_pre20200718101251.ebuild
index 20a81aeca39..72226d3f5bc 100644
--- a/dev-util/build2/build2-0.13.0_alpha0_pre20200718101251.ebuild
+++ b/dev-util/build2/build2-0.13.0_alpha0_pre20200718101251.ebuild
@@ -43,21 +43,27 @@ b() {
 
 src_prepare() {
 	printf 'cxx.libs += %s\ncxx.poptions += %s\n' \
-		"-L${EPREFIX}/usr/$(get_libdir) $($(tc-getPKG_CONFIG) sqlite3 --libs)" "$($(tc-getPKG_CONFIG) sqlite3 --cflags)" >> \
-		libodb-sqlite/buildfile
+		"-L${EPREFIX}/usr/$(get_libdir) $($(tc-getPKG_CONFIG) sqlite3 --libs)" \
+		"$($(tc-getPKG_CONFIG) sqlite3 --cflags)" >> \
+		libodb-sqlite/buildfile \
+		|| die
 	sed \
 		-e 's:libsqlite3[/]\?::' \
-		-i buildfile build/bootstrap.build
+		-i buildfile build/bootstrap.build \
+		|| die
 
 	if has_version dev-util/pkgconf; then
-		for i in build2/buildfile libbuild2/buildfile; do
+		for i in build2/build2/buildfile build2/libbuild2/buildfile; do
 			printf 'cxx.libs += %s\ncxx.poptions += %s\n' \
-				"$($(tc-getPKG_CONFIG) libpkgconf --libs)" "$($(tc-getPKG_CONFIG) libpkgconf --cflags)" >> \
-				"${i}"
+				"$($(tc-getPKG_CONFIG) libpkgconf --libs)" \
+				"$($(tc-getPKG_CONFIG) libpkgconf --cflags)" >> \
+				"${i}" \
+				|| die
 		done
 		sed \
 			-e 's:libpkgconf[/]\?::' \
-			-i buildfile build/bootstrap.build
+			-i buildfile build/bootstrap.build \
+			|| die
 	fi
 
 	default
@@ -65,9 +71,9 @@ src_prepare() {
 
 src_configure() {
 	emake -C build2 -f bootstrap.gmake \
-		  CXX=$(tc-getCXX) \
-		  CXXFLAGS="${CXXFLAGS}" \
-		  LDFLAGS="${LDFLAGS}"
+		CXX=$(tc-getCXX) \
+		CXXFLAGS="${CXXFLAGS}" \
+		LDFLAGS="${LDFLAGS}"
 
 	b configure \
 		config.cxx="$(tc-getCXX)" \
@@ -96,6 +102,6 @@ src_test() {
 
 src_install() {
 	b install
-	mkdir -p "${ED}"/usr/share/doc/${PF}/html
+	mkdir -p "${ED}"/usr/share/doc/${PF}/html || die
 	mv -f "${ED}"/usr/share/doc/${PF}/*.xhtml "${ED}"/usr/share/doc/${PF}/html
 }


             reply	other threads:[~2020-07-21  3:09 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-07-21  3:08 Mark Wright [this message]
  -- strict thread matches above, loose matches on Subject: below --
2020-07-21 10:56 [gentoo-commits] repo/gentoo:master commit in: dev-util/build2/ Mark Wright
2020-07-21 10:56 Mark Wright
2020-07-27  6:26 Mark Wright
2023-12-20  3:44 Sam James

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=1595300910.cce662903d44519fd37ad43e7fc51e9dcb46780f.gienah@gentoo \
    --to=gienah@gentoo.org \
    --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