diff options
author | Arfrever Frehtes Taifersar Arahesis <Arfrever@Apache.Org> | 2018-03-11 05:29:29 +0100 |
---|---|---|
committer | Anthony G. Basile <blueness@gentoo.org> | 2018-03-10 23:39:53 -0500 |
commit | cbbe96bd3260884fa279fab4e8c3ff3e9918e33f (patch) | |
tree | 87b66075594210ba9164d32b71eb0f539921f7b1 /dev-libs | |
parent | sys-apps/systemd: fix file collisions with sysv-utils disabled (diff) | |
download | gentoo-cbbe96bd3260884fa279fab4e8c3ff3e9918e33f.tar.gz gentoo-cbbe96bd3260884fa279fab4e8c3ff3e9918e33f.tar.bz2 gentoo-cbbe96bd3260884fa279fab4e8c3ff3e9918e33f.zip |
dev-libs/isl: Call preserve_old_lib() to fix upgrade path.
Closes: https://bugs.gentoo.org/650164
Diffstat (limited to 'dev-libs')
-rw-r--r-- | dev-libs/isl/isl-0.19.ebuild | 14 |
1 files changed, 13 insertions, 1 deletions
diff --git a/dev-libs/isl/isl-0.19.ebuild b/dev-libs/isl/isl-0.19.ebuild index f0dde9963d8e..2aba05792855 100644 --- a/dev-libs/isl/isl-0.19.ebuild +++ b/dev-libs/isl/isl-0.19.ebuild @@ -3,7 +3,7 @@ EAPI="5" -inherit eutils multilib-minimal +inherit eutils multilib-minimal preserve-libs DESCRIPTION="A library for manipulating integer points bounded by linear constraints" HOMEPAGE="http://isl.gforge.inria.fr/" @@ -37,3 +37,15 @@ multilib_src_install_all() { einstalldocs prune_libtool_files } + +pkg_preinst() { + preserve_old_lib \ + /usr/$(get_libdir)/libisl$(get_libname 14) \ + /usr/$(get_libdir)/libisl$(get_libname 15) +} + +pkg_postinst() { + preserve_old_lib_notify \ + /usr/$(get_libdir)/libisl$(get_libname 14) \ + /usr/$(get_libdir)/libisl$(get_libname 15) +} |