summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlon Bar-Lev <alonbl@gentoo.org>2008-02-16 08:36:30 +0000
committerAlon Bar-Lev <alonbl@gentoo.org>2008-02-16 08:36:30 +0000
commit6aba635dff946e5ff40ca98393905144ada394fd (patch)
tree086687a3c55f5b2ac1c8070f3cd891398da0acd5 /app-crypt
parentwhitespace (diff)
downloadgentoo-2-6aba635dff946e5ff40ca98393905144ada394fd.tar.gz
gentoo-2-6aba635dff946e5ff40ca98393905144ada394fd.tar.bz2
gentoo-2-6aba635dff946e5ff40ca98393905144ada394fd.zip
Add pth USE flag, as most application does not use this anyway
(Portage version: 2.1.4.4)
Diffstat (limited to 'app-crypt')
-rw-r--r--app-crypt/gpgme/ChangeLog5
-rw-r--r--app-crypt/gpgme/gpgme-1.1.6.ebuild16
2 files changed, 12 insertions, 9 deletions
diff --git a/app-crypt/gpgme/ChangeLog b/app-crypt/gpgme/ChangeLog
index 0c1a350015dc..ffde6658f023 100644
--- a/app-crypt/gpgme/ChangeLog
+++ b/app-crypt/gpgme/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for app-crypt/gpgme
# Copyright 2002-2008 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-crypt/gpgme/ChangeLog,v 1.139 2008/02/13 12:19:49 coldwind Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-crypt/gpgme/ChangeLog,v 1.140 2008/02/16 08:36:30 alonbl Exp $
+
+ 16 Feb 2008; Alon Bar-Lev <alonbl@gentoo.org> gpgme-1.1.6.ebuild:
+ Add pth USE flag, as most application does not use this anyway
13 Feb 2008; Santiago M. Mola <coldwind@gentoo.org>
-gpgme-0.3.14-r1.ebuild, gpgme-0.3.14-r2.ebuild:
diff --git a/app-crypt/gpgme/gpgme-1.1.6.ebuild b/app-crypt/gpgme/gpgme-1.1.6.ebuild
index 07e6a137f56c..498ee4bc6426 100644
--- a/app-crypt/gpgme/gpgme-1.1.6.ebuild
+++ b/app-crypt/gpgme/gpgme-1.1.6.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/app-crypt/gpgme/gpgme-1.1.6.ebuild,v 1.1 2008/01/15 18:26:02 alonbl Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-crypt/gpgme/gpgme-1.1.6.ebuild,v 1.2 2008/02/16 08:36:30 alonbl Exp $
inherit autotools eutils
@@ -11,11 +11,11 @@ SRC_URI="mirror://gnupg/gpgme/${P}.tar.gz"
LICENSE="GPL-2"
SLOT="1"
KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd"
-IUSE=""
+IUSE="pth"
DEPEND=">=dev-libs/libgpg-error-1.4
- >=dev-libs/pth-1.2
- >=app-crypt/gnupg-1.9.20-r1"
+ >=app-crypt/gnupg-1.9.20-r1
+ pth? ( >=dev-libs/pth-1.2 )"
RDEPEND="${DEPEND}
dev-libs/libgcrypt"
@@ -34,15 +34,15 @@ src_unpack() {
src_compile() {
econf \
- --with-pth=yes \
--includedir=/usr/include/gpgme \
--with-gpg=/usr/bin/gpg \
--with-gpgsm=/usr/bin/gpgsm \
- || die "econf failed"
- emake || die "emake failed"
+ $(use_with pth) \
+ || die
+ emake || die
}
src_install() {
- emake DESTDIR="${D}" install || die "make install failed"
+ emake DESTDIR="${D}" install || die
dodoc AUTHORS ChangeLog NEWS README THANKS TODO VERSION
}