net-misc/openconnect: qa fixes
authorWilliam Hubbs <williamh@gentoo.org>
Thu, 10 Dec 2015 23:21:58 +0000 (17:21 -0600)
committerWilliam Hubbs <williamh@gentoo.org>
Thu, 10 Dec 2015 23:21:58 +0000 (17:21 -0600)
In the live ebuild, inherit autotools and change the autogen.sh call to
eautoreconf and move it to src_prepare.

net-misc/openconnect/openconnect-9999.ebuild

index 3a933194c29e0010ea647890fa6fa8ce4d16e769..08beef389d47b7552f28a945b6fd1711b7205382 100644 (file)
@@ -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