summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatsuu Takuto <matsuu@gentoo.org>2006-10-15 20:04:06 +0000
committerMatsuu Takuto <matsuu@gentoo.org>2006-10-15 20:04:06 +0000
commit5461c694286c151c9f4ceacb43f822dad109271f (patch)
tree53fa593b91c5a06c8baffaf23a508b9b5bc81390 /dev-libs/m17n-lib
parentInitial version. See bug #151330 for details. (diff)
downloadgentoo-2-5461c694286c151c9f4ceacb43f822dad109271f.tar.gz
gentoo-2-5461c694286c151c9f4ceacb43f822dad109271f.tar.bz2
gentoo-2-5461c694286c151c9f4ceacb43f822dad109271f.zip
Added built_with_use to pkg_setup, bug #151418.
(Portage version: 2.1.1-r1)
Diffstat (limited to 'dev-libs/m17n-lib')
-rw-r--r--dev-libs/m17n-lib/ChangeLog6
-rw-r--r--dev-libs/m17n-lib/m17n-lib-1.2.0.ebuild10
-rw-r--r--dev-libs/m17n-lib/m17n-lib-1.3.3.ebuild10
3 files changed, 23 insertions, 3 deletions
diff --git a/dev-libs/m17n-lib/ChangeLog b/dev-libs/m17n-lib/ChangeLog
index ea11b5f1780a..6b522550eda2 100644
--- a/dev-libs/m17n-lib/ChangeLog
+++ b/dev-libs/m17n-lib/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for dev-libs/m17n-lib
# Copyright 2000-2006 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-libs/m17n-lib/ChangeLog,v 1.24 2006/08/07 00:19:59 matsuu Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-libs/m17n-lib/ChangeLog,v 1.25 2006/10/15 20:04:06 matsuu Exp $
+
+ 15 Oct 2006; MATSUU Takuto <matsuu@gentoo.org> m17n-lib-1.2.0.ebuild,
+ m17n-lib-1.3.3.ebuild:
+ Added built_with_use to pkg_setup, bug #151418.
*m17n-lib-1.3.3 (07 Aug 2006)
diff --git a/dev-libs/m17n-lib/m17n-lib-1.2.0.ebuild b/dev-libs/m17n-lib/m17n-lib-1.2.0.ebuild
index 5c9a1fe9be61..6f4eea414eae 100644
--- a/dev-libs/m17n-lib/m17n-lib-1.2.0.ebuild
+++ b/dev-libs/m17n-lib/m17n-lib-1.2.0.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.2.0.ebuild,v 1.7 2006/02/10 22:43:01 liquidx Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-libs/m17n-lib/m17n-lib-1.2.0.ebuild,v 1.8 2006/10/15 20:04:06 matsuu Exp $
inherit eutils
@@ -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_unpack() {
unpack ${A}
cd ${S}
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