openbsd-ports/x11/st/patches/patch-config_mk
zinke bdf69da526 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 13:24:39 +00:00

34 lines
986 B
Plaintext

$OpenBSD: patch-config_mk,v 1.3 2012/11/05 13:24:39 zinke Exp $
--- config.mk.orig Fri Nov 2 20:08:27 2012
+++ config.mk Sun Nov 4 17:17:13 2012
@@ -4,20 +4,20 @@ VERSION = 0.3
# 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
-INCS = -I. -I/usr/include -I${X11INC} -I/usr/include/freetype2
-LIBS = -L/usr/lib -lc -L${X11LIB} -lX11 -lutil -lXext -lXft -lfontconfig
+INCS = -I${X11INC} -I${X11INC}/freetype2
+LIBS = -L${X11LIB} -lX11 -lutil -lXext -lXft -lfontconfig
# flags
-CPPFLAGS = -DVERSION=\"${VERSION}\"
-CFLAGS += -g -std=c99 -pedantic -Wall -Os ${INCS} ${CPPFLAGS}
-LDFLAGS += -g ${LIBS}
+CPPFLAGS += -DVERSION=\"${VERSION}\"
+CFLAGS += -std=c99 -pedantic -Wall ${INCS} ${CPPFLAGS}
+LDFLAGS += ${LIBS}
# compiler and linker
CC ?= cc