1
0
mirror of https://github.com/termux/termux-packages synced 2024-06-18 14:17:05 +00:00
termux-packages/packages/cbonsai/makefile.patch
2022-10-12 13:39:35 +02:00

15 lines
568 B
Diff

diff -Naur cbonsai-v1.3.1/Makefile cbonsai-v1.3.1.mod/Makefile
--- cbonsai-v1.3.1/Makefile 2021-08-15 05:04:52.000000000 +0800
+++ cbonsai-v1.3.1.mod/Makefile 2022-10-10 18:52:40.996402685 +0800
@@ -1,9 +1,8 @@
.POSIX:
-CC = cc
PKG_CONFIG ?= pkg-config
CFLAGS += -Wall -Wextra -Wshadow -Wpointer-arith -Wcast-qual -pedantic $(shell $(PKG_CONFIG) --cflags ncursesw panelw)
LDLIBS = $(shell $(PKG_CONFIG) --libs ncursesw panelw || echo "-lncursesw -ltinfo -lpanelw")
-PREFIX = /usr/local
+PREFIX = @TERMUX_PREFIX@
MANDIR = $(PREFIX)/share/man
cbonsai: cbonsai.c