termux-packages/x11-packages/st/config.mk.patch

28 lines
778 B
Diff
Raw Normal View History

2019-07-09 19:01:18 +02:00
diff -uNr st-0.8.2/config.mk st-0.8.2.mod/config.mk
--- st-0.8.2/config.mk 2019-02-09 13:50:41.000000000 +0200
+++ st-0.8.2.mod/config.mk 2019-07-09 19:55:40.777392265 +0300
@@ -4,11 +4,11 @@
# Customize below to fit your system
# paths
-PREFIX = /usr/local
+PREFIX = @TERMUX_PREFIX@
MANPREFIX = $(PREFIX)/share/man
-X11INC = /usr/X11R6/include
-X11LIB = /usr/X11R6/lib
+X11INC = @TERMUX_PREFIX@/include/X11
+X11LIB = @TERMUX_PREFIX@/lib
PKG_CONFIG = pkg-config
@@ -16,7 +16,7 @@
INCS = -I$(X11INC) \
`$(PKG_CONFIG) --cflags fontconfig` \
`$(PKG_CONFIG) --cflags freetype2`
-LIBS = -L$(X11LIB) -lm -lrt -lX11 -lutil -lXft \
+LIBS = -L$(X11LIB) -lm -lX11 -lXft \
`$(PKG_CONFIG) --libs fontconfig` \
`$(PKG_CONFIG) --libs freetype2`