dev-util/btyacc: drop old EAPI
authorAaron Bauman <bman@gentoo.org>
Mon, 4 Mar 2019 22:05:47 +0000 (17:05 -0500)
committerAaron Bauman <bman@gentoo.org>
Mon, 4 Mar 2019 22:06:24 +0000 (17:06 -0500)
Signed-off-by: Aaron Bauman <bman@gentoo.org>
dev-util/btyacc/btyacc-3.0-r2.ebuild [deleted file]

diff --git a/dev-util/btyacc/btyacc-3.0-r2.ebuild b/dev-util/btyacc/btyacc-3.0-r2.ebuild
deleted file mode 100644 (file)
index bf06edc..0000000
+++ /dev/null
@@ -1,39 +0,0 @@
-# Copyright 1999-2012 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI="2"
-
-inherit eutils toolchain-funcs
-
-MY_P=${P/./-}
-IUSE=""
-DESCRIPTION="Backtracking YACC - modified from Berkeley YACC"
-HOMEPAGE="http://www.siber.com/btyacc"
-SRC_URI="http://www.siber.com/btyacc/${MY_P}.tar.gz"
-
-LICENSE="freedist"
-SLOT="0"
-KEYWORDS="~amd64 ~ppc ~x86 ~amd64-fbsd ~x86-linux ~ppc-macos ~x86-macos"
-
-S="${WORKDIR}"
-
-src_prepare() {
-       cp -av Makefile{,.orig}
-       epatch "${FILESDIR}/${P}-includes.patch"
-       epatch "${FILESDIR}/${P}-makefile.patch"
-       # fix memory issue/glibc corruption
-       sed -i -e "s|len + 13|len + 14|" main.c || die "Could not fix main.c"
-       # Darwin doesn't do static binaries
-       [[ ${CHOST} == *-darwin* ]] && sed -i -e 's/-static//' Makefile
-}
-
-src_compile() {
-       tc-export CC
-       emake || die
-}
-
-src_install() {
-       dobin btyacc
-       dodoc README README.BYACC
-       newman manpage btyacc.1
-}