summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWilliam Hubbs <williamh@gentoo.org>2015-12-10 17:21:58 -0600
committerWilliam Hubbs <williamh@gentoo.org>2015-12-10 17:21:58 -0600
commit31eafb6209e2b70bcf44677f2b3a107e5268aa27 (patch)
tree0e8731e586d67df1a40c9167b989502c5c8047b6 /net-misc/openconnect
parentsys-apps/openconnect: fix quoting in live ebuild (diff)
downloadgentoo-31eafb6209e2b70bcf44677f2b3a107e5268aa27.tar.gz
gentoo-31eafb6209e2b70bcf44677f2b3a107e5268aa27.tar.bz2
gentoo-31eafb6209e2b70bcf44677f2b3a107e5268aa27.zip
net-misc/openconnect: qa fixes
In the live ebuild, inherit autotools and change the autogen.sh call to eautoreconf and move it to src_prepare.
Diffstat (limited to 'net-misc/openconnect')
-rw-r--r--net-misc/openconnect/openconnect-9999.ebuild9
1 files changed, 6 insertions, 3 deletions
diff --git a/net-misc/openconnect/openconnect-9999.ebuild b/net-misc/openconnect/openconnect-9999.ebuild
index 3a933194c29e..08beef389d47 100644
--- a/net-misc/openconnect/openconnect-9999.ebuild
+++ b/net-misc/openconnect/openconnect-9999.ebuild
@@ -9,7 +9,7 @@ PYTHON_REQ_USE="xml"
if [[ "${PV}" = "9999" ]]; then
EGIT_REPO_URI="git://git.infradead.org/users/dwmw2/${PN}.git"
- inherit git-r3
+ inherit git-r3 autotools
else
ARCHIVE_URI="ftp://ftp.infradead.org/pub/${PN}/${P}.tar.gz"
KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~x86"
@@ -75,10 +75,13 @@ src_unpack() {
unpack ${A}
}
-src_configure() {
+src_prepare() {
if [[ "${PV}" = 9999 ]]; then
- ./autogen.sh || die "autogen failed"
+ eautoreconf
fi
+}
+
+src_configure() {
strip-linguas $ILINGUAS
echo ${LINGUAS} > po/LINGUAS
if ! use doc; then