From c9ae1e56da14a6639c3697ba0cd1866d882fe2a6 Mon Sep 17 00:00:00 2001 From: Samuli Suominen Date: Tue, 13 Jul 2010 00:19:11 +0000 Subject: Fix OpenSSL >= 1.0.0 detection (broken m4/tls.m4 check) wrt #328027. (Portage version: 2.2_rc67/cvs/Linux x86_64) --- dev-libs/ace/ChangeLog | 5 ++++- dev-libs/ace/ace-5.7.2.ebuild | 13 +++++++++++-- 2 files changed, 15 insertions(+), 3 deletions(-) (limited to 'dev-libs') diff --git a/dev-libs/ace/ChangeLog b/dev-libs/ace/ChangeLog index 77c1e8bcc1df..d3e9cf9a476d 100644 --- a/dev-libs/ace/ChangeLog +++ b/dev-libs/ace/ChangeLog @@ -1,6 +1,9 @@ # ChangeLog for dev-libs/ace # Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-libs/ace/ChangeLog,v 1.59 2010/06/02 06:43:20 tove Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-libs/ace/ChangeLog,v 1.60 2010/07/13 00:19:11 ssuominen Exp $ + + 13 Jul 2010; Samuli Suominen ace-5.7.2.ebuild: + Fix OpenSSL >= 1.0.0 detection (broken m4/tls.m4 check) wrt #328027. 02 Jun 2010; Torsten Veller metadata.xml: Remove tantive from metadata.xml (#200343) diff --git a/dev-libs/ace/ace-5.7.2.ebuild b/dev-libs/ace/ace-5.7.2.ebuild index 43df534631fb..ce6791cee583 100644 --- a/dev-libs/ace/ace-5.7.2.ebuild +++ b/dev-libs/ace/ace-5.7.2.ebuild @@ -1,6 +1,6 @@ -# Copyright 1999-2009 Gentoo Foundation +# Copyright 1999-2010 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/dev-libs/ace/ace-5.7.2.ebuild,v 1.1 2009/09/01 09:36:04 patrick Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-libs/ace/ace-5.7.2.ebuild,v 1.2 2010/07/13 00:19:11 ssuominen Exp $ inherit toolchain-funcs eutils @@ -26,6 +26,15 @@ DEPEND="${COMMON_DEPEND} S="${WORKDIR}/ACE_wrappers" +src_unpack() { + unpack ${A} + cd "${S}" + # Let's avoid autotools. http://bugs.gentoo.org/328027. + if has_version ">=dev-libs/openssl-1.0.0"; then + sed -i -e 's:SSL_METHOD:const SSL_METHOD:' configure || die + fi +} + src_compile() { export ACE_ROOT="${S}" mkdir build -- cgit v1.2.3-65-gdbad