public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Robin H. Johnson" <robbat2@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: app-misc/jq/
Date: Sat, 13 Apr 2019 04:07:36 +0000 (UTC)	[thread overview]
Message-ID: <1555128450.7534f110f6c60e2d24d0257a508d18a0fa606c3a.robbat2@gentoo> (raw)

commit:     7534f110f6c60e2d24d0257a508d18a0fa606c3a
Author:     Robin H. Johnson <robbat2 <AT> gentoo <DOT> org>
AuthorDate: Sat Apr 13 04:02:53 2019 +0000
Commit:     Robin H. Johnson <robbat2 <AT> gentoo <DOT> org>
CommitDate: Sat Apr 13 04:07:30 2019 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7534f110

app-misc/jq: cpu savings & anti-bundling safety

eautoreconf runs on all subdirectories that have autotooled and
referenced by the toplevel Makefile.am SUBDIRS, even when we don't use a
given subdirectory anymore. Rip out the subdirectory and Makefile.am
reference.

As a bonus, by removing the bundled source that's now unused, we prevent
any accidental build usage of it.

Package-Manager: Portage-2.3.62, Repoman-2.3.12
Signed-off-by: Robin H. Johnson <robbat2 <AT> gentoo.org>

 app-misc/jq/jq-1.6-r3.ebuild | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/app-misc/jq/jq-1.6-r3.ebuild b/app-misc/jq/jq-1.6-r3.ebuild
index 2b187f05c7a..036113cf531 100644
--- a/app-misc/jq/jq-1.6-r3.ebuild
+++ b/app-misc/jq/jq-1.6-r3.ebuild
@@ -36,6 +36,12 @@ src_prepare() {
 	sed -i -r "s:(m4_define\(\[jq_version\],) .+\):\1 \[${PV}\]):" \
 		configure.ac || die
 
+	# jq-1.6-r3-never-bundle-oniguruma makes sure we build with the system oniguruma,
+	# but the bundled copy of oniguruma still gets eautoreconf'd since it
+	# exists; save the cycles by nuking it.
+	sed -i -e '/modules\/oniguruma/d' Makefile.am || die
+	rm -rf "${S}"/modules/oniguruma || die
+
 	default
 	eautoreconf
 }


             reply	other threads:[~2019-04-13  4:07 UTC|newest]

Thread overview: 54+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-04-13  4:07 Robin H. Johnson [this message]
  -- strict thread matches above, loose matches on Subject: below --
2024-12-09  5:27 [gentoo-commits] repo/gentoo:master commit in: app-misc/jq/ Sam James
2024-12-01 15:02 Sam James
2024-04-18  5:34 Michał Górny
2024-04-06 12:32 Arthur Zamarin
2024-04-06 12:32 Arthur Zamarin
2023-12-13 20:39 Patrick McLean
2023-10-06 17:05 Arthur Zamarin
2023-10-06 14:55 Sam James
2023-10-06 14:31 Sam James
2023-10-06 14:29 Sam James
2023-09-07 21:40 Patrick McLean
2023-08-30  1:57 Patrick McLean
2023-08-08  2:16 Patrick McLean
2023-06-22 11:14 Fabian Groffen
2023-06-22  8:31 Fabian Groffen
2023-02-28 18:30 Patrick McLean
2023-02-28  1:30 Sam James
2023-02-10 22:18 Patrick McLean
2022-08-25  7:07 WANG Xuerui
2021-08-23 22:59 Marek Szuba
2021-04-18  2:58 Sam James
2021-03-04  0:23 Sam James
2021-02-05 12:31 Sam James
2021-02-04 18:21 Patrick McLean
2020-03-17 18:13 Patrick McLean
2019-11-19 15:40 Agostino Sarubbo
2019-11-19  2:06 Patrick McLean
2019-11-19  1:46 Patrick McLean
2019-11-19  1:34 Patrick McLean
2019-11-19  1:28 Patrick McLean
2019-11-17  5:08 Tim Harder
2019-09-28  2:59 Tim Harder
2019-04-17 18:07 Aaron Bauman
2019-04-13  4:14 Robin H. Johnson
2018-12-05 23:54 Patrick McLean
2018-10-16  9:18 Tobias Klausmann
2017-09-23 10:29 Tim Harder
2017-09-23 10:27 Tim Harder
2017-09-23 10:25 Tim Harder
2017-09-17 11:42 Sergei Trofimovich
2017-09-17 11:14 Sergei Trofimovich
2017-08-17 19:12 Tim Harder
2017-08-17 19:12 Tim Harder
2017-07-21 17:54 Thomas Deutschmann
2017-07-11 19:56 Sergei Trofimovich
2017-07-10  9:32 Sergei Trofimovich
2017-07-10  7:08 Sergei Trofimovich
2017-06-29  8:24 Fabian Groffen
2016-08-08 15:30 Tim Harder
2016-02-01 22:53 Patrick McLean
2016-02-01 22:53 Patrick McLean
2016-01-09  1:14 Patrick McLean
2015-12-22 13:51 Fabian Groffen

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=1555128450.7534f110f6c60e2d24d0257a508d18a0fa606c3a.robbat2@gentoo \
    --to=robbat2@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