summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'dev-libs/m17n-lib/m17n-lib-1.3.3.ebuild')
-rw-r--r--dev-libs/m17n-lib/m17n-lib-1.3.3.ebuild10
1 files changed, 9 insertions, 1 deletions
diff --git a/dev-libs/m17n-lib/m17n-lib-1.3.3.ebuild b/dev-libs/m17n-lib/m17n-lib-1.3.3.ebuild
index aff9105e1f24..15f650bc93b9 100644
--- a/dev-libs/m17n-lib/m17n-lib-1.3.3.ebuild
+++ b/dev-libs/m17n-lib/m17n-lib-1.3.3.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2006 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-libs/m17n-lib/m17n-lib-1.3.3.ebuild,v 1.1 2006/08/07 00:19:59 matsuu Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-libs/m17n-lib/m17n-lib-1.3.3.ebuild,v 1.2 2006/10/15 20:04:06 matsuu Exp $
inherit flag-o-matic
@@ -30,6 +30,14 @@ DEPEND="|| ( (
>=dev-libs/libotf-0.9.2
>=dev-db/m17n-db-${PV}"
+pkg_setup() {
+ if ! built_with_use media-libs/gd png ; then
+ eerror "m17n-lib requires GD to be built with png support. Please add"
+ eerror "'png' to your USE flags, and re-emerge media-libs/gd."
+ die "Missing USE flag."
+ fi
+}
+
src_compile() {
append-flags -fPIC
econf || die