mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-06-08 08:44:32 +02:00
emailed the previous maintainer and received permission to take over this aport also improve: - move the library to -libs - don't build duplicate (due to debug symbols being stripped) libduktaped that differs only in soname - instead, build libduktape with -g and split -dbg subpackage - build CLI interpreter with linenoise support - install MIT license into -doc
13 lines
477 B
Diff
13 lines
477 B
Diff
--- a/Makefile.cmdline
|
|
+++ b/Makefile.cmdline
|
|
@@ -32,8 +32,8 @@
|
|
|
|
# If you want linenoise, you can enable these. At the moment linenoise
|
|
# will cause some harmless compilation warnings.
|
|
-#CCOPTS += -DDUK_CMDLINE_FANCY -I./linenoise
|
|
-#CMDLINE_SOURCES += linenoise/linenoise.c
|
|
+CCOPTS += -DDUK_CMDLINE_FANCY -D_BSD_SOURCE -I./linenoise
|
|
+CMDLINE_SOURCES += linenoise/linenoise.c
|
|
#duk: linenoise
|
|
|
|
# Use the tools/configure.py utility to modify Duktape default configuration:
|