mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-08-06 00:48:18 -07:00
dev-build/remake: add 4.4_pre20250217
Similar kind of treatment as 6cf9f15700.
Closes: https://bugs.gentoo.org/938934
Signed-off-by: Sam James <sam@gentoo.org>
This commit is contained in:
@@ -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
|
||||
|
||||
79
dev-build/remake/remake-4.4_pre20250217.ebuild
Normal file
79
dev-build/remake/remake-4.4_pre20250217.ebuild
Normal file
@@ -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
|
||||
}
|
||||
Reference in New Issue
Block a user