summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'net-misc/whois/whois-5.0.16.ebuild')
-rw-r--r--net-misc/whois/whois-5.0.16.ebuild6
1 files changed, 5 insertions, 1 deletions
diff --git a/net-misc/whois/whois-5.0.16.ebuild b/net-misc/whois/whois-5.0.16.ebuild
index 88fbcc178350..f4b1de8497f9 100644
--- a/net-misc/whois/whois-5.0.16.ebuild
+++ b/net-misc/whois/whois-5.0.16.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/net-misc/whois/whois-5.0.16.ebuild,v 1.1 2012/05/01 14:19:26 radhermit Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-misc/whois/whois-5.0.16.ebuild,v 1.2 2012/08/18 23:46:41 vapier Exp $
EAPI=4
inherit eutils toolchain-funcs
@@ -28,6 +28,10 @@ src_prepare() {
sed -i -e 's:#\(.*pos\):\1:' Makefile || die
else
sed -i -e '/ENABLE_NLS/s:define:undef:' config.h || die
+
+ # don't generate po files when nls is disabled (bug #419889)
+ sed -i -e '/^all:/s/ pos//' \
+ -e '/^install:/s/ install-pos//' Makefile || die
fi
}