From ef5b53925f4cfa578c4f659840213a46e6d43ef1 Mon Sep 17 00:00:00 2001 From: "Anthony G. Basile" Date: Mon, 29 Oct 2012 16:30:51 -0400 Subject: [PATCH] Do not break autopoint by cleaning out /usr/share/gettext in stage1 The problem comes in stage3 when you have packages that inherit autotools.eclass. The eclass may make use of gettext and run autopoint which will fail if it doesn't find /usr/share/gettext/archive.dir.tar.gz. X-Gentoo-Bug: 439636 X-Gentoo-Bug-URL: https://bugs.gentoo.org/show_bug.cgi?id=439636 Signed-off-by: Anthony G. Basile --- modules/stage1_target.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/stage1_target.py b/modules/stage1_target.py index b97bd891..0a93c88b 100644 --- a/modules/stage1_target.py +++ b/modules/stage1_target.py @@ -28,7 +28,7 @@ class stage1_target(generic_stage_target): def set_cleanables(self): generic_stage_target.set_cleanables(self) - self.settings["cleanables"].extend(["/usr/share/gettext",\ + self.settings["cleanables"].extend([\ "/usr/lib/python2.2/test", "/usr/lib/python2.2/email",\ "/usr/lib/python2.2/lib-tk", "/usr/lib/python2.3/test",\ "/usr/lib/python2.3/email", "/usr/lib/python2.3/lib-tk",\ -- 2.26.2