diff options
author | Daniel Ahlberg <aliz@gentoo.org> | 2004-02-06 10:57:10 +0000 |
---|---|---|
committer | Daniel Ahlberg <aliz@gentoo.org> | 2004-02-06 10:57:10 +0000 |
commit | a814c34d0d533f16c4d65dd196b66b8e1a8d09a5 (patch) | |
tree | a51ba2b58abd9b1c9f796ef882cdf9deb8ab408c /app-admin/analog/analog-5.32.ebuild | |
parent | Closing #34812. (Manifest recommit) (diff) | |
download | gentoo-2-a814c34d0d533f16c4d65dd196b66b8e1a8d09a5.tar.gz gentoo-2-a814c34d0d533f16c4d65dd196b66b8e1a8d09a5.tar.bz2 gentoo-2-a814c34d0d533f16c4d65dd196b66b8e1a8d09a5.zip |
Closing #35684.
Diffstat (limited to 'app-admin/analog/analog-5.32.ebuild')
-rw-r--r-- | app-admin/analog/analog-5.32.ebuild | 15 |
1 files changed, 13 insertions, 2 deletions
diff --git a/app-admin/analog/analog-5.32.ebuild b/app-admin/analog/analog-5.32.ebuild index 74aaa4ca6247..255408bdea9e 100644 --- a/app-admin/analog/analog-5.32.ebuild +++ b/app-admin/analog/analog-5.32.ebuild @@ -1,6 +1,6 @@ -# Copyright 1999-2003 Gentoo Technologies, Inc. +# Copyright 1999-2004 Gentoo Technologies, Inc. # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/app-admin/analog/analog-5.32.ebuild,v 1.5 2003/12/10 18:39:30 weeve Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-admin/analog/analog-5.32.ebuild,v 1.6 2004/02/06 10:57:10 aliz Exp $ inherit eutils @@ -19,6 +19,17 @@ DEPEND=">=dev-libs/libpcre-3.4 media-libs/libpng >=sys-apps/sed-4" +pkg_setup() { + local gd_use="$(</var/db/pkg/`best_version media-libs/libgd`/USE)" + if [ ! "`has jpeg ${gd_use}`" ] ; then + eerror "libgd is missing jpeg support. Please add" + eerror "'jpeg' to your USE flags, and re-emerge libgd." + die "libgd needs jpeg support" + fi + + return 0 +} + src_unpack() { unpack ${A} ; cd ${S} epatch ${FILESDIR}/${PN}-5.1-gentoo.diff |