summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Black <dragonheart@gentoo.org>2006-09-21 11:24:27 +0000
committerDaniel Black <dragonheart@gentoo.org>2006-09-21 11:24:27 +0000
commitb930af6f04b6b5fde684477ec5ccf7710f942a6c (patch)
treec337b0fd8f4f3c32da45ad95e912ecffe5ac689e /dev-libs/libtasn1/libtasn1-0.3.5.ebuild
parent* stable on amd64 wrt bug #146702 (diff)
downloadgentoo-2-b930af6f04b6b5fde684477ec5ccf7710f942a6c.tar.gz
gentoo-2-b930af6f04b6b5fde684477ec5ccf7710f942a6c.tar.bz2
gentoo-2-b930af6f04b6b5fde684477ec5ccf7710f942a6c.zip
added postinst message explaining the need for a rebuild
(Portage version: 2.1.2_pre1)
Diffstat (limited to 'dev-libs/libtasn1/libtasn1-0.3.5.ebuild')
-rw-r--r--dev-libs/libtasn1/libtasn1-0.3.5.ebuild10
1 files changed, 9 insertions, 1 deletions
diff --git a/dev-libs/libtasn1/libtasn1-0.3.5.ebuild b/dev-libs/libtasn1/libtasn1-0.3.5.ebuild
index 48e3cb3c8f4c..2a2bf67c94bb 100644
--- a/dev-libs/libtasn1/libtasn1-0.3.5.ebuild
+++ b/dev-libs/libtasn1/libtasn1-0.3.5.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2006 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-libs/libtasn1/libtasn1-0.3.5.ebuild,v 1.3 2006/09/21 10:26:05 corsair Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-libs/libtasn1/libtasn1-0.3.5.ebuild,v 1.4 2006/09/21 11:24:27 dragonheart Exp $
inherit libtool
@@ -30,3 +30,11 @@ src_install() {
dodoc AUTHORS ChangeLog NEWS README THANKS
use doc && dodoc doc/asn1.ps
}
+
+pkg_postinst() {
+ if [[ -e "${ROOT}"/usr/$(get_libdir)/libtasn1.so.2 ]] ; then
+ ewarn "You must re-compile all packages that are linked against"
+ ewarn "Libtasn1-0.2.* by using revdep-rebuild from gentoolkit:"
+ ewarn "# revdep-rebuild --library libtasn1.so.2"
+ fi
+}