summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Faulhammer <fauli@gentoo.org>2009-07-09 08:17:43 +0000
committerChristian Faulhammer <fauli@gentoo.org>2009-07-09 08:17:43 +0000
commit94981aabd6a695cbceda91a0c9be0150d97eba24 (patch)
tree64ad152287133ce6a0f1f2605dbb556cca29b1ea /media-libs/tiff/tiff-3.8.2-r7.ebuild
parentstable x86, bug 277126 (diff)
downloadgentoo-2-94981aabd6a695cbceda91a0c9be0150d97eba24.tar.gz
gentoo-2-94981aabd6a695cbceda91a0c9be0150d97eba24.tar.bz2
gentoo-2-94981aabd6a695cbceda91a0c9be0150d97eba24.zip
only display pkg_postinst message when JBIG support is compiled, bug 276870 by Toralf Förster <toralf DOT foerster AT gmx DOT de>
(Portage version: 2.1.6.13/cvs/Linux i686)
Diffstat (limited to 'media-libs/tiff/tiff-3.8.2-r7.ebuild')
-rw-r--r--media-libs/tiff/tiff-3.8.2-r7.ebuild16
1 files changed, 9 insertions, 7 deletions
diff --git a/media-libs/tiff/tiff-3.8.2-r7.ebuild b/media-libs/tiff/tiff-3.8.2-r7.ebuild
index f8b22c8a52de..59892c1ed443 100644
--- a/media-libs/tiff/tiff-3.8.2-r7.ebuild
+++ b/media-libs/tiff/tiff-3.8.2-r7.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2009 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/media-libs/tiff/tiff-3.8.2-r7.ebuild,v 1.6 2009/07/08 20:30:43 maekke Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-libs/tiff/tiff-3.8.2-r7.ebuild,v 1.7 2009/07/09 08:17:43 fauli Exp $
EAPI=2
@@ -49,10 +49,12 @@ src_install() {
}
pkg_postinst() {
- echo
- elog "JBIG support is intended for Hylafax fax compression, so we"
- elog "really need more feedback in other areas (most testing has"
- elog "been done with fax). Be sure to recompile anything linked"
- elog "against tiff if you rebuild it with jbig support."
- echo
+ if use jbig; then
+ echo
+ elog "JBIG support is intended for Hylafax fax compression, so we"
+ elog "really need more feedback in other areas (most testing has"
+ elog "been done with fax). Be sure to recompile anything linked"
+ elog "against tiff if you rebuild it with jbig support."
+ echo
+ fi
}