summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2012-04-23 20:14:52 +0000
committerMike Frysinger <vapier@gentoo.org>2012-04-23 20:14:52 +0000
commit647222c5f69f458e66bb4c93ec21f93d0113d65f (patch)
tree6474a246ec522478491e106d3fef9ae483c9f3bf /media-libs/gd/gd-2.0.35-r3.ebuild
parentVersion bump. (diff)
downloadgentoo-2-647222c5f69f458e66bb4c93ec21f93d0113d65f.tar.gz
gentoo-2-647222c5f69f458e66bb4c93ec21f93d0113d65f.tar.bz2
gentoo-2-647222c5f69f458e66bb4c93ec21f93d0113d65f.zip
Stub out AM_ICONV if gettext is not installed.
(Portage version: 2.2.0_alpha100/cvs/Linux x86_64)
Diffstat (limited to 'media-libs/gd/gd-2.0.35-r3.ebuild')
-rw-r--r--media-libs/gd/gd-2.0.35-r3.ebuild6
1 files changed, 5 insertions, 1 deletions
diff --git a/media-libs/gd/gd-2.0.35-r3.ebuild b/media-libs/gd/gd-2.0.35-r3.ebuild
index 849ef6b5d308..1391e0875415 100644
--- a/media-libs/gd/gd-2.0.35-r3.ebuild
+++ b/media-libs/gd/gd-2.0.35-r3.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/media-libs/gd/gd-2.0.35-r3.ebuild,v 1.15 2012/03/05 06:54:29 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-libs/gd/gd-2.0.35-r3.ebuild,v 1.16 2012/04/23 20:14:52 vapier Exp $
EAPI="2"
@@ -36,6 +36,10 @@ src_prepare() {
use zlib || make_sed+=( -e '/_PROGRAMS/s:(gd2topng|gd2copypal|gd2togif|giftogd2|gdparttopng|pngtogd2)::g' )
sed -i -r "${make_sed[@]}" Makefile.am || die
+ cat <<-EOF > acinclude.m4
+ m4_ifndef([AM_ICONV],[m4_define([AM_ICONV],[:])])
+ EOF
+
eautoreconf
}