summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'dev-tcltk/tkimg/tkimg-1.5_pre324-r1.ebuild')
-rw-r--r--dev-tcltk/tkimg/tkimg-1.5_pre324-r1.ebuild12
1 files changed, 10 insertions, 2 deletions
diff --git a/dev-tcltk/tkimg/tkimg-1.5_pre324-r1.ebuild b/dev-tcltk/tkimg/tkimg-1.5_pre324-r1.ebuild
index 3967e59d328e..3e11730a6034 100644
--- a/dev-tcltk/tkimg/tkimg-1.5_pre324-r1.ebuild
+++ b/dev-tcltk/tkimg/tkimg-1.5_pre324-r1.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2011 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-tcltk/tkimg/tkimg-1.5_pre324-r1.ebuild,v 1.2 2011/08/14 14:41:10 jlec Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-tcltk/tkimg/tkimg-1.5_pre324-r1.ebuild,v 1.3 2011/09/17 17:32:28 ssuominen Exp $
EAPI=3
@@ -22,7 +22,7 @@ KEYWORDS="~alpha ~amd64 ~ppc ~sparc ~x86 ~amd64-linux ~x86-linux"
RDEPEND="
dev-lang/tk
>=dev-tcltk/tcllib-1.11
- =media-libs/libpng-1.4*
+ >=media-libs/libpng-1.4
virtual/jpeg
media-libs/tiff"
DEPEND="${RDEPEND}
@@ -31,6 +31,14 @@ DEPEND="${RDEPEND}
media-fonts/font-misc-misc
media-fonts/font-cursor-misc )"
+pkg_setup() {
+ if has_version ">=media-libs/libpng-1.5"; then
+ local msg="Sorry, but libpng 1.5 is not yet supported. See bug 378261"
+ eerror "${msg}"
+ die "${msg}"
+ fi
+}
+
src_prepare() {
local i