mirror of
https://github.com/gentoo-mirror/guru.git
synced 2026-07-08 22:52:59 -04:00
www-client/chawan: update 9999
Signed-off-by: ingenarel (NeoJesus) <ingenarel_neojesus@disroot.org>
This commit is contained in:
@@ -35,7 +35,7 @@ BDEPEND="
|
||||
RDEPEND="${DEPEND}"
|
||||
|
||||
PATCHES=(
|
||||
"${FILESDIR}/makefile-491b4231.patch"
|
||||
"${FILESDIR}/makefile-35940f0f.patch"
|
||||
)
|
||||
|
||||
src_prepare(){
|
||||
|
||||
35
www-client/chawan/files/makefile-35940f0f.patch
Normal file
35
www-client/chawan/files/makefile-35940f0f.patch
Normal 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
|
||||
Reference in New Issue
Block a user