Permalink
Browse files

preserve old libs to avoid broken toolchain with portage 2.1 thx few …

…for pointing it out.

(Portage version: 2.2.0_alpha121/git/Linux x86_64, unsigned Manifest commit)
  • Loading branch information...
kiwifb committed Aug 22, 2012
1 parent a141cac commit 90922e825de60f56fe7338ee99f42611387b7729
Showing with 16 additions and 2 deletions.
  1. +6 −0 dev-libs/mpc/ChangeLog
  2. +2 −2 dev-libs/mpc/Manifest
  3. +8 −0 dev-libs/mpc/{mpc-1.0.ebuild → mpc-1.0-r1.ebuild}
View
@@ -2,6 +2,12 @@
# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
# $Header: /var/cvsroot/gentoo-x86/dev-libs/mpc/ChangeLog,v 1.32 2012/04/26 14:39:36 aballier Exp $
+*mpc-1.0-r1 (22 Aug 2012)
+
+ 22 Aug 2012; François Bissey <francois.bissey@canterbury.ac.nz>
+ -mpc-1.0.ebuild, +mpc-1.0-r1.ebuild:
+ Preserve old lib for older portage
+
*mpc-1.0 (17 Aug 2012)
17 Aug 2012; François Bissey <francois.bissey@canterbury.ac.nz>
View
@@ -1,4 +1,4 @@
DIST mpc-1.0.tar.gz 628311 SHA256 9c953ac5886933f77e11751ea4bd185ba99f0d2f4a25eed9ff665b7c67953d03 SHA512 f621a8334a12c09ef40c9a7e668027c79277e26bb57991d6d451db053d772e2db9f958ec7f81bd1e5b8674a17f8f291461bd5d918d84c2aedc758a2cad431641 WHIRLPOOL 1f807740d9a75084d1c0a02b09225d67e065b01b21daa8cb7881e0bda9c45c985256e16227da81f5ca04489bb65c13f2da9d87f4b2dd6738919a719b4158b162
-EBUILD mpc-1.0.ebuild 1189 SHA256 9a094616149271c8c044fe30365219fde5a458690d5752fa925920d5e067451e SHA512 22c9db879bf6c6571c0fe57281359c780f1da352f0e83ca389dee48e45c337342266e913105fa6ef2e85d9f05c41cb7551a8564b17807e8fafca27e851481d24 WHIRLPOOL d4b631f984215abc0fdb0c2bcddbcb0573d0576997f78d0545b4cb5088e02233b8e691fb1636b075443e020a20ef4fd5e9ed400400fed4e9dc3f5c5f63318264
-MISC ChangeLog 4195 SHA256 e255f9b7e3e00f258dd1b9a5c335bb8dbbb5e2334d01446a3d45bb341eb12900 SHA512 1da919024a7d6a4fd7f337f07d1aa96109a18096c9d15bab5c0d408b7ae7e4dba8bbedf18427ad9e5c6297bf2ce1508108bce828250d19933c1b99f25dd81494 WHIRLPOOL 552eb8064bfa24c98c93f62563b38ef4c7c30a2ba88eaf52001a556c819667d2a1c3d41d86ea0b3a83a5ba6f8d3f5425503578e2e50607d7bcfdccc026fabdaa
+EBUILD mpc-1.0-r1.ebuild 1333 SHA256 6d8aab003517b9a9ef5808f4c251ba4543bce6bc172cc382fe65061494961540 SHA512 24e98aba621d008f617d440b17ab52980c1dcc0f3f82a1acc850ea027d3f91b15d7f3892251b637d8f9c2864f6c6de10a4600d24d2daef24b4c10e8c26165fd1 WHIRLPOOL 7a46772307bbb4cf982d262817ba80697f2669c0c25c88ad2e08058a4ef9e1b751ff205f7b4b73ba56d0f8dba0ef4a90c8f224680259c25684ef4da66b622061
+MISC ChangeLog 4366 SHA256 e91eee743ab9077abb66bf18b1777343ec1c1b779a778bbefb0c5f9364c7d3fd SHA512 99fa67293176e23b0119f5c2c30817c2fa0704a38be3d161e5f38cb4e7fbe24718f6848a8ab6052ca505ae3a7b6d56778d01132b2d92ff74f4ad480b2c161128 WHIRLPOOL 25ee7005d147cc2ae274fe269a59a224b7f5f2fd5c76f50f4315fde897d3f61c6afc6be5458e14a6756f32e85ea52448997143f6b4c5e506c35a8b452bbf8a08
MISC metadata.xml 163 SHA256 48f50afce687f8d8f44781f3e93fc4768c8d2553effd30932e442fcc3bc39289 SHA512 44e5f29fbab4f3b7ff7c0d955ca614957426af60dbf54e126c7386c0f29cd6cf9299a2ca3b8dc3c01340fd3ca258c8c251bdee96cbeb61e64d952bafd90d15eb WHIRLPOOL 7f191a9e7e93260fe562f847780351e563bab3394b45196040ab3b2d1953834ee56fdb1644b9560757a658b32067fa532e288aef50757de981012c976a612200
@@ -31,3 +31,11 @@ src_install() {
use static-libs || rm "${ED:-${D}}"/usr/lib*/libmpc.la
dodoc ChangeLog NEWS README TODO
}
+
+pkg_preinst() {
+ preserve_old_lib /usr/$(get_libdir)/libmpc.so.2
+}
+
+pkg_postinst() {
+ preserve_old_lib_notify /usr/$(get_libdir)/libmpc.so.2
+}

0 comments on commit 90922e8

Please sign in to comment.