--- sylpheed-0.9.12-r2.ebuild 2004-08-16 20:52:12.178001632 +0930 +++ sylpheed-0.9.12-r2.ebuild 2004-08-16 20:54:46.054608832 +0930 @@ -1,6 +1,6 @@ # Copyright 1999-2004 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/mail-client/sylpheed/sylpheed-0.9.12-r2.ebuild,v 1.3 2004/06/27 19:34:16 kugelfang Exp $ +# $Header: $ inherit eutils @@ -29,7 +29,7 @@ ssl? ( dev-libs/openssl ) pda? ( app-pda/jpilot ) ldap? ( >=net-nds/openldap-2.0.11 ) - crypt? ( =media-libs/compface-1.4 )" RDEPEND="${DEPEND} app-misc/mime-types @@ -45,7 +45,6 @@ if use gtk2; then epatch ${WORKDIR}/${P}-gtk2-${GTK2_PATCHVER}.diff - epatch ${FILESDIR}/${P}-64bit.patch ! use crypt && cp ac/missing/gpgme.m4 ac ./autogen.sh fi @@ -56,6 +55,18 @@ local myconf + # for gpgme support + export GPGME_CONFIG=${ROOT}/usr/bin/gpgme3-config + + # For gnupg-1.9 + if [ -x ${ROOT}/usr/bin/gpg ]; + then + export GPG_PATH=${ROOT}/usr/bin/gpg + elif [ -x ${ROOT}/usr/bin/gpg2 ]; + then + export GPG_PATH=${ROOT}/usr/bin/gpg2 + fi + if use gtk2; then myconf="--enable-gdk-pixbuf"