diff options
author | Waldemar Brodkorb <wbx@openadk.org> | 2011-12-04 12:02:38 +0100 |
---|---|---|
committer | Waldemar Brodkorb <wbx@openadk.org> | 2011-12-04 12:02:38 +0100 |
commit | c46017c02278b9d195ac35616d40a009cd625d2a (patch) | |
tree | 476a97bebca1915489d818fee2e62f79dc53e10a /package/tinycdb | |
parent | 37686107693fc49f21f6a7f28cdbe1a2df222eda (diff) |
fix postfix segfaults by avoidance of berkeley db
Diffstat (limited to 'package/tinycdb')
-rw-r--r-- | package/tinycdb/.Makefile.swp | bin | 0 -> 12288 bytes | |||
-rw-r--r-- | package/tinycdb/Makefile | 28 | ||||
-rw-r--r-- | package/tinycdb/patches/patch-Makefile | 22 | ||||
-rw-r--r-- | package/tinycdb/patches/patch-Makefile.orig | 13 |
4 files changed, 63 insertions, 0 deletions
diff --git a/package/tinycdb/.Makefile.swp b/package/tinycdb/.Makefile.swp Binary files differnew file mode 100644 index 000000000..6d6c5e842 --- /dev/null +++ b/package/tinycdb/.Makefile.swp diff --git a/package/tinycdb/Makefile b/package/tinycdb/Makefile new file mode 100644 index 000000000..79fa6d43e --- /dev/null +++ b/package/tinycdb/Makefile @@ -0,0 +1,28 @@ +# This file is part of the OpenADK project. OpenADK is copyrighted +# material, please see the LICENCE file in the top-level directory. + +include $(TOPDIR)/rules.mk + +PKG_NAME:= tinycdb +PKG_VERSION:= 0.77 +PKG_RELEASE:= 1 +PKG_MD5SUM:= c00e5fb96c30356ac3b67b2ab5d5641b +PKG_DESCR:= CDB implementation +PKG_SECTION:= db +PKG_URL:= http://www.corpit.ru/mjt/tinycdb/ +PKG_SITES:= http://www.corpit.ru/mjt/tinycdb/ + +DISTFILES:= ${PKG_NAME}_${PKG_VERSION}.tar.gz + +include $(TOPDIR)/mk/package.mk + +$(eval $(call PKG_template,TINYCDB,tinycdb,$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION})) + +CONFIG_STYLE:= manual + +tinycdb-install: + $(INSTALL_DIR) $(IDIR_TINYCDB)/usr/lib + $(INSTALL_BIN) $(WRKINST)/usr/lib/libcdb.a \ + $(IDIR_TINYCDB)/usr/lib + +include ${TOPDIR}/mk/pkg-bottom.mk diff --git a/package/tinycdb/patches/patch-Makefile b/package/tinycdb/patches/patch-Makefile new file mode 100644 index 000000000..f539666f7 --- /dev/null +++ b/package/tinycdb/patches/patch-Makefile @@ -0,0 +1,22 @@ +--- 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 +@@ -7,7 +7,7 @@ + + VERSION = 0.77 + +-prefix=/usr/local ++prefix=/usr + exec_prefix=$(prefix) + bindir=$(exec_prefix)/bin + libdir=$(exec_prefix)/lib +@@ -18,8 +18,8 @@ mandir=$(prefix)/man + NSSCDB_DIR = $(sysconfdir) + DESTDIR= + +-CC = cc +-CFLAGS = -O ++CC ?= cc ++CFLAGS ?= -O + + AR = ar + ARFLAGS = rv diff --git a/package/tinycdb/patches/patch-Makefile.orig b/package/tinycdb/patches/patch-Makefile.orig new file mode 100644 index 000000000..73ae2cd10 --- /dev/null +++ b/package/tinycdb/patches/patch-Makefile.orig @@ -0,0 +1,13 @@ +--- 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 |