dev-tex/csindex: EAPI bump, bug 605728
authorAndreas K. Hüttel <dilfridge@gentoo.org>
Mon, 1 Jan 2018 16:27:58 +0000 (17:27 +0100)
committerAndreas K. Hüttel <dilfridge@gentoo.org>
Mon, 1 Jan 2018 16:27:58 +0000 (17:27 +0100)
Package-Manager: Portage-2.3.19, Repoman-2.3.6

dev-tex/csindex/csindex-2.11c-r2.ebuild [moved from dev-tex/csindex/csindex-2.11c-r1.ebuild with 64% similarity]

similarity index 64%
rename from dev-tex/csindex/csindex-2.11c-r1.ebuild
rename to dev-tex/csindex/csindex-2.11c-r2.ebuild
index 7f4f09bbeba0912d5c7fe272fa386d109a88aa29..5c8b4110b8ace0908488ceff9fbabc3e177a056c 100644 (file)
@@ -1,9 +1,9 @@
-# Copyright 1999-2011 Gentoo Foundation
+# Copyright 1999-2018 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 
-EAPI=3
+EAPI=6
 
-inherit toolchain-funcs eutils
+inherit toolchain-funcs
 
 MY_P="${PN}-19980713"
 
@@ -21,16 +21,16 @@ RDEPEND=""
 
 S=${WORKDIR}/${MY_P}
 
-src_prepare() {
-       epatch "${FILESDIR}/${P}-flags.patch" \
-               "${FILESDIR}/${P}-decl.patch"
-}
+PATCHES=(
+       "${FILESDIR}/${P}-flags.patch"
+       "${FILESDIR}/${P}-decl.patch"
+)
 
 src_compile() {
-       emake CC="$(tc-getCC)" || die "make failed"
+       emake CC="$(tc-getCC)"
 }
 
 src_install() {
-       dobin csindex || die
+       dobin csindex
        dodoc README
 }