public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Sam James" <sam@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: sys-devel/make/
Date: Mon, 29 Aug 2022 15:31:31 +0000 (UTC)	[thread overview]
Message-ID: <1661787085.4933c3aa36b15cb369014552e50cd1a2d720fd68.sam@gentoo> (raw)

commit:     4933c3aa36b15cb369014552e50cd1a2d720fd68
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Mon Aug 29 15:28:42 2022 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Mon Aug 29 15:31:25 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4933c3aa

sys-devel/make: add 9999

Desirable for make --shuffle [0][1].

[0] https://trofi.github.io/posts/238-new-make-shuffle-mode.html
[1] https://trofi.github.io/posts/249-an-update-on-make-shuffle.html
Signed-off-by: Sam James <sam <AT> gentoo.org>

 sys-devel/make/make-4.3.ebuild                     | 28 +++++++++++++++++--
 .../make/{make-4.3.ebuild => make-9999.ebuild}     | 32 ++++++++++++++++++----
 2 files changed, 52 insertions(+), 8 deletions(-)

diff --git a/sys-devel/make/make-4.3.ebuild b/sys-devel/make/make-4.3.ebuild
index 50caf0365bb0..e924bf762998 100644
--- a/sys-devel/make/make-4.3.ebuild
+++ b/sys-devel/make/make-4.3.ebuild
@@ -8,9 +8,12 @@ inherit flag-o-matic verify-sig
 
 DESCRIPTION="Standard tool to compile source trees"
 HOMEPAGE="https://www.gnu.org/software/make/make.html"
-if [[ "$(ver_cut 3)" -ge 90 ]] ; then
-	SRC_URI="https://alpha.gnu.org/gnu//make/${P}.tar.gz"
-	SRC_URI+=" verify-sig? ( https://alpha.gnu.org/gnu//make/${P}.tar.gz.sig )"
+if [[ ${PV} == 9999 ]] ; then
+	EGIT_REPO_URI="https://git.savannah.gnu.org/git/make.git"
+	inherit autotools git-r3
+elif [[ $(ver_cut 3) -ge 90 ]] ; then
+	SRC_URI="https://alpha.gnu.org/gnu/make/${P}.tar.gz"
+	SRC_URI+=" verify-sig? ( https://alpha.gnu.org/gnu/make/${P}.tar.gz.sig )"
 else
 	SRC_URI="mirror://gnu//make/${P}.tar.gz"
 	SRC_URI+=" verify-sig? ( mirror://gnu//make/${P}.tar.gz.sig )"
@@ -32,6 +35,25 @@ PATCHES=(
 	"${FILESDIR}"/${PN}-4.2-default-cxx.patch
 )
 
+src_unpack() {
+	if [[ ${PV} == 9999 ]] ; then
+		git-r3_src_unpack
+
+		cd "${S}" || die
+		./bootstrap || die
+	else
+		default
+	fi
+}
+
+src_prepare() {
+	default
+
+	if [[ ${PV} == 9999 ]] ; then
+		eautoreconf
+	fi
+}
+
 src_configure() {
 	use static && append-ldflags -static
 	local myeconfargs=(

diff --git a/sys-devel/make/make-4.3.ebuild b/sys-devel/make/make-9999.ebuild
similarity index 62%
copy from sys-devel/make/make-4.3.ebuild
copy to sys-devel/make/make-9999.ebuild
index 50caf0365bb0..c0a4aa6ff54a 100644
--- a/sys-devel/make/make-4.3.ebuild
+++ b/sys-devel/make/make-9999.ebuild
@@ -1,20 +1,23 @@
 # Copyright 1999-2022 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
-EAPI=7
+EAPI=8
 
 VERIFY_SIG_OPENPGP_KEY_PATH="${BROOT}"/usr/share/openpgp-keys/make.asc
 inherit flag-o-matic verify-sig
 
 DESCRIPTION="Standard tool to compile source trees"
 HOMEPAGE="https://www.gnu.org/software/make/make.html"
-if [[ "$(ver_cut 3)" -ge 90 ]] ; then
-	SRC_URI="https://alpha.gnu.org/gnu//make/${P}.tar.gz"
-	SRC_URI+=" verify-sig? ( https://alpha.gnu.org/gnu//make/${P}.tar.gz.sig )"
+if [[ ${PV} == 9999 ]] ; then
+	EGIT_REPO_URI="https://git.savannah.gnu.org/git/make.git"
+	inherit autotools git-r3
+elif [[ $(ver_cut 3) -ge 90 ]] ; then
+	SRC_URI="https://alpha.gnu.org/gnu/make/${P}.tar.gz"
+	SRC_URI+=" verify-sig? ( https://alpha.gnu.org/gnu/make/${P}.tar.gz.sig )"
 else
 	SRC_URI="mirror://gnu//make/${P}.tar.gz"
 	SRC_URI+=" verify-sig? ( mirror://gnu//make/${P}.tar.gz.sig )"
-	KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~x64-cygwin ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
+	KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~x64-cygwin ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
 fi
 
 LICENSE="GPL-3+"
@@ -32,6 +35,25 @@ PATCHES=(
 	"${FILESDIR}"/${PN}-4.2-default-cxx.patch
 )
 
+src_unpack() {
+	if [[ ${PV} == 9999 ]] ; then
+		git-r3_src_unpack
+
+		cd "${S}" || die
+		./bootstrap || die
+	else
+		default
+	fi
+}
+
+src_prepare() {
+	default
+
+	if [[ ${PV} == 9999 ]] ; then
+		eautoreconf
+	fi
+}
+
 src_configure() {
 	use static && append-ldflags -static
 	local myeconfargs=(


             reply	other threads:[~2022-08-29 15:31 UTC|newest]

Thread overview: 54+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-08-29 15:31 Sam James [this message]
  -- strict thread matches above, loose matches on Subject: below --
2023-05-22 16:26 [gentoo-commits] repo/gentoo:master commit in: sys-devel/make/ David Seifert
2023-05-04 11:21 Sam James
2023-04-27  4:51 Sam James
2023-04-27  4:51 Sam James
2023-04-27  4:51 Sam James
2023-04-27  4:51 Sam James
2023-04-27  4:51 Sam James
2023-04-27  4:51 Sam James
2023-04-27  4:51 Sam James
2023-04-27  4:51 Sam James
2023-03-24  1:37 Sam James
2023-02-28 21:21 Sam James
2023-02-26 20:21 Sam James
2023-02-24 18:36 Sam James
2023-01-14 22:14 Sam James
2022-10-31 15:45 Sam James
2022-10-24 11:47 Sam James
2022-10-20  3:50 Sam James
2022-09-21  2:22 Sam James
2022-09-20 23:25 Sam James
2022-04-07  3:57 Sam James
2021-01-06 15:32 Fabian Groffen
2021-01-04 17:27 Sam James
2020-12-27 18:18 Fabian Groffen
2020-12-27 12:51 Sergei Trofimovich
2020-12-24 22:06 Sergei Trofimovich
2020-12-24 18:38 Sergei Trofimovich
2020-12-21 20:35 Sam James
2020-12-21 20:35 Sam James
2020-12-21 19:45 Sam James
2020-12-21 18:27 Sam James
2020-12-21  1:37 Thomas Deutschmann
2020-05-04 17:36 Thomas Deutschmann
2020-01-20  8:41 Lars Wendler
2020-01-17 16:59 Lars Wendler
2019-05-03 23:22 Mikle Kolyada
2018-08-31  3:26 Thomas Deutschmann
2018-08-04 13:51 Thomas Deutschmann
2018-05-30 12:03 Mart Raudsepp
2018-02-19 15:47 Lars Wendler
2018-02-10 23:41 Andreas Hüttel
2017-02-25  7:42 Markus Meier
2017-02-20 14:11 Michael Haubenwallner
2017-01-29 20:43 Jeroen Roovers
2017-01-29 20:14 Fabian Groffen
2017-01-26 11:00 Agostino Sarubbo
2017-01-25 13:52 Tobias Klausmann
2017-01-24 11:46 Agostino Sarubbo
2017-01-23 16:27 Agostino Sarubbo
2017-01-23 15:46 Agostino Sarubbo
2017-01-23 13:51 Agostino Sarubbo
2016-06-11  9:22 Lars Wendler
2016-05-22 15:32 Lars Wendler

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=1661787085.4933c3aa36b15cb369014552e50cd1a2d720fd68.sam@gentoo \
    --to=sam@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