summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSeemant Kulleen <seemant@gentoo.org>2002-04-14 16:55:21 +0000
committerSeemant Kulleen <seemant@gentoo.org>2002-04-14 16:55:21 +0000
commit9bc1ae84c4e83459bcb554354974b259e2a38caf (patch)
tree9320a3150966e163c39362d39ec7e118cb495621 /media-libs/giflib
parentRemoved the ungif flag (diff)
downloadhistorical-9bc1ae84c4e83459bcb554354974b259e2a38caf.tar.gz
historical-9bc1ae84c4e83459bcb554354974b259e2a38caf.tar.bz2
historical-9bc1ae84c4e83459bcb554354974b259e2a38caf.zip
Issue warning to user about gif USE flag
Diffstat (limited to 'media-libs/giflib')
-rw-r--r--media-libs/giflib/giflib-4.1.0-r3.ebuild16
1 files changed, 15 insertions, 1 deletions
diff --git a/media-libs/giflib/giflib-4.1.0-r3.ebuild b/media-libs/giflib/giflib-4.1.0-r3.ebuild
index 3a5a3f24c905..31e48e4b6fcc 100644
--- a/media-libs/giflib/giflib-4.1.0-r3.ebuild
+++ b/media-libs/giflib/giflib-4.1.0-r3.ebuild
@@ -2,7 +2,7 @@
# Distributed under the terms of the GNU General Public License, v2 or later
# Author Achim Gottinger <achim@gentoo.org>
# Updated by AJ Lewis <aj@gentoo.org>
-# $Header: /var/cvsroot/gentoo-x86/media-libs/giflib/giflib-4.1.0-r3.ebuild,v 1.2 2002/04/14 16:51:11 seemant Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-libs/giflib/giflib-4.1.0-r3.ebuild,v 1.3 2002/04/14 16:55:21 seemant Exp $
S=${WORKDIR}/${P}
DESCRIPTION="giflib"
@@ -47,3 +47,17 @@ src_install() {
dohtml -r doc
}
+
+pkg_postinst() {
+
+ use gif 2>/dev/null && (
+ einfo "You had the gif USE flag set, so the binary from this library"
+ einfo "is your gif binary. If you would prefer to use the binary from"
+ einfo "the ungif library, please unset the gif USE toggle, and remerge"
+ einfo "both this and libungif"
+ ) || (
+ einfo "You did not have the gif USE toggle set, so the binary from"
+ einfo "the libungif package is assumed to be your gif binary. Please"
+ einfo "make sure that you have libungif emerged."
+ )
+}