Gentoo Archives: gentoo-commits

From: William Hubbs <williamh@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: net-misc/openconnect/
Date: Thu, 10 Dec 2015 23:26:50
Message-Id: 1449789718.31eafb6209e2b70bcf44677f2b3a107e5268aa27.williamh@gentoo
1 commit: 31eafb6209e2b70bcf44677f2b3a107e5268aa27
2 Author: William Hubbs <williamh <AT> gentoo <DOT> org>
3 AuthorDate: Thu Dec 10 23:21:58 2015 +0000
4 Commit: William Hubbs <williamh <AT> gentoo <DOT> org>
5 CommitDate: Thu Dec 10 23:21:58 2015 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=31eafb62
7
8 net-misc/openconnect: qa fixes
9
10 In the live ebuild, inherit autotools and change the autogen.sh call to
11 eautoreconf and move it to src_prepare.
12
13 net-misc/openconnect/openconnect-9999.ebuild | 9 ++++++---
14 1 file changed, 6 insertions(+), 3 deletions(-)
15
16 diff --git a/net-misc/openconnect/openconnect-9999.ebuild b/net-misc/openconnect/openconnect-9999.ebuild
17 index 3a93319..08beef3 100644
18 --- a/net-misc/openconnect/openconnect-9999.ebuild
19 +++ b/net-misc/openconnect/openconnect-9999.ebuild
20 @@ -9,7 +9,7 @@ PYTHON_REQ_USE="xml"
21
22 if [[ "${PV}" = "9999" ]]; then
23 EGIT_REPO_URI="git://git.infradead.org/users/dwmw2/${PN}.git"
24 - inherit git-r3
25 + inherit git-r3 autotools
26 else
27 ARCHIVE_URI="ftp://ftp.infradead.org/pub/${PN}/${P}.tar.gz"
28 KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~x86"
29 @@ -75,10 +75,13 @@ src_unpack() {
30 unpack ${A}
31 }
32
33 -src_configure() {
34 +src_prepare() {
35 if [[ "${PV}" = 9999 ]]; then
36 - ./autogen.sh || die "autogen failed"
37 + eautoreconf
38 fi
39 +}
40 +
41 +src_configure() {
42 strip-linguas $ILINGUAS
43 echo ${LINGUAS} > po/LINGUAS
44 if ! use doc; then