bket 9fbdf37a9a pledge spectrwm.
While here:
- order WANTLIB
- drop -g from CFLAGS, which is covered in DEBUG

Discussed offlist with gonzalo@ (MAINTAINER) who responded with "I think
we still need to push this upstream, BUT go ahead with the commit for
now, and then we can delete the patches."
2019-01-04 16:21:43 +00:00

31 lines
1.1 KiB
Plaintext

$OpenBSD: patch-Makefile,v 1.9 2019/01/04 16:21:43 bket Exp $
Index: Makefile
--- Makefile.orig
+++ Makefile
@@ -8,11 +8,11 @@ SUBDIR= lib
PROG=spectrwm
MAN=spectrwm.1
-CFLAGS+=-std=c99 -Wmissing-prototypes -Wall -Wextra -Wshadow -Wno-uninitialized -g
+CFLAGS+=-std=c99 -Wmissing-prototypes -Wall -Wextra -Wshadow -Wno-uninitialized
# Uncomment define below to disallow user settable clock format string
#CFLAGS+=-DSWM_DENY_CLOCK_FORMAT
CPPFLAGS+= -I${X11BASE}/include -I${X11BASE}/include/freetype2
-LDADD+=-lutil -L${X11BASE}/lib -lX11 -lX11-xcb -lxcb-util -lxcb-icccm -lxcb-keysyms -lxcb-randr -lxcb-xtest -lXft -lXcursor
+LDADD+=-lutil -L${X11BASE}/lib -lX11 -lX11-xcb -lxcb -lxcb-util -lxcb-icccm -lxcb-keysyms -lxcb-randr -lxcb-xtest -lXft -lXcursor
BUILDVERSION != sh "${.CURDIR}/buildver.sh"
.if !${BUILDVERSION} == ""
CPPFLAGS+= -DSPECTRWM_BUILDSTR=\"$(BUILDVERSION)\"
@@ -22,8 +22,8 @@ MANDIR= ${PREFIX}/man/man
obj: _xenocara_obj
-beforeinstall:
- ln -sf ${PROG} ${BINDIR}/scrotwm
+#beforeinstall:
+# ln -sf ${PROG} ${BINDIR}/scrotwm
spectrwm.html: spectrwm.1
mandoc -Thtml ${.CURDIR}/spectrwm.1 > spectrwm.html