summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2014-08-12 05:57:34 +0000
committerMike Frysinger <vapier@gentoo.org>2014-08-12 05:57:34 +0000
commitcb3d5ef09279faac26be8029960405beb24626b2 (patch)
tree40dc3f8c7759b5d3f52ec86c08b9ee08fc0330b8 /sys-libs/e2fsprogs-libs/e2fsprogs-libs-1.42.11.ebuild
parentversion bump (diff)
downloadgentoo-2-cb3d5ef09279faac26be8029960405beb24626b2.tar.gz
gentoo-2-cb3d5ef09279faac26be8029960405beb24626b2.tar.bz2
gentoo-2-cb3d5ef09279faac26be8029960405beb24626b2.zip
Fix USE=-nls builds that lack gettext.
(Portage version: 2.2.10/cvs/Linux x86_64, signed Manifest commit with key D2E96200)
Diffstat (limited to 'sys-libs/e2fsprogs-libs/e2fsprogs-libs-1.42.11.ebuild')
-rw-r--r--sys-libs/e2fsprogs-libs/e2fsprogs-libs-1.42.11.ebuild4
1 files changed, 3 insertions, 1 deletions
diff --git a/sys-libs/e2fsprogs-libs/e2fsprogs-libs-1.42.11.ebuild b/sys-libs/e2fsprogs-libs/e2fsprogs-libs-1.42.11.ebuild
index 308c2705c241..58cba38b7f01 100644
--- a/sys-libs/e2fsprogs-libs/e2fsprogs-libs-1.42.11.ebuild
+++ b/sys-libs/e2fsprogs-libs/e2fsprogs-libs-1.42.11.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2014 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-libs/e2fsprogs-libs/e2fsprogs-libs-1.42.11.ebuild,v 1.3 2014/08/05 10:40:46 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-libs/e2fsprogs-libs/e2fsprogs-libs-1.42.11.ebuild,v 1.4 2014/08/12 05:57:34 vapier Exp $
EAPI="4"
@@ -37,6 +37,8 @@ src_prepare() {
epatch "${FILESDIR}"/${PN}-1.42.9-no-quota.patch
epatch "${FILESDIR}"/${PN}-1.42.10-fix-build-cflags.patch
epatch "${FILESDIR}"/${PN}-1.42.11-prototypes.patch
+ # Not everyone has gettext installed (like USE=-nls).
+ echo 'm4_ifndef([AM_GNU_GETTEXT],[m4_define([AM_GNU_GETTEXT])])' >> acinclude.m4
eautoreconf
}