summaryrefslogtreecommitdiff
path: root/package/postfix/Makefile
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2011-12-04 12:02:38 +0100
committerWaldemar Brodkorb <wbx@openadk.org>2011-12-04 12:02:38 +0100
commitc46017c02278b9d195ac35616d40a009cd625d2a (patch)
tree476a97bebca1915489d818fee2e62f79dc53e10a /package/postfix/Makefile
parent37686107693fc49f21f6a7f28cdbe1a2df222eda (diff)
fix postfix segfaults by avoidance of berkeley db
Diffstat (limited to 'package/postfix/Makefile')
-rw-r--r--package/postfix/Makefile6
1 files changed, 4 insertions, 2 deletions
diff --git a/package/postfix/Makefile b/package/postfix/Makefile
index c34530fd6..8fb05cd23 100644
--- a/package/postfix/Makefile
+++ b/package/postfix/Makefile
@@ -9,8 +9,7 @@ PKG_RELEASE:= 1
PKG_MD5SUM:= b3ff47a38db920fc15bb207f42da53db
PKG_DESCR:= Postfix MTA
PKG_SECTION:= mail
-PKG_BUILDDEP:= db
-PKG_DEPENDS:= libdb
+PKG_BUILDDEP:= tinycdb
PKG_URL:= http://www.postfix.org/
PKG_SITES:= http://de.postfix.org/ftpmirror/official/
@@ -25,6 +24,9 @@ CONFIG_STYLE:= manual
ALL_TARGET:=
INSTALL_STYLE:= manual
+do-configure:
+ (cd $(WRKBUILD) && make -f Makefile.init makefiles "CCARGS=-DHAS_CDB -I$(STAGING_DIR)/usr/include" "AUXLIBS=$(STAGING_DIR)/usr/lib/libcdb.a")
+
postfix-install:
$(INSTALL_DIR) $(IDIR_POSTFIX)/etc/postfix
$(CP) $(WRKBUILD)/conf/* $(IDIR_POSTFIX)/etc/postfix