net-analyzer/ffp: add libressl support
authorAnthony G. Basile <blueness@gentoo.org>
Wed, 13 Jul 2016 17:16:28 +0000 (13:16 -0400)
committerAnthony G. Basile <blueness@gentoo.org>
Wed, 13 Jul 2016 17:29:12 +0000 (13:29 -0400)
Package-Manager: portage-2.2.28

net-analyzer/ffp/ffp-0.0.8-r1.ebuild

index f7bce88be62d5e4e9f23876bb63fc1972b0a464e..cfea239c0ac0c8e9cf34e8316cb828267a7d14e3 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright 1999-2014 Gentoo Foundation
+# Copyright 1999-2016 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 # $Id$
 
@@ -12,8 +12,12 @@ SRC_URI="http://www.thc.org/releases/${P}.tar.gz"
 LICENSE="BSD-2"
 SLOT="0"
 KEYWORDS="~amd64 ~ppc ~x86"
+IUSE="libressl"
 
-DEPEND="dev-libs/openssl"
+DEPEND="
+       !libressl? ( dev-libs/openssl:0= )
+       libressl? ( dev-libs/libressl:0= )
+"
 RDEPEND="${DEPEND}"
 
 DOCS=( README TODO doc/ffp.pdf )