2013-04-19 15:54:34 -04:00
|
|
|
$OpenBSD: patch-config_mk,v 1.4 2013/04/19 19:54:34 bentley Exp $
|
|
|
|
--- config.mk.orig Fri Mar 29 12:13:26 2013
|
|
|
|
+++ config.mk Thu Apr 4 22:18:33 2013
|
|
|
|
@@ -4,24 +4,24 @@ VERSION = 0.4
|
2011-09-23 10:41:31 -04:00
|
|
|
# Customize below to fit your system
|
|
|
|
|
|
|
|
# paths
|
|
|
|
-PREFIX = /usr/local
|
|
|
|
-MANPREFIX = ${PREFIX}/share/man
|
|
|
|
+PREFIX ?= /usr/local
|
|
|
|
+MANPREFIX = ${PREFIX}/man
|
|
|
|
|
|
|
|
-X11INC = /usr/X11R6/include
|
|
|
|
-X11LIB = /usr/X11R6/lib
|
|
|
|
+X11INC = ${X11BASE}/include
|
|
|
|
+X11LIB = ${X11BASE}/lib
|
|
|
|
|
|
|
|
# includes and libs
|
2013-04-19 15:54:34 -04:00
|
|
|
INCS = -I. -I/usr/include -I${X11INC} \
|
|
|
|
- $(shell pkg-config --cflags fontconfig) \
|
|
|
|
- $(shell pkg-config --cflags freetype2)
|
|
|
|
+ `pkg-config --cflags fontconfig` \
|
|
|
|
+ `pkg-config --cflags freetype2`
|
|
|
|
LIBS = -L/usr/lib -lc -L${X11LIB} -lX11 -lutil -lXext -lXft \
|
|
|
|
- $(shell pkg-config --libs fontconfig) \
|
|
|
|
- $(shell pkg-config --libs freetype2)
|
|
|
|
+ `pkg-config --libs fontconfig` \
|
|
|
|
+ `pkg-config --libs freetype2`
|
2011-09-23 10:41:31 -04:00
|
|
|
|
|
|
|
# flags
|
2013-04-19 15:54:34 -04:00
|
|
|
-CPPFLAGS = -DVERSION=\"${VERSION}\" -D_BSD_SOURCE -D_XOPEN_SOURCE=600
|
|
|
|
-CFLAGS += -g -std=c99 -pedantic -Wall -Wvariadic-macros -Os ${INCS} ${CPPFLAGS}
|
Update st to version 0.3
From the suckless announcement, the biggest changes are:
* New drawing code, which is way more faster and comparable to the
other terminals out there.
* Many new escape sequences are supported:
* setting the title
* LNM, KAM, SI, SO, SUB, CAN, DA, DECID. OSC, DSC, PM, APC,
CHT, HTS, CBT, SM, RM, standout mode ??? (See st.info.)
* Linedrawing is now supported
* Xft and Fontcache is now used to draw fonts.
* support for italic and bold italic font drawing
* Some more commandline parameters are available. (See manpage.)
* easy debugging with: st -o - | cat -v
* nyancat(1) works.
* external support of utmp entries by using utmp(1)
ok gonzalo@
2012-11-05 08:24:39 -05:00
|
|
|
-LDFLAGS += -g ${LIBS}
|
2013-04-19 15:54:34 -04:00
|
|
|
+CPPFLAGS += -DVERSION=\"${VERSION}\" -D_BSD_SOURCE -D_XOPEN_SOURCE=600
|
|
|
|
+CFLAGS += -std=c99 -pedantic -Wall -Wvariadic-macros ${INCS} ${CPPFLAGS}
|
2011-09-23 10:41:31 -04:00
|
|
|
+LDFLAGS += ${LIBS}
|
|
|
|
|
|
|
|
# compiler and linker
|
|
|
|
CC ?= cc
|