From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 07078138359 for ; Mon, 12 Oct 2020 12:40:02 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id DB99BE0940; Mon, 12 Oct 2020 12:40:00 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id C58FFE0940 for ; Mon, 12 Oct 2020 12:40:00 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 58FE4340B6A for ; Mon, 12 Oct 2020 12:39:59 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 095843AA for ; Mon, 12 Oct 2020 12:39:57 +0000 (UTC) From: "Joonas Niilola" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Joonas Niilola" Message-ID: <1602506388.0bb3a5eb81aabd628ba03ec01486abc64e34e1a1.juippis@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-libs/hiredis/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-libs/hiredis/hiredis-1.0.0.ebuild X-VCS-Directories: dev-libs/hiredis/ X-VCS-Committer: juippis X-VCS-Committer-Name: Joonas Niilola X-VCS-Revision: 0bb3a5eb81aabd628ba03ec01486abc64e34e1a1 X-VCS-Branch: master Date: Mon, 12 Oct 2020 12:39:57 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 099d5347-3db8-4b4a-826f-5599f7e365f5 X-Archives-Hash: 10355195b91fdbece6a07eb7f7d824f3 commit: 0bb3a5eb81aabd628ba03ec01486abc64e34e1a1 Author: Petr Vaněk atlas cz> AuthorDate: Thu Oct 8 15:03:31 2020 +0000 Commit: Joonas Niilola gentoo org> CommitDate: Mon Oct 12 12:39:48 2020 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0bb3a5eb dev-libs/hiredis: make ssl support available Package-Manager: Portage-3.0.4, Repoman-3.0.1 Signed-off-by: Petr Vaněk atlas.cz> Closes: https://github.com/gentoo/gentoo/pull/17853 Signed-off-by: Joonas Niilola gentoo.org> dev-libs/hiredis/hiredis-1.0.0.ebuild | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/dev-libs/hiredis/hiredis-1.0.0.ebuild b/dev-libs/hiredis/hiredis-1.0.0.ebuild index f65824d561b..d11dddc289c 100644 --- a/dev-libs/hiredis/hiredis-1.0.0.ebuild +++ b/dev-libs/hiredis/hiredis-1.0.0.ebuild @@ -12,10 +12,12 @@ SRC_URI="https://github.com/redis/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" LICENSE="BSD" SLOT="0/1.0.0" KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~s390 ~sparc ~x86 ~x64-solaris" -IUSE="examples static-libs test" +IUSE="examples ssl static-libs test" RESTRICT="!test? ( test )" -DEPEND="test? ( dev-db/redis )" +DEPEND=" + ssl? ( dev-libs/openssl ) + test? ( dev-db/redis )" src_prepare() { local PATCHES=( @@ -33,6 +35,7 @@ _build() { CC="$(tc-getCC)" \ PREFIX="${EPREFIX}/usr" \ LIBRARY_PATH="$(get_libdir)" \ + USE_SSL=$(usex ssl 1 0) \ DEBUG_FLAGS= \ OPTIMIZATION= \ "$@" @@ -68,7 +71,8 @@ src_test() { src_install() { _build PREFIX="${ED}/usr" install if ! use static-libs; then - rm "${ED}/usr/$(get_libdir)/libhiredis.a" || die + rm "${ED}/usr/$(get_libdir)/libhiredis.a" \ + "${ED}/usr/$(get_libdir)/libhiredis_ssl.a" || die fi insinto /usr/$(get_libdir)/pkgconfig