blob: a8377b150b646c575f31a92480192c3d85f73c70 (
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
|
--- Makefile.bsd.orig Tue Mar 29 18:49:22 2005
+++ Makefile.bsd Sat Dec 2 12:45:13 2006
@@ -69,12 +69,11 @@
ECHO ?= @echo
# Paths
-ROOT =
exec_prefix = ${prefix}
-bindir = $(ROOT)${exec_prefix}/bin
-mandir = $(ROOT)${prefix}/man/man1
+bindir = ${exec_prefix}/bin
+mandir = ${prefix}/man/man1
ifeq ($(OS), FreeBSD)
-resdir = $(ROOT)/usr/X11R6/lib/X11
+resdir = ${LOCALBASE}/lib/X11
else
resdir = $(LOCALBASE)/lib/X11
endif
@@ -117,7 +116,7 @@
ifndef USER_DBDIR
DEFS += -DEPG_DB_DIR=\"$(SYS_DBDIR)\"
-INST_DB_DIR = $(ROOT)$(SYS_DBDIR)
+INST_DB_DIR = $(SYS_DBDIR)
INST_DB_PERM = 0777
endif
@@ -127,6 +126,7 @@
CFLAGS ?= $(OPTFLAGS)
CFLAGS += $(WARN) $(INCS) $(DEFS)
#LDLIBS += -pg
+BUILD_DIR= ${WRKSRC}
all :: printconfig
|