summaryrefslogtreecommitdiff
path: root/games/wmqstat/files/patch-Makefile
blob: 28882d2830c9d0cb527d2baac22d10a0cfcec8aa (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
26
27
28
29
30
--- ./Makefile.orig	2003-04-24 21:31:39.000000000 +0200
+++ ./Makefile	2008-04-13 13:00:54.000000000 +0200
@@ -1,14 +1,11 @@
-CC =	cc
-
-X11BASE =	/usr/X11R6
-LDIR =	-L${X11BASE}/lib
-IDIR =	-I${X11BASE}/include
+CC ?=	cc
 
-INSTALL =	install
+LDIR =	-L${LOCALBASE}/lib
+IDIR =	-I${LOCALBASE}/include
 
 LIBS =	-lX11 -lXpm -lXext
 
-CFLAGS = -O -pipe -s -Wall
+CFLAGS ?= -O -pipe -s -Wall
 
 OBJS =	appcore/wmqstat.o\
 	appcore/srv_proc.o\
@@ -23,8 +20,5 @@
 all:	${OBJS}
 	${CC} ${CFLAGS} -o wmqstat ${OBJS} ${LDIR} ${LIBS}
 
-install:
-	${INSTALL} -o root -g wheel -m 755 wmqstat ${X11BASE}/bin
-
 clean:
 	rm -f wmqstat appcore/*.o wmgeneral/*.o core