From 94981aabd6a695cbceda91a0c9be0150d97eba24 Mon Sep 17 00:00:00 2001 From: Christian Faulhammer Date: Thu, 9 Jul 2009 08:17:43 +0000 Subject: only display pkg_postinst message when JBIG support is compiled, bug 276870 by Toralf Förster (Portage version: 2.1.6.13/cvs/Linux i686) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- media-libs/tiff/tiff-3.8.2-r7.ebuild | 16 +++++++++------- 1 file changed, 9 insertions(+), 7 deletions(-) (limited to 'media-libs/tiff/tiff-3.8.2-r7.ebuild') 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 } -- cgit v1.2.3-65-gdbad