diff options
author | Agostino Sarubbo <ago@gentoo.org> | 2012-05-10 16:13:00 +0000 |
---|---|---|
committer | Agostino Sarubbo <ago@gentoo.org> | 2012-05-10 16:13:00 +0000 |
commit | 03c2aedb7bb5b2af4549472b1574f01bf76d1ba6 (patch) | |
tree | 4cbd82eeacf132c654d955e788cda1b7f793e048 /dev-util/yacc | |
parent | Remove old (diff) | |
download | gentoo-2-03c2aedb7bb5b2af4549472b1574f01bf76d1ba6.tar.gz gentoo-2-03c2aedb7bb5b2af4549472b1574f01bf76d1ba6.tar.bz2 gentoo-2-03c2aedb7bb5b2af4549472b1574f01bf76d1ba6.zip |
Remove old
(Portage version: 2.1.10.49/cvs/Linux x86_64)
Diffstat (limited to 'dev-util/yacc')
-rw-r--r-- | dev-util/yacc/ChangeLog | 7 | ||||
-rw-r--r-- | dev-util/yacc/yacc-1.9.1-r3.ebuild | 59 |
2 files changed, 5 insertions, 61 deletions
diff --git a/dev-util/yacc/ChangeLog b/dev-util/yacc/ChangeLog index 3979786738c9..d5c1f9ea2612 100644 --- a/dev-util/yacc/ChangeLog +++ b/dev-util/yacc/ChangeLog @@ -1,6 +1,9 @@ # ChangeLog for dev-util/yacc -# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-util/yacc/ChangeLog,v 1.27 2011/02/06 22:07:49 leio Exp $ +# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/dev-util/yacc/ChangeLog,v 1.28 2012/05/10 16:13:00 ago Exp $ + + 10 May 2012; Agostino Sarubbo <ago@gentoo.org> -yacc-1.9.1-r3.ebuild: + Remove old 06 Feb 2011; Mart Raudsepp <leio@gentoo.org> yacc-1.9.1-r3.ebuild: Drop to ~mips diff --git a/dev-util/yacc/yacc-1.9.1-r3.ebuild b/dev-util/yacc/yacc-1.9.1-r3.ebuild deleted file mode 100644 index 3bd6ef97182a..000000000000 --- a/dev-util/yacc/yacc-1.9.1-r3.ebuild +++ /dev/null @@ -1,59 +0,0 @@ -# Copyright 1999-2011 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/dev-util/yacc/yacc-1.9.1-r3.ebuild,v 1.3 2011/02/06 22:07:49 leio Exp $ - -inherit eutils toolchain-funcs - -DESCRIPTION="Yacc: Yet Another Compiler-Compiler" -HOMEPAGE="http://dinosaur.compilertools.net/#yacc" -SRC_URI="ftp://metalab.unc.edu/pub/Linux/devel/compiler-tools/${P}.tar.Z" - -LICENSE="as-is" -SLOT="0" -KEYWORDS="alpha amd64 arm hppa ia64 ~mips ppc ppc64 s390 sh sparc x86" -IUSE="" - -DEPEND="" - -src_unpack() { - unpack ${A} - cd "${S}" - - # Use our CFLAGS - sed -i -e 's: -O : $(CFLAGS) :' Makefile || die 'sed failed' - - # mkstemp patch from byacc ebuild - epatch "${FILESDIR}"/mkstemp.patch - - # The following patch fixes yacc to run correctly on ia64 (and - # other 64-bit arches). See bug 46233 - epatch "${FILESDIR}"/yacc-1.9.1-ia64.patch -} - -src_compile() { - make clean || die - emake -j1 CC="$(tc-getCC)" CFLAGS="${CFLAGS}" || die -} - -src_install() { - dobin yacc || die - doman yacc.1 - dodoc 00README* ACKNOWLEDGEMENTS NEW_FEATURES NO_WARRANTY NOTES README* -} - -pkg_preinst() { - # bison installs a /usr/bin/yacc symlink ... - # we need to remove it to avoid triggering - # collision-protect errors #90089 - if [[ -L ${ROOT}/usr/bin/yacc ]] ; then - rm -f "${ROOT}"/usr/bin/yacc - fi -} - -pkg_postrm() { - # and if we uninstall yacc but keep bison, - # lets restore the /usr/bin/yacc symlink - if [[ ! -e ${ROOT}/usr/bin/yacc ]] && [[ -e ${ROOT}/usr/bin/yacc.bison ]] ; then - ln -s yacc.bison "${ROOT}"/usr/bin/yacc - fi -} |