diff options
author | Eray Aslan <eras@gentoo.org> | 2011-06-24 15:37:40 +0000 |
---|---|---|
committer | Eray Aslan <eras@gentoo.org> | 2011-06-24 15:37:40 +0000 |
commit | 4a8b882f95cabc5dd44839287a3622f94de65dcb (patch) | |
tree | 7adee4b71d2c836db4b8aebe7cffb9ed22ef2664 /net-mail/cyrus-imapd | |
parent | Marking sk1libs-0.9.1 ~ppc for bug 356243 (diff) | |
download | gentoo-2-4a8b882f95cabc5dd44839287a3622f94de65dcb.tar.gz gentoo-2-4a8b882f95cabc5dd44839287a3622f94de65dcb.tar.bz2 gentoo-2-4a8b882f95cabc5dd44839287a3622f94de65dcb.zip |
ix compiling against openafs - bug #372829 by Andrej Filipcic.
(Portage version: 2.1.10.3/cvs/Linux x86_64)
Diffstat (limited to 'net-mail/cyrus-imapd')
-rw-r--r-- | net-mail/cyrus-imapd/ChangeLog | 5 | ||||
-rw-r--r-- | net-mail/cyrus-imapd/cyrus-imapd-2.4.9.ebuild | 12 |
2 files changed, 13 insertions, 4 deletions
diff --git a/net-mail/cyrus-imapd/ChangeLog b/net-mail/cyrus-imapd/ChangeLog index 75f5eb30b969..05ae7797ab9d 100644 --- a/net-mail/cyrus-imapd/ChangeLog +++ b/net-mail/cyrus-imapd/ChangeLog @@ -1,6 +1,9 @@ # ChangeLog for net-mail/cyrus-imapd # Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/net-mail/cyrus-imapd/ChangeLog,v 1.174 2011/06/22 10:53:39 eras Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-mail/cyrus-imapd/ChangeLog,v 1.175 2011/06/24 15:37:40 eras Exp $ + + 24 Jun 2011; Eray Aslan <eras@gentoo.org> cyrus-imapd-2.4.9.ebuild: + Fix compiling against openafs - bug #372829 by Andrej Filipcic. *cyrus-imapd-2.4.9 (22 Jun 2011) diff --git a/net-mail/cyrus-imapd/cyrus-imapd-2.4.9.ebuild b/net-mail/cyrus-imapd/cyrus-imapd-2.4.9.ebuild index 3fbbedb56aba..3a31e8c40534 100644 --- a/net-mail/cyrus-imapd/cyrus-imapd-2.4.9.ebuild +++ b/net-mail/cyrus-imapd/cyrus-imapd-2.4.9.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/net-mail/cyrus-imapd/cyrus-imapd-2.4.9.ebuild,v 1.1 2011/06/22 10:53:39 eras Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-mail/cyrus-imapd/cyrus-imapd-2.4.9.ebuild,v 1.2 2011/06/24 15:37:40 eras Exp $ EAPI=4 @@ -71,7 +71,13 @@ src_prepare() { # correct afs include and liblwp.a directory sed -i -e '/I${with_afs_incdir/s/\/include//' \ -e '/liblwp/s/liblwp/afs\/liblwp/' \ - "${S}"/configure{,.in} + "${S}"/configure{,.in} || die + # same with lock.h + sed -i -e '/lock.h/s:lock.h:afs/lock.h:' \ + ptclient/afskrb.c || die + # libcom_err.a to libafscom_err.a + sed -i -e '/afs\/libcom_err.a/s:libcom_err.a:libafscom_err.a:' \ + configure{,.in} || die } src_configure() { @@ -85,7 +91,7 @@ src_configure() { myconf+=" --with-afs-incdir=/usr/include/afs" fi if use berkdb ; then - myconf+="--with-bdb-incdir=$(db_includedir)" + myconf+=" --with-bdb-incdir=$(db_includedir)" fi econf \ --enable-murder \ |