commit:     d122dc43ff22a5e296c02cf811107c42a95ae722
Author:     Anthony G. Basile <blueness <AT> gentoo <DOT> org>
AuthorDate: Sat Nov 21 07:05:09 2015 +0000
Commit:     Anthony G. Basile <blueness <AT> gentoo <DOT> org>
CommitDate: Sat Nov 21 07:17:35 2015 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d122dc43

www-client/phantomjs: add libressl support

Package-Manager: portage-2.2.20.1

 .../phantomjs/{phantomjs-2.0.0.ebuild => phantomjs-2.0.0-r1.ebuild}  | 5 +++--
 www-client/phantomjs/phantomjs-2.0.0.ebuild                          | 2 +-
 2 files changed, 4 insertions(+), 3 deletions(-)

diff --git a/www-client/phantomjs/phantomjs-2.0.0.ebuild 
b/www-client/phantomjs/phantomjs-2.0.0-r1.ebuild
similarity index 95%
copy from www-client/phantomjs/phantomjs-2.0.0.ebuild
copy to www-client/phantomjs/phantomjs-2.0.0-r1.ebuild
index e52d78f..9fc5bd4 100644
--- a/www-client/phantomjs/phantomjs-2.0.0.ebuild
+++ b/www-client/phantomjs/phantomjs-2.0.0-r1.ebuild
@@ -15,10 +15,11 @@ 
SRC_URI="https://bitbucket.org/ariya/phantomjs/downloads/${P}-source.zip";
 LICENSE="BSD"
 SLOT="0"
 KEYWORDS="~amd64 ~x86"
-IUSE="examples"
+IUSE="examples libressl"
 
 RDEPEND="dev-libs/icu:=
-       dev-libs/openssl
+       !libressl? ( dev-libs/openssl:0 )
+       libressl? ( dev-libs/libressl )
        media-libs/fontconfig
        media-libs/freetype
        media-libs/gstreamer:1.0

diff --git a/www-client/phantomjs/phantomjs-2.0.0.ebuild 
b/www-client/phantomjs/phantomjs-2.0.0.ebuild
index e52d78f..1ede6d4 100644
--- a/www-client/phantomjs/phantomjs-2.0.0.ebuild
+++ b/www-client/phantomjs/phantomjs-2.0.0.ebuild
@@ -18,7 +18,7 @@ KEYWORDS="~amd64 ~x86"
 IUSE="examples"
 
 RDEPEND="dev-libs/icu:=
-       dev-libs/openssl
+       dev-libs/openssl:0
        media-libs/fontconfig
        media-libs/freetype
        media-libs/gstreamer:1.0

Reply via email to