openbsd-ports/x11/wmname/patches/patch-config_mk
2022-03-11 20:15:18 +00:00

30 lines
704 B
Plaintext

--- 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}