diff options
author | Krzysztof Pawlik <nelchael@gentoo.org> | 2006-10-21 11:42:20 +0000 |
---|---|---|
committer | Krzysztof Pawlik <nelchael@gentoo.org> | 2006-10-21 11:42:20 +0000 |
commit | 76f8173cfec10db78895fc9a172ef11fa71f5e74 (patch) | |
tree | f551675e3b3ad1c2743aa9430ce62890c8b57d89 /net-im/jabberd | |
parent | Add memdebug for net-im/jabberd. (diff) | |
download | gentoo-2-76f8173cfec10db78895fc9a172ef11fa71f5e74.tar.gz gentoo-2-76f8173cfec10db78895fc9a172ef11fa71f5e74.tar.bz2 gentoo-2-76f8173cfec10db78895fc9a172ef11fa71f5e74.zip |
Add memdebug USE flag, see bug #152065.
(Portage version: 2.1.2_pre3-r6)
Diffstat (limited to 'net-im/jabberd')
-rw-r--r-- | net-im/jabberd/ChangeLog | 6 | ||||
-rw-r--r-- | net-im/jabberd/jabberd-2.0.11-r1.ebuild | 19 |
2 files changed, 19 insertions, 6 deletions
diff --git a/net-im/jabberd/ChangeLog b/net-im/jabberd/ChangeLog index 38c7334e9891..2c3da95c9283 100644 --- a/net-im/jabberd/ChangeLog +++ b/net-im/jabberd/ChangeLog @@ -1,6 +1,10 @@ # ChangeLog for net-im/jabberd # Copyright 2000-2006 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/net-im/jabberd/ChangeLog,v 1.87 2006/10/20 11:39:37 nelchael Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-im/jabberd/ChangeLog,v 1.88 2006/10/21 11:42:20 nelchael Exp $ + + 21 Oct 2006; Krzysiek Pawlik <nelchael@gentoo.org> + jabberd-2.0.11-r1.ebuild: + Add memdebug USE flag, see bug #152065. 20 Oct 2006; Krzysiek Pawlik <nelchael@gentoo.org> jabberd-1.4.4-r3.ebuild: diff --git a/net-im/jabberd/jabberd-2.0.11-r1.ebuild b/net-im/jabberd/jabberd-2.0.11-r1.ebuild index c56b967b2920..5df62f8d2e2a 100644 --- a/net-im/jabberd/jabberd-2.0.11-r1.ebuild +++ b/net-im/jabberd/jabberd-2.0.11-r1.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2006 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/net-im/jabberd/jabberd-2.0.11-r1.ebuild,v 1.5 2006/10/12 08:28:58 nelchael Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-im/jabberd/jabberd-2.0.11-r1.ebuild,v 1.6 2006/10/21 11:42:20 nelchael Exp $ inherit autotools eutils versionator @@ -13,7 +13,7 @@ SRC_URI="http://jabberstudio.2nw.net/${PN}2/${PN}-${MY_PV}.tar.gz" SLOT="0" LICENSE="GPL-2" KEYWORDS="~amd64 ~ppc ~sparc ~x86" -IUSE="debug ipv6 ldap mysql pam pipe postgres sqlite ssl" +IUSE="debug memdebug ipv6 ldap mysql pam pipe postgres sqlite ssl" DEPEND=">=net-im/jabber-base-0.01 dev-libs/openssl @@ -34,14 +34,23 @@ src_unpack() { epatch "${FILESDIR}/${P}-configure.in.patch" + eautoreconf + } src_compile() { - eautoreconf - local localconf= - use debug && localconf="${localconf} --enable-debug --enable-nad-debug --enable-pool-debug" + if use debug; then + localconf="${localconf} --enable-debug" + use memdebug && localconf="${localconf} --enable-nad-debug --enable-pool-debug" + else + if use memdebug; then + ewarn + ewarn '"memdebug" requires "debug" enabled.' + ewarn + fi + fi econf \ --localstatedir=/var \ |