Skip to content

Commit

Permalink
dev-lua/luvit: add libressl support
Browse files Browse the repository at this point in the history
Package-Manager: portage-2.2.28
  • Loading branch information
blueness committed Jun 26, 2016
1 parent ec22552 commit 75ca1f3
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 6 deletions.
7 changes: 4 additions & 3 deletions dev-lua/luvit/luvit-0.8.2.ebuild
Original file line number Diff line number Diff line change
@@ -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$

Expand All @@ -14,7 +14,7 @@ SRC_URI="http://luvit.io/dist/latest/${P}.tar.gz"

KEYWORDS="~amd64 ~x86"
SLOT="0"
IUSE="bundled-libs examples"
IUSE="bundled-libs examples libressl"
# luvit Apache-2.0
# luajit MIT
# yajl BSD
Expand All @@ -25,7 +25,8 @@ LICENSE="Apache-2.0 bundled-libs? ( BSD MIT )"
RESTRICT="test"

RDEPEND="
dev-libs/openssl:0
!libressl? ( dev-libs/openssl:0= )
libressl? ( dev-libs/libressl:0= )
sys-libs/zlib
!bundled-libs? (
dev-lang/luajit:2[lua52compat]
Expand Down
7 changes: 4 additions & 3 deletions dev-lua/luvit/luvit-9999.ebuild
Original file line number Diff line number Diff line change
@@ -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$

Expand All @@ -14,7 +14,7 @@ EGIT_REPO_URI="git://github.com/luvit/luvit.git"

KEYWORDS=""
SLOT="0"
IUSE="bundled-libs examples"
IUSE="bundled-libs examples libressl"
# luvit Apache-2.0
# luajit MIT
# yajl BSD
Expand All @@ -25,7 +25,8 @@ LICENSE="Apache-2.0 bundled-libs? ( BSD MIT )"
RESTRICT="test"

RDEPEND="
dev-libs/openssl:0
!libressl? ( dev-libs/openssl:0= )
libressl? ( dev-libs/libressl:0= )
sys-libs/zlib
!bundled-libs? (
dev-lang/luajit:2[lua52compat]
Expand Down

0 comments on commit 75ca1f3

Please sign in to comment.