diff options
author | Tristan Heaven <nyhm@gentoo.org> | 2006-10-16 17:14:47 +0000 |
---|---|---|
committer | Tristan Heaven <nyhm@gentoo.org> | 2006-10-16 17:14:47 +0000 |
commit | 814a5f5c99806c8cb8f1634af255e77ee8457b94 (patch) | |
tree | c635edec337d10fed36c19c69585a4c52eaf376c /dev-games/libggz | |
parent | New alpha of 1.13. Stage building on FreeBSD should now work :) (diff) | |
download | gentoo-2-814a5f5c99806c8cb8f1634af255e77ee8457b94.tar.gz gentoo-2-814a5f5c99806c8cb8f1634af255e77ee8457b94.tar.bz2 gentoo-2-814a5f5c99806c8cb8f1634af255e77ee8457b94.zip |
Use gnutls instead of openssl when USE=gnutls
(Portage version: 2.1.2_pre3-r2)
Diffstat (limited to 'dev-games/libggz')
-rw-r--r-- | dev-games/libggz/ChangeLog | 5 | ||||
-rw-r--r-- | dev-games/libggz/libggz-0.0.13.ebuild | 23 |
2 files changed, 16 insertions, 12 deletions
diff --git a/dev-games/libggz/ChangeLog b/dev-games/libggz/ChangeLog index 9ebd3a0c41ca..79bf70cad101 100644 --- a/dev-games/libggz/ChangeLog +++ b/dev-games/libggz/ChangeLog @@ -1,6 +1,9 @@ # ChangeLog for dev-games/libggz # Copyright 2002-2006 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-games/libggz/ChangeLog,v 1.14 2006/07/18 21:43:59 hansmi Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-games/libggz/ChangeLog,v 1.15 2006/10/16 17:14:47 nyhm Exp $ + + 16 Oct 2006; Tristan Heaven <nyhm@gentoo.org> libggz-0.0.13.ebuild: + Use gnutls instead of openssl when USE=gnutls 18 Jul 2006; Michael Hanselmann <hansmi@gentoo.org> libggz-0.0.13.ebuild: Stable on ppc. diff --git a/dev-games/libggz/libggz-0.0.13.ebuild b/dev-games/libggz/libggz-0.0.13.ebuild index 7234ea81010e..a959985a8453 100644 --- a/dev-games/libggz/libggz-0.0.13.ebuild +++ b/dev-games/libggz/libggz-0.0.13.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/dev-games/libggz/libggz-0.0.13.ebuild,v 1.3 2006/07/18 21:43:59 hansmi Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-games/libggz/libggz-0.0.13.ebuild,v 1.4 2006/10/16 17:14:47 nyhm Exp $ DESCRIPTION="The GGZ library, used by GGZ Gaming Zone" HOMEPAGE="http://www.ggzgamingzone.org/" @@ -10,25 +10,26 @@ SRC_URI="http://ftp.belnet.be/packages/ggzgamingzone/ggz/${PV}/${P}.tar.gz LICENSE="LGPL-2.1" SLOT="0" KEYWORDS="-amd64 ppc x86" -IUSE="crypt ssl" +IUSE="crypt gnutls" +RESTRICT="test" -DEPEND="virtual/libc - crypt? ( >=dev-libs/libgcrypt-1.1.8 ) - ssl? ( dev-libs/openssl )" +DEPEND="crypt? ( + >=dev-libs/libgcrypt-1.1.8 + gnutls? ( net-libs/gnutls ) + !gnutls? ( dev-libs/openssl ) )" src_compile() { - local myconf="" - use ssl && myconf="--with-tls=OpenSSL" + local tls=--with-tls=$(use gnutls && echo GnuTLS || echo OpenSSL) + local myconf + use crypt && myconf="${tls} --with-gcrypt" || myconf=--with-tls=no econf \ --disable-dependency-tracking \ - `use_with crypt gcrypt` \ ${myconf} \ || die - emake || die + emake || die "emake failed" } src_install() { - make DESTDIR="${D}" install || die + emake DESTDIR="${D}" install || die "emake install failed" dodoc AUTHORS ChangeLog NEWS Quick* README* } - |