app-crypt/af_alg: add libressl support
authorAnthony G. Basile <blueness@gentoo.org>
Fri, 3 Jun 2016 08:43:21 +0000 (04:43 -0400)
committerAnthony G. Basile <blueness@gentoo.org>
Fri, 3 Jun 2016 08:43:21 +0000 (04:43 -0400)
Package-Manager: portage-2.2.28

app-crypt/af_alg/af_alg-0_pre20120229.ebuild

index fbf16e4df78b29cc20b2588813d496a929fac23c..4c5e24b54cd3256ff4d8a67deb32564b1e475fba 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright 1999-2013 Gentoo Foundation
+# Copyright 1999-2016 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 # $Id$
 
@@ -17,9 +17,10 @@ SRC_URI="http://src.carnivore.it/users/common/af_alg/snapshot/${MY_P}.tar.gz"
 LICENSE="openssl"
 SLOT="0"
 KEYWORDS="~amd64 ~x86"
-IUSE=""
+IUSE="libressl"
 
-DEPEND="dev-libs/openssl"
+DEPEND="!libressl? ( dev-libs/openssl:0= )
+       libressl? ( dev-libs/libressl:0= )"
 RDEPEND="${DEPEND}"
 
 S="${WORKDIR}/${MY_P}"