summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlfred Wingate <parona@protonmail.com>2024-08-26 19:31:49 +0300
committerArsen Arsenović <arsen@gentoo.org>2024-09-18 15:06:30 +0200
commitbd3739bf8a2151db6bb549bd18a9737cabe8c3f5 (patch)
tree3e79756eb1298c3edc331d588f5749dae00826c5
parentapp-shells/gash: switch to new guile mechanism (diff)
downloadgentoo-bd3739bf8a2151db6bb549bd18a9737cabe8c3f5.tar.gz
gentoo-bd3739bf8a2151db6bb549bd18a9737cabe8c3f5.tar.bz2
gentoo-bd3739bf8a2151db6bb549bd18a9737cabe8c3f5.zip
dev-build/remake: switch to new guile mechanism
Signed-off-by: Alfred Wingate <parona@protonmail.com> Signed-off-by: Arsen Arsenović <arsen@gentoo.org>
-rw-r--r--dev-build/remake/remake-4.3.1.1.6-r100.ebuild58
-rw-r--r--profiles/package.mask1
2 files changed, 59 insertions, 0 deletions
diff --git a/dev-build/remake/remake-4.3.1.1.6-r100.ebuild b/dev-build/remake/remake-4.3.1.1.6-r100.ebuild
new file mode 100644
index 000000000000..7a08d41b8542
--- /dev/null
+++ b/dev-build/remake/remake-4.3.1.1.6-r100.ebuild
@@ -0,0 +1,58 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+GUILE_COMPAT=( 2-2 3-0 )
+
+inherit guile-single flag-o-matic
+
+MY_MAKE_BASE=$(ver_cut 1-2)
+MY_REMAKE_PATCH=$(ver_cut 4-)
+MY_P="${PN}-${MY_MAKE_BASE}+dbg-${MY_REMAKE_PATCH}"
+
+DESCRIPTION="Patched version of GNU Make with improved error reporting, tracing and debugging"
+HOMEPAGE="http://bashdb.sourceforge.net/remake/"
+SRC_URI="https://github.com/rocky/remake/releases/download/${MY_P}/${MY_P}.tar.gz"
+S="${WORKDIR}"/${MY_P}
+
+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} )"
+
+RDEPEND="
+ guile? ( ${GUILE_DEPS} )
+ readline? ( sys-libs/readline:0= )
+"
+DEPEND="${RDEPEND}"
+
+pkg_setup() {
+ use guile && guile-single_pkg_setup
+}
+
+src_prepare() {
+ default
+
+ use guile && guile_bump_sources
+}
+
+src_configure() {
+ # 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)
+}
+
+src_install() {
+ default
+
+ use guile && guile_unstrip_ccache
+
+ # delete files GNU make owns and remake doesn't care about.
+ rm -r "${ED}"/usr/include || die
+ rm "${ED}"/usr/share/info/make.info* || die
+}
diff --git a/profiles/package.mask b/profiles/package.mask
index 546a400e094d..fb82a27d4efd 100644
--- a/profiles/package.mask
+++ b/profiles/package.mask
@@ -358,6 +358,7 @@ dev-scheme/guile:3.0
>=dev-build/make-4.4.1-r100
>=app-office/gnucash-5.8-r100
>=app-shells/gash-0.3.0-r100
+>=dev-build/remake-4.3.1.1.6-r100
# Eli Schwartz <eschwartz@gentoo.org> (2024-08-15)
# Abandoned upstream since 2011, unmaintained in gentoo since 2017. Tons of