games-strategy/wesnoth libressl support
authorStefan Strogin <stefan.strogin@gmail.com>
Wed, 16 May 2018 14:19:49 +0000 (17:19 +0300)
committerAaron Bauman <bman@gentoo.org>
Fri, 18 May 2018 12:31:28 +0000 (08:31 -0400)
Closes: https://bugs.gentoo.org/655864
Closes: https://github.com/gentoo/gentoo/pull/8430

games-strategy/wesnoth/wesnoth-1.14.1.ebuild

index d66a51cc02880692aea1215285335a51018a8a87..7372ade39d66fbf6f81c6e63b14e5f40581d380b 100644 (file)
@@ -12,14 +12,15 @@ SRC_URI="https://github.com/${PN}/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
 LICENSE="GPL-2"
 SLOT="0"
 KEYWORDS="~amd64 ~x86 ~x86-fbsd"
-IUSE="dbus dedicated doc fribidi nls openmp server"
+IUSE="dbus dedicated doc fribidi libressl nls openmp server"
 
 RDEPEND="
        >=dev-libs/boost-1.50:=[nls,threads,icu]
        >=media-libs/libsdl2-2.0.4:0[joystick,video,X]
        !dedicated? (
                dev-libs/glib:2
-               dev-libs/openssl:0=
+               !libressl? ( dev-libs/openssl:0= )
+               libressl? ( dev-libs/libressl:0= )
                >=media-libs/fontconfig-2.4.1
                >=media-libs/sdl2-image-2.0.0[jpeg,png]
                >=media-libs/sdl2-mixer-2.0.0[vorbis]