summaryrefslogtreecommitdiff
path: root/databases/tinycdb/patches/patch-aa
blob: fb9428ab0308afacc8766a804fa34adcb3511ddc (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
$NetBSD: patch-aa,v 1.2 2006/01/19 04:53:45 schmonz Exp $

--- Makefile.orig	2005-08-23 12:22:03.000000000 -0400
+++ Makefile
@@ -6,24 +6,24 @@
 
 VERSION = 0.75
 
-prefix=/usr/local
+prefix=@PREFIX@
 exec_prefix=$(prefix)
 bindir=$(exec_prefix)/bin
 libdir=$(exec_prefix)/lib
 syslibdir=$(libdir)
-sysconfdir=/etc
+sysconfdir=@PKG_SYSCONFDIR@
 includedir=$(prefix)/include
-mandir=$(prefix)/man
+mandir=$(prefix)/@PKGMANDIR@
 DESTDIR=
 
-CC = cc
-CFLAGS = -O
+CC ?= cc
+CFLAGS ?= -O
 CFLAGS_PIC = -fPIC
 CFLAGS_SHARED = -shared
 CFLAGS_SONAME = -Wl,--soname,
-AR = ar
-ARFLAGS = rv
-RANLIB = ranlib
+AR ?= ar
+ARFLAGS ?= rv
+RANLIB ?= ranlib
 
 NSS_CDB = libnss_cdb.so.2
 LIBBASE = libcdb