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: dev-build/remake/
Date: Fri, 21 Feb 2025 14:54:27 +0000 (UTC)	[thread overview]
Message-ID: <1740149645.8841ec6b97484c22fcf7a84ffda43bbadfb3e457.sam@gentoo> (raw)

commit:     8841ec6b97484c22fcf7a84ffda43bbadfb3e457
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Fri Feb 21 14:53:39 2025 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Fri Feb 21 14:54:05 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8841ec6b

dev-build/remake: add 4.4_pre20250217

Similar kind of treatment as 6cf9f15700ecffad5ae8b6dc2d8365881848a47d.

Closes: https://bugs.gentoo.org/938934
Signed-off-by: Sam James <sam <AT> gentoo.org>

 dev-build/remake/Manifest                      |  1 +
 dev-build/remake/remake-4.4_pre20250217.ebuild | 79 ++++++++++++++++++++++++++
 2 files changed, 80 insertions(+)

diff --git a/dev-build/remake/Manifest b/dev-build/remake/Manifest
index 880773ec9073..9961da6f3e01 100644
--- a/dev-build/remake/Manifest
+++ b/dev-build/remake/Manifest
@@ -1 +1,2 @@
 DIST remake-4.3+dbg-1.6.tar.gz 2596911 BLAKE2B 4d4e90bc9b6e0c36eea3b8b2c419ea1af8e37b3dc575969fe853f683da983e0ea73a0a3668adf448dfdf4b2dffc079f197fcb66139cac382df551cf34ea4d813 SHA512 d4f0ed0afa0bebf49e0cf6ef3fcfb0915fd457477424b6ffb5f06c6d2faf8d79bbdc9119a736c24c0787b23ceaeccf072e03a654dc01d05c08c88e030ae33539
+DIST remake-4.4_pre20250217.gh.tar.gz 1586468 BLAKE2B cfdb818c517b7416018c789160426dd20775c19f95875a98c261aec8c9b2f6eaca309ebfdb9df41014b2bf95a49eb96dc52c1a10fc30a9acd18f61ba710055f0 SHA512 10387591f61bc2704be9cdf41503b6e4c97e7b19039a2e106cc6f643be11c8dc7db139c765fcdebba820047a4ad470af7c5bcd57a30d54a8fad8302acb5f148e

diff --git a/dev-build/remake/remake-4.4_pre20250217.ebuild b/dev-build/remake/remake-4.4_pre20250217.ebuild
new file mode 100644
index 000000000000..09c7e0627d92
--- /dev/null
+++ b/dev-build/remake/remake-4.4_pre20250217.ebuild
@@ -0,0 +1,79 @@
+# Copyright 1999-2025 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+MY_P="${PN}-${PV:0:3}-${PV:4}"
+
+GUILE_COMPAT=( 2-2 3-0 )
+
+inherit guile-single flag-o-matic
+
+DESCRIPTION="Patched version of GNU Make with improved error reporting, tracing and debugging"
+HOMEPAGE="https://bashdb.sourceforge.net/remake/"
+
+if [[ ${PV} == *_pre* ]] ; then
+	inherit autotools
+
+	# remake for newer remake versions doesn't (yet?) have tags, so we
+	# take snapshots. Make sure to pick the right branch.
+	REMAKE_COMMIT="4ad367fd62caec8fcaa4dc1cc481a1e4d8bf6a7d"
+	SRC_URI="
+		https://github.com/Trepan-Debuggers/remake/archive/${REMAKE_COMMIT}.tar.gz -> ${P}.gh.tar.gz
+	"
+	S="${WORKDIR}"/${PN}-${REMAKE_COMMIT}
+else
+	SRC_URI="https://github.com/rocky/remake/releases/download/${MY_P}/${MY_P}.tar.gz"
+	S="${WORKDIR}"/${MY_P}
+fi
+
+LICENSE="GPL-3"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~m68k ~mips ~ppc ~ppc64 ~s390 ~sparc ~x86"
+IUSE="guile readline"
+REQUIRED_USE="guile? ( ${GUILE_REQUIRED_USE} )"
+
+# Tests fail with a link error
+RESTRICT="test"
+
+RDEPEND="
+	guile? ( ${GUILE_DEPS} )
+	readline? ( sys-libs/readline:= )
+"
+DEPEND="${RDEPEND}"
+
+pkg_setup() {
+	use guile && guile-single_pkg_setup
+}
+
+src_prepare() {
+	default
+
+	[[ ${PV} == *_pre* ]] && eautoreconf
+
+	use guile && guile_bump_sources
+}
+
+src_configure() {
+	# Fixed in upstream gnulib but not yet propagated into make (bug #938934)
+	append-cflags -std=gnu17
+	# Fixed in upstream make/gnulib, just not yet propagated into remake (bug #863827)
+	filter-lto
+
+	use readline || export vl_cv_lib_readline=no
+	econf \
+		$(use_with guile) \
+		--disable-nls \
+		MAKEINFO=:
+}
+
+src_install() {
+	default
+
+	use guile && guile_unstrip_ccache
+
+	# delete files GNU make owns and remake doesn't care about.
+	# (commented out in *_pre, but may be needed on proper releases)
+	#rm -r "${ED}"/usr/include || die
+	#rm "${ED}"/usr/share/info/remake.info* || die
+}


             reply	other threads:[~2025-02-21 14:54 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-02-21 14:54 Sam James [this message]
  -- strict thread matches above, loose matches on Subject: below --
2025-02-21 14:54 [gentoo-commits] repo/gentoo:master commit in: dev-build/remake/ Sam James
2024-11-19 14:10 Sam James
2024-11-08 11:57 Sam James
2024-11-08  3:54 Sam James
2024-03-12  6:45 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=1740149645.8841ec6b97484c22fcf7a84ffda43bbadfb3e457.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