Bug 104384 - net-mail/fetchmail-6.2.5.2 does not really respect USE="-nls"
|
Bug#:
104384
|
Product: Gentoo Linux
|
Version: unspecified
|
Platform: All
|
|
OS/Version: Linux
|
Status: CLOSED
|
Severity: normal
|
Priority: P2
|
|
Resolution: TEST-REQUEST
|
Assigned To: net-mail@gentoo.org
|
Reported By: natanael.copa@gmail.com
|
|
Component: Applications
|
|
|
URL:
|
|
Summary: net-mail/fetchmail-6.2.5.2 does not really respect USE="-nls"
|
|
Keywords:
|
|
Status Whiteboard:
|
|
Opened: 2005-08-31 07:49 0000
|
Even if -nls is set in USE, fetchmail requires libiconv and gettext (its in the
DEPEND).
Reproducible: Always
Steps to Reproduce:
1. USE=-nls
2.
3.
Actual Results:
fetchmail gets compiled with localization.
Expected Results:
fetchmail should be compiled without localization.
libiconv and gettext creates problems in embedded.
Sorry for making noise, but...
I just fixed this thing once again and were just about to submit a new, very
similar patch when I found out that I already had submitted one.
While I were there, I noticed that the entire thing is trigged by the kerberos
patch who modifies configure.in. That makes make execute autoconf and autoconf
needs the AM_GNU_GETTEXT which fails on embedded (uclibc) systems.
So, I suggest this should happen:
if kerberos is turned on:
apply kerberos path
if nls is disabled: apply the nonls-patch
otherwise... just ingnore those patches.
That way will neither the kerberos patch or nonls patch be applied if kerberos
is turned off and autoconf will not be executed. That will dramatically reduce
build time for all non-kerberos users and it will work without the nonsl patch
on embedded.
This should be OK in freshly added fetchmail-6.3.0 - it builds fine with
USE=-nls, and it doesn't install .po files into system.
Please test and comment here. Thank you.
Works like a charm.
Thanks!