summaryrefslogtreecommitdiff
path: root/package/tinycdb
diff options
context:
space:
mode:
authorWaldemar Brodkorb <mail@waldemar-brodkorb.de>2012-07-27 10:45:02 +0200
committerWaldemar Brodkorb <mail@waldemar-brodkorb.de>2012-07-27 10:45:02 +0200
commit42dd254f5937274f164a5a7c5fb3c1f80e38e7af (patch)
tree9d2f1aa0333e04af8493d6a5f533b6e243bf5d2b /package/tinycdb
parent7f0a66667a815bb8e28b4c8b93666b92a667b485 (diff)
full build on Darwin fixes
Diffstat (limited to 'package/tinycdb')
-rw-r--r--package/tinycdb/Makefile2
-rw-r--r--package/tinycdb/patches/patch-Makefile12
-rw-r--r--package/tinycdb/patches/patch-Makefile.orig13
3 files changed, 10 insertions, 17 deletions
diff --git a/package/tinycdb/Makefile b/package/tinycdb/Makefile
index 8befb7675..79fa6d43e 100644
--- a/package/tinycdb/Makefile
+++ b/package/tinycdb/Makefile
@@ -6,7 +6,7 @@ include $(TOPDIR)/rules.mk
PKG_NAME:= tinycdb
PKG_VERSION:= 0.77
PKG_RELEASE:= 1
-PKG_MD5SUM:= 501ac8a2461eb00393e814155f3750eb
+PKG_MD5SUM:= c00e5fb96c30356ac3b67b2ab5d5641b
PKG_DESCR:= CDB implementation
PKG_SECTION:= db
PKG_URL:= http://www.corpit.ru/mjt/tinycdb/
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