summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Ahlberg <aliz@gentoo.org>2004-02-06 10:57:10 +0000
committerDaniel Ahlberg <aliz@gentoo.org>2004-02-06 10:57:10 +0000
commita814c34d0d533f16c4d65dd196b66b8e1a8d09a5 (patch)
treea51ba2b58abd9b1c9f796ef882cdf9deb8ab408c /app-admin
parentClosing #34812. (Manifest recommit) (diff)
downloadgentoo-2-a814c34d0d533f16c4d65dd196b66b8e1a8d09a5.tar.gz
gentoo-2-a814c34d0d533f16c4d65dd196b66b8e1a8d09a5.tar.bz2
gentoo-2-a814c34d0d533f16c4d65dd196b66b8e1a8d09a5.zip
Closing #35684.
Diffstat (limited to 'app-admin')
-rw-r--r--app-admin/analog/ChangeLog7
-rw-r--r--app-admin/analog/analog-5.32.ebuild15
2 files changed, 18 insertions, 4 deletions
diff --git a/app-admin/analog/ChangeLog b/app-admin/analog/ChangeLog
index 8c41fe78788b..08081708def1 100644
--- a/app-admin/analog/ChangeLog
+++ b/app-admin/analog/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for app-admin/analog
-# Copyright 2002-2003 Gentoo Technologies, Inc.; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-admin/analog/ChangeLog,v 1.18 2003/12/10 18:39:30 weeve Exp $
+# Copyright 2002-2004 Gentoo Technologies, Inc.; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/app-admin/analog/ChangeLog,v 1.19 2004/02/06 10:57:10 aliz Exp $
+
+ 06 Feb 2004; Daniel Ahlberg <aliz@gentoo.org> analog-5.32.ebuild:
+ Exits if libgd has been compiled without jpeg support. Closing #35684.
10 Dec 2003; Jason Wever <weeve@gentoo.org> analog-5.31.ebuild,
analog-5.32.ebuild:
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