summaryrefslogtreecommitdiff
path: root/wm/scrotwm/patches/patch-aa
blob: 18c4132b8f5c7ebaadbe1bb20433f9ee5a8b14be (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
$NetBSD: patch-aa,v 1.2 2009/03/11 20:01:43 hasso Exp $

--- Makefile.orig	2009-02-18 22:40:10 +0200
+++ Makefile	2009-03-11 21:33:20 +0200
@@ -1,13 +1,13 @@
 # $scrotwm: Makefile,v 1.8 2009/01/24 17:57:26 mcbride Exp $
-.include <bsd.xconf.mk>
 
 SUBDIR= lib
 
 PROG=scrotwm
+SRCS=scrotwm.c linux.c
 MAN=scrotwm.1
 
 CFLAGS+=-Wall -Wno-uninitialized -ggdb3
-CPPFLAGS+= -I${X11BASE}/include
+CPPFLAGS+= -I${X11BASE}/include -I./linux
 LDADD+=-lutil -L${X11BASE}/lib -lX11 -lXrandr
 
 MANDIR= ${X11BASE}/man/cat
@@ -15,4 +15,3 @@ MANDIR= ${X11BASE}/man/cat
 obj: _xenocara_obj
 
 .include <bsd.prog.mk>
-.include <bsd.xorg.mk>