guix/gnu/packages/patches/rlwrap-no-rbgen.patch
Sören Tempel 32e0002303
gnu: rlwrap: Update to 0.48.
* gnu/packages/readline.scm (rlwrap): Update to 0.48.
[inputs]: Add libptytty.
* gnu/packages/patches/rlwrap-no-rbgen.patch: New file.
* gnu/local.mk (dist_patch_DATA): Add it.

Change-Id: Id7138bd4b4485bd4438b9140b2896b4093630c42
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
Merges: #4703
2025-12-11 15:59:38 +01:00

27 lines
821 B
Diff

Do not regenerate the completion.c file, a generated version is included
in the repository itself. Generating it requires packaging a modified
version of libredblack. Removing this Makefile rule ensure that the file
is never regenerated.
---
src/Makefile.am | 10 ----------
1 file changed, 10 deletions(-)
diff --git a/src/Makefile.am b/src/Makefile.am
index 43a6755..1ac59d5 100644
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -4,13 +4,3 @@ rlwrap_SOURCES = main.c signals.c readline.c pty.c completion.c term.c ptytty.c
AM_CFLAGS=-DDATADIR=\"@datadir@\"
-
-# use old-fashioned suffix rule for non-GNU make
-.rb.c :
- rbgen $< $@
-
-.rb.c:
- @[ $$? != 127 ] || echo "You don't seem to have rbgen (http://libredblack.sourceforge.net/). If you didn't change any .rb files, this is not a problem"
-
-
-