Files
guru/www-client/chawan/files/makefile-491b4231.patch
ingenarel (NeoJesus) 09af3c35ed www-client/chawan: fix 9999 hunk failure
updated the patchfile

Signed-off-by: ingenarel (NeoJesus) <ingenarel_neojesus@disroot.org>
2026-02-23 16:26:42 +06:00

33 lines
863 B
Diff

diff --git a/Makefile b/Makefile
index 1643a24b..809400fb 100644
--- a/Makefile
+++ b/Makefile
@@ -4,7 +4,7 @@ NIMC ?= $(NIM) c
OBJDIR ?= .obj
OUTDIR ?= target
# These paths are quoted in recipes.
-PREFIX ?= /usr/local
+PREFIX ?= /usr
MANPREFIX ?= $(PREFIX)/share/man
MANPREFIX1 ?= $(MANPREFIX)/man1
MANPREFIX5 ?= $(MANPREFIX)/man5
@@ -53,17 +53,7 @@ FORCE_POLL_MODE ?= 0
chac_flags =
# Nim compiler flags
-ifeq ($(TARGET),debug)
-FLAGS += -d:debug --debugger:native
-CFLAGS += -DDUMP_LEAKS=1
-else ifeq ($(TARGET),release)
-chac_flags = -s
-FLAGS += -d:release -d:strip -d:lto
-else ifeq ($(TARGET),release0)
-FLAGS += -d:release --stacktrace:on
-else ifeq ($(TARGET),release1)
-FLAGS += -d:release --debugger:native
-endif
+FLAGS += -d:release
ssl_link = http gemini sftp
tohtml_link = gopher2html md2html ansi2html gmi2html dirlist2html img2html