e818490d69
wmname prints/sets the window manager name property of the root window similar to how hostname(1) behaves. wmname is a nice utility to fix problems with JDK versions and other broken programs assuming a reparenting window manager for instance. ok bernd@
31 lines
772 B
Plaintext
31 lines
772 B
Plaintext
$OpenBSD: patch-config_mk,v 1.1.1.1 2009/03/16 20:42:41 sturm Exp $
|
|
--- config.mk.orig Mon Mar 16 21:11:23 2009
|
|
+++ config.mk Mon Mar 16 21:15:45 2009
|
|
@@ -4,21 +4,19 @@ VERSION = 0.1
|
|
# Customize below to fit your system
|
|
|
|
# paths
|
|
-PREFIX = /usr/local
|
|
-MANPREFIX = ${PREFIX}/share/man
|
|
+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}
|
|
+INCS = -I. -I${X11INC}
|
|
LIBS = -L/usr/lib -lc -L${X11LIB} -lX11
|
|
|
|
# flags
|
|
CPPFLAGS = -DVERSION=\"${VERSION}\"
|
|
-CFLAGS = -std=c99 -pedantic -Wall -Os ${INCS} ${CPPFLAGS}
|
|
+CFLAGS += -pedantic -Wall ${INCS} ${CPPFLAGS}
|
|
LDFLAGS = -s ${LIBS}
|
|
|
|
# compiler and linker
|
|
-CC = cc
|
|
LD = ${CC}
|