mirror of
https://github.com/termux/termux-packages.git
synced 2024-11-13 14:09:19 +00:00
19 lines
620 B
Diff
19 lines
620 B
Diff
+++ ./Makefile
|
|
@@ -4,13 +4,13 @@
|
|
VERSION = 0.8
|
|
|
|
# paths
|
|
-PREFIX = /usr/local
|
|
+PREFIX = @TERMUX_PREFIX@
|
|
MANPREFIX = ${PREFIX}/share/man
|
|
DOCPREFIX = ${PREFIX}/share/doc/${NAME}
|
|
|
|
# use system flags.
|
|
-TABBED_CFLAGS = -I/usr/X11R6/include -I/usr/include/freetype2 ${CFLAGS}
|
|
-TABBED_LDFLAGS = -L/usr/X11R6/lib -lX11 -lfontconfig -lXft ${LDFLAGS}
|
|
+TABBED_CFLAGS = -I@TERMUX_PREFIX@/include -I@TERMUX_PREFIX@/include/freetype2 ${CFLAGS}
|
|
+TABBED_LDFLAGS = -L@TERMUX_PREFIX@/lib -lX11 -lfontconfig -lXft ${LDFLAGS}
|
|
TABBED_CPPFLAGS = -DVERSION=\"${VERSION}\" -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=700L
|
|
|
|
# OpenBSD (uncomment)
|