app-misc/geneweb: fix build

Closes: https://bugs.gentoo.org/942818
Signed-off-by: Alfredo Tupone <tupone@gentoo.org>
This commit is contained in:
Alfredo Tupone
2025-03-08 23:55:10 +01:00
parent eeef02a808
commit 2fa56b0c2a
2 changed files with 16 additions and 2 deletions

View File

@@ -0,0 +1,11 @@
--- a/Makefile 2025-03-08 23:40:30.912030749 +0100
+++ b/Makefile 2025-03-08 23:41:45.208119545 +0100
@@ -44,7 +44,7 @@
> $@ \
&& echo " Done."
-bin/gwrepl/.depend:
+bin/gwrepl/.depend: bin/gwrepl/dune lib/gwdb/dune lib/util/dune lib/core/dune
@echo -n "Generating $@…"
@pwd > $@
@dune top bin/gwrepl >> $@

View File

@@ -49,7 +49,10 @@ BDEPEND="
dev-ml/findlib
test? ( dev-ml/ounit2 )"
PATCHES=( "${FILESDIR}"/${P}-gentoo.patch )
PATCHES=(
"${FILESDIR}"/${P}-gentoo.patch
"${FILESDIR}"/${P}-shuffle.patch
)
src_prepare() {
default
@@ -64,7 +67,7 @@ src_configure() {
}
src_compile() {
emake distrib
emake -j1 distrib
}
src_install() {