www-client/chawan: update 9999

Signed-off-by: ingenarel (NeoJesus) <ingenarel_neojesus@disroot.org>
This commit is contained in:
ingenarel (NeoJesus)
2026-06-09 04:06:31 +06:00
parent cd758ac90e
commit f15060ab4f
2 changed files with 36 additions and 1 deletions

View File

@@ -35,7 +35,7 @@ BDEPEND="
RDEPEND="${DEPEND}"
PATCHES=(
"${FILESDIR}/makefile-491b4231.patch"
"${FILESDIR}/makefile-35940f0f.patch"
)
src_prepare(){

View File

@@ -0,0 +1,35 @@
diff --git a/Makefile b/Makefile
index 0c8f67aa..dfd18bf0 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,20 +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),release-nolto)
-chac_flags = -s
-FLAGS += -d:release -d:strip
-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