summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStefan Strogin <steils@gentoo.org>2020-08-16 14:02:49 +0300
committerStefan Strogin <steils@gentoo.org>2020-08-16 14:04:01 +0300
commit9511f5af8bc1385bbea7a9cd47d130ddda671624 (patch)
tree40be2818b94d930c188dcc0482a1db4378e9f2f7 /sys-block
parentdev-libs/libgcrypt: stable 1.8.6 for sparc, bug #737158 (diff)
downloadgentoo-9511f5af8bc1385bbea7a9cd47d130ddda671624.tar.gz
gentoo-9511f5af8bc1385bbea7a9cd47d130ddda671624.tar.bz2
gentoo-9511f5af8bc1385bbea7a9cd47d130ddda671624.zip
sys-block/mbuffer: add USE=libressl
Do not duplicate the dependency on openssl/libressl, because USE=ssl is required by USE=test in REQUIRED_USE. Closes: https://bugs.gentoo.org/730294 Package-Manager: Portage-3.0.2, Repoman-2.3.23 Signed-off-by: Stefan Strogin <steils@gentoo.org>
Diffstat (limited to 'sys-block')
-rw-r--r--sys-block/mbuffer/mbuffer-20200505.ebuild10
1 files changed, 6 insertions, 4 deletions
diff --git a/sys-block/mbuffer/mbuffer-20200505.ebuild b/sys-block/mbuffer/mbuffer-20200505.ebuild
index 6d2eb884c0e6..3f4bfb12c78d 100644
--- a/sys-block/mbuffer/mbuffer-20200505.ebuild
+++ b/sys-block/mbuffer/mbuffer-20200505.ebuild
@@ -12,15 +12,17 @@ SRC_URI="https://www.maier-komor.de/software/mbuffer/${P}.tgz"
LICENSE="GPL-3"
SLOT="0"
KEYWORDS="amd64 arm ~arm64 ppc x86"
-IUSE="debug ssl test"
+IUSE="debug libressl ssl test"
REQUIRED_USE="test? ( ssl )"
RESTRICT="!test? ( test )"
-RDEPEND="ssl? ( dev-libs/openssl:0= )"
-DEPEND="${RDEPEND}
- test? ( dev-libs/openssl:0 )"
+RDEPEND="ssl? (
+ !libressl? ( dev-libs/openssl:0= )
+ libressl? ( dev-libs/libressl:0= )
+ )"
+DEPEND="${RDEPEND}"
PATCHES=(
"${FILESDIR}/${PN}-20180410-sysconfdir.patch"