app-pda/libimobiledevice: Support libressl (#593272)
authorPacho Ramos <pacho@gentoo.org>
Sun, 27 May 2018 18:01:26 +0000 (20:01 +0200)
committerPacho Ramos <pacho@gentoo.org>
Sun, 27 May 2018 18:02:08 +0000 (20:02 +0200)
Package-Manager: Portage-2.3.38, Repoman-2.3.9

app-pda/libimobiledevice/libimobiledevice-1.2.0-r1.ebuild

index aa14448892858fc4fdcf5050d659a0729d2708f1..19d56287cf423bad7861a92c5ef6a3ce13c1ef62 100644 (file)
@@ -21,7 +21,7 @@ LICENSE="GPL-2+ LGPL-2.1+"
 SLOT="0/6" # based on SONAME of libimobiledevice.so
 
 KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~x86"
-IUSE="gnutls python static-libs"
+IUSE="gnutls libressl python static-libs"
 REQUIRED_USE="${PYTHON_REQUIRED_USE}"
 
 RDEPEND="
@@ -31,7 +31,9 @@ RDEPEND="
                dev-libs/libgcrypt:0
                >=dev-libs/libtasn1-1.1
                >=net-libs/gnutls-2.2.0 )
-       !gnutls? ( dev-libs/openssl:0= )
+       !gnutls? (
+               !libressl? ( dev-libs/openssl:0= )
+               libressl? ( dev-libs/libressl:0= ) )
        python? (
                ${PYTHON_DEPS}
                app-pda/libplist[python(-),${PYTHON_USEDEP}] )