diff options
author | Samuli Suominen <ssuominen@gentoo.org> | 2010-10-26 10:11:36 +0000 |
---|---|---|
committer | Samuli Suominen <ssuominen@gentoo.org> | 2010-10-26 10:11:36 +0000 |
commit | 2733fa6deb161c03c7fb70936651a565b84f627d (patch) | |
tree | eb39be5d616aa409e2351fab0e2281d82b5fc938 /media-libs/libpng | |
parent | Version bump. (diff) | |
download | gentoo-2-2733fa6deb161c03c7fb70936651a565b84f627d.tar.gz gentoo-2-2733fa6deb161c03c7fb70936651a565b84f627d.tar.bz2 gentoo-2-2733fa6deb161c03c7fb70936651a565b84f627d.zip |
backport the proper preserve handling to 1.4.3
(Portage version: 2.2.0_alpha1/cvs/Linux x86_64)
Diffstat (limited to 'media-libs/libpng')
-rw-r--r-- | media-libs/libpng/libpng-1.4.3.ebuild | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/media-libs/libpng/libpng-1.4.3.ebuild b/media-libs/libpng/libpng-1.4.3.ebuild index 23b36c99bed4..e4c3c8e0f2ae 100644 --- a/media-libs/libpng/libpng-1.4.3.ebuild +++ b/media-libs/libpng/libpng-1.4.3.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2010 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/media-libs/libpng/libpng-1.4.3.ebuild,v 1.10 2010/07/19 01:06:06 josejx Exp $ +# $Header: /var/cvsroot/gentoo-x86/media-libs/libpng/libpng-1.4.3.ebuild,v 1.11 2010/10/26 10:11:36 ssuominen Exp $ EAPI=3 inherit eutils libtool multilib prefix @@ -31,6 +31,7 @@ src_install() { } pkg_preinst() { + has_version ${CATEGORY}/${PN}:1.2 && return 0 preserve_old_lib /usr/$(get_libdir)/libpng12.so.0 } @@ -38,5 +39,7 @@ pkg_postinst() { elog elog "Run ${EPREFIX}/usr/sbin/libpng-1.4.x-update.sh to fix libtool archives (.la)" elog + + has_version ${CATEGORY}/${PN}:1.2 && return 0 preserve_old_lib_notify /usr/$(get_libdir)/libpng12.so.0 } |