blob: 85c4a7ba29b90773e45385588b81c0d7b1fde44d (
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
31
32
33
34
35
36
37
38
39
|
$NetBSD: patch-aa,v 1.3 2002/03/10 10:58:17 jmc Exp $
--- Makefile.orig Thu Feb 28 09:46:09 2002
+++ Makefile Mon Mar 4 15:34:24 2002
@@ -1,11 +1,10 @@
-prefix = $(DESTDIR)/usr/X11R6
+prefix = $(DESTDIR)/${PREFIX}
version = 0
revision = 99
subrev = 4
-XROOT = /usr/X11R6
-INCLUDES = -I$(XROOT)/include
-LDPATH = -L$(XROOT)/lib
+INCLUDES = -I$(X11BASE)/include
+LDPATH = -L$(X11BASE)/lib -Wl,-R${X11BASE}/lib
LIBS = -lX11
CC = gcc
@@ -33,7 +32,7 @@
#DEFINES += -DDEBUG # miscellaneous debugging
#DEFINES += -DXDEBUG # show some X calls
-CFLAGS = $(INCLUDES) -DVERSION=\"$(version).$(revision).$(subrev)\" -Os -Wall $(DEBIAN)
+CFLAGS = $(INCLUDES) -DVERSION=\"$(version).$(revision).$(subrev)\" -Os -Wall
LDFLAGS = $(LDPATH) $(LIBS)
HEADERS = evilwm.h
@@ -54,8 +53,8 @@
$(CC) -c $(CFLAGS) $(DEFINES) $<
install:
- install -s evilwm $(prefix)/bin
- install evilwm.1 $(prefix)/man/man1
+ ${BSD_INSTALL_PROGRAM} evilwm $(prefix)/bin
+ ${BSD_INSTALL_MAN} evilwm.1 $(prefix)/man/man1
#gzip -9 $(prefix)/man/man1/evilwm.1
cyginstall:
|