diff options
author | Kacper Kowalik <xarthisius@gentoo.org> | 2012-12-04 06:59:14 +0000 |
---|---|---|
committer | Kacper Kowalik <xarthisius@gentoo.org> | 2012-12-04 06:59:14 +0000 |
commit | 1771df06851f80cc51b24b42f5a1cd1d986140a8 (patch) | |
tree | 945c1e123a79428649c15fe80e0426cfb55976c6 /sci-libs/hdf5 | |
parent | Removed older version because of security issues. Closes bugs #386319 and #42... (diff) | |
download | gentoo-2-1771df06851f80cc51b24b42f5a1cd1d986140a8.tar.gz gentoo-2-1771df06851f80cc51b24b42f5a1cd1d986140a8.tar.bz2 gentoo-2-1771df06851f80cc51b24b42f5a1cd1d986140a8.zip |
Add warning message about possible mismatch between headers and library in reverse dependencies. Fixes bug 445268 by William Throwe <wtt6@cornell.edu>
(Portage version: 2.2.0_alpha142/cvs/Linux x86_64, signed Manifest commit with key 0x5D21B852895192F9)
Diffstat (limited to 'sci-libs/hdf5')
-rw-r--r-- | sci-libs/hdf5/ChangeLog | 6 | ||||
-rw-r--r-- | sci-libs/hdf5/hdf5-1.8.10.ebuild | 14 |
2 files changed, 18 insertions, 2 deletions
diff --git a/sci-libs/hdf5/ChangeLog b/sci-libs/hdf5/ChangeLog index 80c687e97b77..cfc4ada9afaf 100644 --- a/sci-libs/hdf5/ChangeLog +++ b/sci-libs/hdf5/ChangeLog @@ -1,6 +1,10 @@ # ChangeLog for sci-libs/hdf5 # Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/sci-libs/hdf5/ChangeLog,v 1.99 2012/11/21 11:26:17 ago Exp $ +# $Header: /var/cvsroot/gentoo-x86/sci-libs/hdf5/ChangeLog,v 1.100 2012/12/04 06:59:14 xarthisius Exp $ + + 04 Dec 2012; Kacper Kowalik <xarthisius@gentoo.org> hdf5-1.8.10.ebuild: + Add warning message about possible mismatch between headers and library in + reverse dependencies. Fixes bug 445268 by William Throwe <wtt6@cornell.edu> 21 Nov 2012; Agostino Sarubbo <ago@gentoo.org> hdf5-1.8.9-r2.ebuild: Stable for x86, wrt bug #440682 diff --git a/sci-libs/hdf5/hdf5-1.8.10.ebuild b/sci-libs/hdf5/hdf5-1.8.10.ebuild index a2ba3a2d257a..cc1a4c200d6f 100644 --- a/sci-libs/hdf5/hdf5-1.8.10.ebuild +++ b/sci-libs/hdf5/hdf5-1.8.10.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2012 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/sci-libs/hdf5/hdf5-1.8.10.ebuild,v 1.1 2012/11/06 19:56:41 xarthisius Exp $ +# $Header: /var/cvsroot/gentoo-x86/sci-libs/hdf5/hdf5-1.8.10.ebuild,v 1.2 2012/12/04 06:59:14 xarthisius Exp $ EAPI=4 @@ -101,3 +101,15 @@ src_install() { default use static-libs || find "${ED}" -name '*.la' -exec rm -f {} + } + +pkg_postinst() { + if has_version "sci-libs/hdf5"; then + ewarn "You have upgraded hdf5 from previous version and the software" + ewarn "using it may start complaining about mismatch between headers" + ewarn "and library version. You have two options:" + ewarn " 1. export HDF5_DISABLE_VERSION_CHECK=2 to get rid of the" + ewarn " warning/error message" + ewarn " 2. re-emerge all reverse dependencies (type" + ewarn " 'emerge --depclean -pv sci-libs/hdf5' to get the list)" + fi +} |