dev-build/parmasan-remake: new package, add 4.3_p20240220

Signed-off-by: Sam James <sam@gentoo.org>
This commit is contained in:
Sam James 2025-02-21 15:21:03 +00:00
parent 1010d9b4e4
commit bc750f1cd1
No known key found for this signature in database
GPG Key ID: 738409F520DF9190
3 changed files with 77 additions and 0 deletions

View File

@ -0,0 +1 @@
DIST parmasan-remake-4.3_p20240220.gh.tar.gz 1587763 BLAKE2B 901f0ca125b4f4dbfa71a175dfc42a0d4d239530563e3cbf971c7156aa51382f0e0ca5e5117c18b082f142842be16fce70b24a889c5f5ecf28e7541c06a467b9 SHA512 50deea4d526abb3de20009a54593f71995caa16e270a6b6343a965d91f285be6b6ba1a7f8ebea0c856fcee8785747a5ee7a9e4a166fe64bc99bec989a187f095

View File

@ -0,0 +1,11 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer type="person">
<email>sam@gentoo.org</email>
<name>Sam James</name>
</maintainer>
<upstream>
<remote-id type="github">ispras/parmasan-remake</remote-id>
</upstream>
</pkgmetadata>

View File

@ -0,0 +1,65 @@
# Copyright 1999-2025 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
inherit autotools flag-o-matic
REMAKE_COMMIT="ff799578de24cf4be6ec230702ff5f978432ca51"
DESCRIPTION="Patched dev-build/remake for dev-build/parmasan, a parallel make sanitizer"
HOMEPAGE="https://github.com/ispras/parmasan-remake"
SRC_URI="https://github.com/ispras/parmasan-remake/archive/${REMAKE_COMMIT}.tar.gz -> ${P}.gh.tar.gz"
S="${WORKDIR}"/${PN}-${REMAKE_COMMIT}
LICENSE="GPL-3+"
SLOT="0"
KEYWORDS="~amd64"
IUSE="readline"
# Test failures caused by '--parmasan-strategy' appearing which is the point
# of the project. The tests could possibly be adapted but aren't right now.
RESTRICT="test"
RDEPEND="
readline? ( sys-libs/readline:= )
"
DEPEND="${RDEPEND}"
src_prepare() {
default
eautoreconf
}
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
local myeconfargs=(
--without-guile
--disable-nls
--with-make-name=${PN}
# parmasan doesn't support it, turn it off
# https://github.com/ispras/parmasan?tab=readme-ov-file#building
--disable-posix-spawn
# Fails to install w/ 'make.texi:5: @include: could not find version.texi'
MAKEINFO=:
)
econf "${myeconfargs[@]}"
}
src_install() {
default
# Avoid collision with dev-build/remake, not that parmasan seems
# to need this file anyway.
mv "${ED}"/usr/include/gnuremake.h "${ED}"/usr/include/gnuparmasan-remake.h || die
}