summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSam James <sam@gentoo.org>2021-06-30 19:38:03 +0100
committerSam James <sam@gentoo.org>2021-06-30 19:38:03 +0100
commit0d827faa726785542911ca639bc556594e2c56b3 (patch)
treed9cfea79fb411d0f20920d237fb2e79086b0322e /net-nds/ldapvi
parentnet-vpn/libreswan: add missing libcrypt dependency (diff)
downloadgentoo-0d827faa726785542911ca639bc556594e2c56b3.tar.gz
gentoo-0d827faa726785542911ca639bc556594e2c56b3.tar.bz2
gentoo-0d827faa726785542911ca639bc556594e2c56b3.zip
net-nds/ldapvi: add missing virtual/libcrypt dependency, EAPI 7
Closes: https://bugs.gentoo.org/798948 Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'net-nds/ldapvi')
-rw-r--r--net-nds/ldapvi/ldapvi-1.7_p20101214-r2.ebuild (renamed from net-nds/ldapvi/ldapvi-1.7_p20101214-r1.ebuild)36
1 files changed, 21 insertions, 15 deletions
diff --git a/net-nds/ldapvi/ldapvi-1.7_p20101214-r1.ebuild b/net-nds/ldapvi/ldapvi-1.7_p20101214-r2.ebuild
index b299a4ee9a11..018f387af4a0 100644
--- a/net-nds/ldapvi/ldapvi-1.7_p20101214-r1.ebuild
+++ b/net-nds/ldapvi/ldapvi-1.7_p20101214-r2.ebuild
@@ -1,42 +1,48 @@
# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
-EAPI=5
+EAPI=7
inherit autotools
DESCRIPTION="Manage LDAP entries with a text editor"
HOMEPAGE="http://www.lichteblau.com/ldapvi/"
SRC_URI="mirror://gentoo/${P}.tar.bz2"
+S="${WORKDIR}"/${P}/${PN}
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="amd64 ~hppa ppc ~sparc x86"
IUSE="gnutls sasl"
-RDEPEND="
- sys-libs/ncurses:0
- net-nds/openldap
- dev-libs/popt
+RDEPEND="dev-libs/popt
dev-libs/glib:2
- sys-libs/readline
- gnutls? ( net-libs/gnutls )
+ net-nds/openldap
+ sys-libs/readline:=
+ sys-libs/ncurses:0=
+ virtual/libcrypt:=
+ gnutls? ( net-libs/gnutls:= )
!gnutls? ( dev-libs/openssl:0= )
sasl? ( dev-libs/cyrus-sasl:2 )"
-DEPEND="${RDEPEND}
- virtual/pkgconfig"
-
-S=${WORKDIR}/${P}/${PN}
+DEPEND="${RDEPEND}"
+BDEPEND="virtual/pkgconfig"
src_prepare() {
- #bug 459478
- sed -e '/^AC_SEARCH_LIBS/s:curses ncurses:curses ncurses tinfo:' \
- -i configure.in || die
+ default
+
+ # bug #459478
+ sed -i \
+ -e '/^AC_SEARCH_LIBS/s:curses ncurses:curses ncurses tinfo:' \
+ configure.in || die
+
+ mv configure.{in,ac} || die
+
eautoreconf
}
src_configure() {
- econf --with-libcrypto=$(usex gnutls gnutls openssl)
+ econf \
+ --with-libcrypto=$(usex gnutls gnutls openssl)
}
src_install() {