summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2012-08-18 23:46:41 +0000
committerMike Frysinger <vapier@gentoo.org>2012-08-18 23:46:41 +0000
commit241af497caacd0ce7cd92ec8cf4d7e2490bc5a9c (patch)
tree8e1f8b0f5f8d561f28903b3736ff1f34c18d5ac8 /net-misc/whois
parentStable for x86, wrt bug #428954 (diff)
downloadgentoo-2-241af497caacd0ce7cd92ec8cf4d7e2490bc5a9c.tar.gz
gentoo-2-241af497caacd0ce7cd92ec8cf4d7e2490bc5a9c.tar.bz2
gentoo-2-241af497caacd0ce7cd92ec8cf4d7e2490bc5a9c.zip
Add USE=-nls fix to older ebuilds too.
(Portage version: 2.2.0_alpha120/cvs/Linux x86_64)
Diffstat (limited to 'net-misc/whois')
-rw-r--r--net-misc/whois/ChangeLog6
-rw-r--r--net-misc/whois/whois-5.0.15.ebuild6
-rw-r--r--net-misc/whois/whois-5.0.16.ebuild6
3 files changed, 15 insertions, 3 deletions
diff --git a/net-misc/whois/ChangeLog b/net-misc/whois/ChangeLog
index 28f4f488022c..35f16099baea 100644
--- a/net-misc/whois/ChangeLog
+++ b/net-misc/whois/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for net-misc/whois
# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-misc/whois/ChangeLog,v 1.180 2012/07/25 21:00:54 radhermit Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-misc/whois/ChangeLog,v 1.181 2012/08/18 23:46:41 vapier Exp $
+
+ 18 Aug 2012; Mike Frysinger <vapier@gentoo.org> whois-5.0.15.ebuild,
+ whois-5.0.16.ebuild:
+ Add USE=-nls fix to older ebuilds too.
*whois-5.0.18 (25 Jul 2012)
diff --git a/net-misc/whois/whois-5.0.15.ebuild b/net-misc/whois/whois-5.0.15.ebuild
index 16c28ead2cca..3503fe9400ac 100644
--- a/net-misc/whois/whois-5.0.15.ebuild
+++ b/net-misc/whois/whois-5.0.15.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.15.ebuild,v 1.8 2012/06/17 16:04:35 armin76 Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-misc/whois/whois-5.0.15.ebuild,v 1.9 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
}
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
}