From cbbe96bd3260884fa279fab4e8c3ff3e9918e33f Mon Sep 17 00:00:00 2001 From: Arfrever Frehtes Taifersar Arahesis Date: Sun, 11 Mar 2018 05:29:29 +0100 Subject: dev-libs/isl: Call preserve_old_lib() to fix upgrade path. Closes: https://bugs.gentoo.org/650164 --- dev-libs/isl/isl-0.19.ebuild | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) (limited to 'dev-libs/isl/isl-0.19.ebuild') 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) +} -- cgit v1.2.3-65-gdbad