From: Harald van Dijk Date: Wed, 17 Jan 2007 13:07:27 +0000 (+0000) Subject: Create correct /usr/bin/yacc symlink after removing yacc X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=8caba51e6579c5686d808893b6f2ca2194bb5a6a;p=gentoo.git Create correct /usr/bin/yacc symlink after removing yacc Package-Manager: portage-2.1.2 --- diff --git a/dev-util/yacc/Manifest b/dev-util/yacc/Manifest index da04f8018c7f..a8cefb337634 100644 --- a/dev-util/yacc/Manifest +++ b/dev-util/yacc/Manifest @@ -1,3 +1,6 @@ +-----BEGIN PGP SIGNED MESSAGE----- +Hash: SHA1 + AUX mkstemp.patch 413 RMD160 abab4e18a574ca158dd31519fb40892ee4537e12 SHA1 fc18a93f2a8494e7cba7dfdb313b27670e2ba639 SHA256 4c73ba7bc0f4a2e012cdb030d0e727e266791f586297c3aabbf247bad5e697c6 MD5 df645d0e6382050201af35e3002dfc5b files/mkstemp.patch 413 RMD160 abab4e18a574ca158dd31519fb40892ee4537e12 files/mkstemp.patch 413 @@ -7,18 +10,25 @@ MD5 c5a221a78a10f6156ea9ddb2ade30598 files/yacc-1.9.1-ia64.patch 504 RMD160 afad61c65df5450e397731ea014456c9edefaa13 files/yacc-1.9.1-ia64.patch 504 SHA256 8bea1acbb1a2b225376df4c7b382dad05751b5fd073d1a3483a2c83e4ae4295a files/yacc-1.9.1-ia64.patch 504 DIST yacc-1.9.1.tar.Z 64805 RMD160 f0efe89f6c6d7137f1191dd5aa2c91456ff20a3b SHA1 697ea853533e325f47b6b13401d05e7c97012729 SHA256 8a0f3faf78d0ada00eea5ffd1e141bb7a979d5d570a4c8a9a6ea57e5f3751477 -EBUILD yacc-1.9.1-r2.ebuild 1544 RMD160 3f74f9f1e6d0a075d9bed51201886fdc27eaf376 SHA1 1ce956128d865728ce8d13a0d895acc4a1dc8b83 SHA256 cf3457b7a5202020b91fec3e1a92c843eb0bc12c93a3223d5530f3b7f44d3e04 -MD5 9f6eb07f22fb32af7ef2a43dd7d22a75 yacc-1.9.1-r2.ebuild 1544 -RMD160 3f74f9f1e6d0a075d9bed51201886fdc27eaf376 yacc-1.9.1-r2.ebuild 1544 -SHA256 cf3457b7a5202020b91fec3e1a92c843eb0bc12c93a3223d5530f3b7f44d3e04 yacc-1.9.1-r2.ebuild 1544 -MISC ChangeLog 2092 RMD160 9b4a488667819746368d6eeed14daf9896bf5387 SHA1 1dcde0ee419e9b75cce5c5403db88fea1c2a8a2d SHA256 1d4f3c049758fdd5bf0b2987209a95e9762549a49271db3c8ea17b688e14c8bc -MD5 15bc2d9cb295526fc915b650d71c4fd9 ChangeLog 2092 -RMD160 9b4a488667819746368d6eeed14daf9896bf5387 ChangeLog 2092 -SHA256 1d4f3c049758fdd5bf0b2987209a95e9762549a49271db3c8ea17b688e14c8bc ChangeLog 2092 +EBUILD yacc-1.9.1-r3.ebuild 1555 RMD160 6292e807d358b29d7fe500104636ab3b38dc26a1 SHA1 1d64e0b28559b3fce750adaaa37071f60406ce87 SHA256 c9d257b8bda13133879079f2e01d1b9c783ea3b1210df2d7b5ff66009a7fa28a +MD5 17e33236bb62b5372ce542f9ca6d3bbb yacc-1.9.1-r3.ebuild 1555 +RMD160 6292e807d358b29d7fe500104636ab3b38dc26a1 yacc-1.9.1-r3.ebuild 1555 +SHA256 c9d257b8bda13133879079f2e01d1b9c783ea3b1210df2d7b5ff66009a7fa28a yacc-1.9.1-r3.ebuild 1555 +MISC ChangeLog 2283 RMD160 866daefddb471b05793172225e1aa329d5033a01 SHA1 adde2c9f926b47242cc59e72cbade478b3aabef1 SHA256 3560f6b6c929fc3b968fa51dbe815f369a2d37a3d0cf0d6e2b72e34afdadada2 +MD5 0da86a37f405eed3e457992752645179 ChangeLog 2283 +RMD160 866daefddb471b05793172225e1aa329d5033a01 ChangeLog 2283 +SHA256 3560f6b6c929fc3b968fa51dbe815f369a2d37a3d0cf0d6e2b72e34afdadada2 ChangeLog 2283 MISC metadata.xml 210 RMD160 c9fe92a44d079ef04bcdd31de9867de5bb9f26e5 SHA1 efa00493ddec7289a21bc4cbcc6e95ec4de749d5 SHA256 90082fe26a119a63ca8fbe227f66c33ba74167b6cf28e2cef02dea6c4f656c39 MD5 c667f921ee8d48ce17ebef0f8d601ea4 metadata.xml 210 RMD160 c9fe92a44d079ef04bcdd31de9867de5bb9f26e5 metadata.xml 210 SHA256 90082fe26a119a63ca8fbe227f66c33ba74167b6cf28e2cef02dea6c4f656c39 metadata.xml 210 -MD5 d57e5c1bc02599f4fbd0ba51fce1a2fe files/digest-yacc-1.9.1-r2 226 -RMD160 f8ef19be33814eb2d3536c6dee2e11013ed45bc2 files/digest-yacc-1.9.1-r2 226 -SHA256 fea3992747cb3d26a52b16fd6f904108973d0f7de3072fef8256b4d16e632c70 files/digest-yacc-1.9.1-r2 226 +MD5 d57e5c1bc02599f4fbd0ba51fce1a2fe files/digest-yacc-1.9.1-r3 226 +RMD160 f8ef19be33814eb2d3536c6dee2e11013ed45bc2 files/digest-yacc-1.9.1-r3 226 +SHA256 fea3992747cb3d26a52b16fd6f904108973d0f7de3072fef8256b4d16e632c70 files/digest-yacc-1.9.1-r3 226 +-----BEGIN PGP SIGNATURE----- +Version: GnuPG v2.0.1 (GNU/Linux) + +iD8DBQFFrh+IwnQyISwouHwRAjB4AJ98+ZR0y+/Go8+mFcCl6Z7VvPNNSACfaDIt +fmLAtOzfuwUOo1QcqnwoDCc= +=Pfv9 +-----END PGP SIGNATURE----- diff --git a/dev-util/yacc/files/digest-yacc-1.9.1-r2 b/dev-util/yacc/files/digest-yacc-1.9.1-r2 deleted file mode 100644 index 384a5b5a999a..000000000000 --- a/dev-util/yacc/files/digest-yacc-1.9.1-r2 +++ /dev/null @@ -1,3 +0,0 @@ -MD5 3bcf50bece4ef1d0fbaf479e25790437 yacc-1.9.1.tar.Z 64805 -RMD160 f0efe89f6c6d7137f1191dd5aa2c91456ff20a3b yacc-1.9.1.tar.Z 64805 -SHA256 8a0f3faf78d0ada00eea5ffd1e141bb7a979d5d570a4c8a9a6ea57e5f3751477 yacc-1.9.1.tar.Z 64805 diff --git a/dev-util/yacc/yacc-1.9.1-r2.ebuild b/dev-util/yacc/yacc-1.9.1-r2.ebuild deleted file mode 100644 index 7a9717c14f18..000000000000 --- a/dev-util/yacc/yacc-1.9.1-r2.ebuild +++ /dev/null @@ -1,59 +0,0 @@ -# Copyright 1999-2005 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-r2.ebuild,v 1.8 2005/08/18 22:55:37 matsuu 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/bison ]] ; then - ln -s bison "${ROOT}"/usr/bin/yacc - fi -}