summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEray Aslan <eras@gentoo.org>2011-11-21 08:18:00 +0000
committerEray Aslan <eras@gentoo.org>2011-11-21 08:18:00 +0000
commit110bbb516a6374afa1174d98e9625f35e9a18072 (patch)
tree22c24c98d8ee8eb2dbb90f55a1b64f00e5ce6cce /mail-mta
parentVersion bump. (diff)
downloadgentoo-2-110bbb516a6374afa1174d98e9625f35e9a18072.tar.gz
gentoo-2-110bbb516a6374afa1174d98e9625f35e9a18072.tar.bz2
gentoo-2-110bbb516a6374afa1174d98e9625f35e9a18072.zip
Do not change default DB type unnecessarily
(Portage version: 2.1.10.36/cvs/Linux x86_64)
Diffstat (limited to 'mail-mta')
-rw-r--r--mail-mta/postfix/ChangeLog5
-rw-r--r--mail-mta/postfix/postfix-2.9_pre20111120.ebuild11
2 files changed, 11 insertions, 5 deletions
diff --git a/mail-mta/postfix/ChangeLog b/mail-mta/postfix/ChangeLog
index a41abbd6a75e..25f2b6cfa290 100644
--- a/mail-mta/postfix/ChangeLog
+++ b/mail-mta/postfix/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for mail-mta/postfix
# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/mail-mta/postfix/ChangeLog,v 1.303 2011/11/21 07:47:01 eras Exp $
+# $Header: /var/cvsroot/gentoo-x86/mail-mta/postfix/ChangeLog,v 1.304 2011/11/21 08:18:00 eras Exp $
+
+ 21 Nov 2011; Eray Aslan <eras@gentoo.org> postfix-2.9_pre20111120.ebuild:
+ Do not change default DB type unnecessarily
*postfix-2.9_pre20111120 (21 Nov 2011)
diff --git a/mail-mta/postfix/postfix-2.9_pre20111120.ebuild b/mail-mta/postfix/postfix-2.9_pre20111120.ebuild
index a389876e10d3..398f1593908f 100644
--- a/mail-mta/postfix/postfix-2.9_pre20111120.ebuild
+++ b/mail-mta/postfix/postfix-2.9_pre20111120.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2011 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/mail-mta/postfix/postfix-2.9_pre20111120.ebuild,v 1.1 2011/11/21 07:47:01 eras Exp $
+# $Header: /var/cvsroot/gentoo-x86/mail-mta/postfix/postfix-2.9_pre20111120.ebuild,v 1.2 2011/11/21 08:18:00 eras Exp $
EAPI=4
@@ -128,12 +128,15 @@ src_configure() {
fi
if ! use berkdb; then
- # change default hash format from Berkeley DB to cdb
- sed -i -e "s|#define HAS_DB$|//#define HAS_DB|g" -e "s/hash/cdb/" \
+ sed -i -e "s|#define HAS_DB$|//#define HAS_DB|g" \
src/util/sys_defs.h || die
+ if use cdb; then
+ # change default hash format from Berkeley DB to cdb
+ sed -i -e "s/hash/cdb/" src/util/sys_defs.h || die
+ fi
fi
- if use cdb ; then
+ if use cdb; then
mycc="${mycc} -DHAS_CDB -I/usr/include/cdb"
CDB_LIBS=""
# Tinycdb is preferred.