net-libs/nghttp2: Bumped live ebuild to EAPI-6.
authorLars Wendler <polynomial-c@gentoo.org>
Mon, 4 Apr 2016 07:54:40 +0000 (09:54 +0200)
committerLars Wendler <polynomial-c@gentoo.org>
Mon, 4 Apr 2016 08:07:12 +0000 (10:07 +0200)
Package-Manager: portage-2.2.28
Signed-off-by: Lars Wendler <polynomial-c@gentoo.org>
net-libs/nghttp2/nghttp2-9999.ebuild

index 776f0f6311a083329d66314f30a9683171972f59..2e6405711fcad07194d5816da31b33da1801bc9d 100644 (file)
@@ -4,13 +4,13 @@
 
 # TODO: Add python support.
 
-EAPI="5"
+EAPI=6
 
 inherit multilib-minimal
 
 if [[ ${PV} == 9999 ]] ; then
        EGIT_REPO_URI="https://github.com/tatsuhiro-t/nghttp2.git"
-       inherit git-2
+       inherit autotools git-r3
 else
        SRC_URI="https://github.com/tatsuhiro-t/nghttp2/releases/download/v${PV}/${P}.tar.gz"
        KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86"
@@ -38,6 +38,11 @@ DEPEND="${RDEPEND}
        virtual/pkgconfig
        test? ( >=dev-util/cunit-2.1[${MULTILIB_USEDEP}] )"
 
+src_prepare() {
+       default
+       [[ ${PV} == 9999 ]] && eautoreconf
+}
+
 multilib_src_configure() {
        ECONF_SOURCE=${S} \
        econf \