I provide a patch and a fixed ebuild for txt2regex when NLS support is disabled. The patch is applied conditionally when nls in not inside USE. Reproducible: Didn't try Steps to Reproduce: 1. 2. 3.
Created attachment 59550 [details, diff] NLS removal patch to apply conditionnaly
Created attachment 59551 [details] The ebuild The ebuild also contains a workaround/fix for the <A4> character as described in README.japanese from the upstream source. Enabled only when cjk is in USE.
Hrm. I don't like this. Upstream have decided not to make nls optional, and I'd rather not override that for the sake of a few textfiles. It's not like it's pulling in gettext or anything.
Please look again at the Makefile. The "install" target depends on "mo". The "mo" target is defined on line 57. On line 62, a line withing the "mo" instructions, there is a call to msgfmt and msgfmt is provided by gettext. So to get NLS, one must have gettext.
Meh. Oops. I've included the patch and the cjk fix -- I did them in src_unpack rather than src_install as per policy. I also added in the gettext dep. -r1 committed, thanks.