summaryrefslogtreecommitdiff
path: root/devel/eXdbm/patches/patch-aa
blob: daceeae57b84c26f839e8aabd077b60588abe588 (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
40
41
42
43
$NetBSD: patch-aa,v 1.1.1.1 2001/04/27 14:13:53 agc Exp $

--- Makefile.orig	Sat Dec 27 21:48:08 1997
+++ Makefile	Fri Apr 27 15:08:44 2001
@@ -8,7 +8,7 @@
 #CCFLAGS = -g -Wall
 CCFLAGS = -O3 -Wall
 CHECKOUT = co
-DEPEND = gccmakedep
+DEPEND = mkdep
 
 DATE = $$(date +%m%d%y)
 
@@ -21,9 +21,9 @@
 
 INCPATH = ./
 
-INCDIR = /usr/local/include/
-LIBDIR = /usr/local/lib/
-DOCDIR = /usr/local/doc/eXdbm
+INCDIR = $(PREFIX)/include/
+LIBDIR = $(PREFIX)/lib/
+DOCDIR = $(PREFIX)/share/doc/eXdbm
 
 LIBNAME = libeXdbm.a
 
@@ -35,7 +35,7 @@
 	$(CHECKOUT) $(LIBINC)
 
 depend : $(LIBSRCS)
-	  $(DEPEND) $(LIBSRCS)
+	-$(DEPEND) $(LIBSRCS)
 
 lib : $(LIBOBJS) 
 	$(AR) $(LIBNAME) $(LIBOBJS) 
@@ -78,3 +78,7 @@
 
 
 
+# DO NOT DELETE
+hash.o: hash.c /usr/include/math.h /usr/include/sys/cdefs.h \
+ /usr/include/machine/cdefs.h /usr/include/sys/cdefs_elf.h \
+ /usr/include/sys/featuretest.h /usr/include/machine/math.h hash.h