Skip to content

Commit

Permalink
gnustep-apps/sogo: remove libressl support
Browse files Browse the repository at this point in the history
Package-Manager: Portage-3.0.18, Repoman-3.0.2
Signed-off-by: Mikle Kolyada <[email protected]>
  • Loading branch information
Zlogene committed May 3, 2021
1 parent a5f2e2f commit d12b81e
Showing 1 changed file with 3 additions and 11 deletions.
14 changes: 3 additions & 11 deletions gnustep-apps/sogo/sogo-4.3.2.ebuild
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright 1999-2020 Gentoo Authors
# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=7
Expand All @@ -12,7 +12,7 @@ SRC_URI="https://github.com/inverse-inc/sogo/archive/SOGo-${PV}.tar.gz -> ${P}.t
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="activesync gnutls libressl +ssl"
IUSE="activesync gnutls +ssl"

RDEPEND="
acct-user/sogo
Expand All @@ -23,20 +23,12 @@ RDEPEND="
activesync? ( dev-libs/libwbxml )
gnutls? ( net-libs/gnutls:= )
!gnutls? (
!libressl? ( dev-libs/openssl:0= )
libressl? ( dev-libs/libressl:= )
dev-libs/openssl:0=
)
"
DEPEND="${RDEPEND}
>=gnustep-base/gnustep-make-2.6.3"

pkg_pretend() {
if use ssl && use gnutls && use libressl ; then
ewarn "You have enabled both gnutls and libressl, but only"
ewarn "one provider can be active. Using gnutls!"
fi
}

src_prepare() {
gnustep-base_src_prepare
sed -e "s/validateArgs$//" -i configure \
Expand Down

0 comments on commit d12b81e

Please sign in to comment.