summaryrefslogtreecommitdiff
path: root/package/tinycdb/patches
diff options
context:
space:
mode:
Diffstat (limited to 'package/tinycdb/patches')
-rw-r--r--package/tinycdb/patches/patch-Makefile12
-rw-r--r--package/tinycdb/patches/patch-Makefile.orig13
2 files changed, 9 insertions, 16 deletions
diff --git a/package/tinycdb/patches/patch-Makefile b/package/tinycdb/patches/patch-Makefile
index f539666f7..6a805a193 100644
--- a/package/tinycdb/patches/patch-Makefile
+++ b/package/tinycdb/patches/patch-Makefile
@@ -1,5 +1,5 @@
--- tinycdb-0.77.orig/Makefile 2009-01-31 18:12:21.000000000 +0100
-+++ tinycdb-0.77/Makefile 2011-12-04 11:35:29.779689052 +0100
++++ tinycdb-0.77/Makefile 2012-07-26 13:52:51.000000000 +0200
@@ -7,7 +7,7 @@
VERSION = 0.77
@@ -9,7 +9,7 @@
exec_prefix=$(prefix)
bindir=$(exec_prefix)/bin
libdir=$(exec_prefix)/lib
-@@ -18,8 +18,8 @@ mandir=$(prefix)/man
+@@ -18,12 +18,12 @@ mandir=$(prefix)/man
NSSCDB_DIR = $(sysconfdir)
DESTDIR=
@@ -18,5 +18,11 @@
+CC ?= cc
+CFLAGS ?= -O
- AR = ar
+-AR = ar
++AR ?= ar
ARFLAGS = rv
+-RANLIB = ranlib
++RANLIB ?= ranlib
+
+ NSS_CDB = libnss_cdb.so.2
+ LIBBASE = libcdb
diff --git a/package/tinycdb/patches/patch-Makefile.orig b/package/tinycdb/patches/patch-Makefile.orig
deleted file mode 100644
index 73ae2cd10..000000000
--- a/package/tinycdb/patches/patch-Makefile.orig
+++ /dev/null
@@ -1,13 +0,0 @@
---- tinycdb-0.77.orig/Makefile 2009-01-31 18:12:21.000000000 +0100
-+++ tinycdb-0.77/Makefile 2011-12-04 11:34:00.495686810 +0100
-@@ -18,8 +18,8 @@ mandir=$(prefix)/man
- NSSCDB_DIR = $(sysconfdir)
- DESTDIR=
-
--CC = cc
--CFLAGS = -O
-+CC ?= cc
-+CFLAGS ?= -O
-
- AR = ar
- ARFLAGS = rv