Files
gentoo/dev-scheme/elk/files/elk-3.99.8-makefile-ordering.patch
NHOrus c95cb2e9cc dev-scheme/elk: Mark as C17, enable parallel build
Package uses C function polymorphism, can't be ported to C23
without rewrite due to interpreter functions accepting func pointer
with one or two arguments, depending on function.
Fixes dependency ordering in makefiles, allowing parallel build.
Enables tests when build with gcc, as comment about 1. them beingrun
and 2. them failing if run from default test runner is false. But
noted-flaky test always fails when build with clang.
Fix fpurge problem on musl systems as we did for zsh

Closes: https://bugs.gentoo.org/943984
Closes: https://bugs.gentoo.org/936285
Bug: https://bugs.gentoo.org/880349
Bug: https://bugs.gentoo.org/942412
Signed-off-by: NHOrus <jy6x2b32pie9@yahoo.com>
Part-of: https://codeberg.org/gentoo/gentoo/pulls/422
Merges: https://codeberg.org/gentoo/gentoo/pulls/422
Signed-off-by: Sam James <sam@gentoo.org>
2026-03-28 14:13:15 +00:00

24 lines
488 B
Diff

Fix ordering problems, allow parallel build.
https://bugs.gentoo.org/880349
--- a/Makefile.am
+++ b/Makefile.am
@@ -1,6 +1,6 @@
NULL =
-SUBDIRS = include src lib scm doc examples test
+SUBDIRS = . include src lib scm doc examples test
DIST_SUBDIRS = $(SUBDIRS)
EXTRA_DIST = \
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -66,7 +66,7 @@
$(NULL)
bin_PROGRAMS = elk
-elk_LDADD = $(top_builddir)/src/libelk.la
+elk_LDADD = libelk.la
elk_SOURCES = main.c
install-exec-hook: