The ebuild for net-mail/email-2.5.1, as well as earlier versions, checks /etc/rc.conf for the setting of CLOCK. There are two problems with that: 1) The CLOCK setting is actually located in /etc/conf.d/clock, and not at all in /etc/rc.conf (maybe it used to be there??? anyway, it is wrong now). 2) It is not quite clear to me what the connection is between the setting of the hardware clock and the time zone used by a mail sending utility. These seem to be different concepts to me. A USE flag would be more appropriate. (In fact, it might be an idea if the upstream developer made this a user instead of a compile-time setting.) Reproducible: Always Steps to Reproduce: 1. Put CLOCK=UTC in /etc/conf.d/clock . 2. Build net-mail/email. 3. Actual Results: The --with-utc flag is not passed to configure (the message "Using UTC timestamps (from /etc/rc.conf)" does not appear between unpacking and compiling). Expected Results: The --with-utc flag is passed to configure (the message "Using UTC timestamps (from /etc/rc.conf)" appears between unpacking and compiling).
You're right - CLOCK setting used to be in /etc/rc.conf, but it was moved. I forgot to update email ebuilds. Fixed in 2.5.0 and 2.5.1, thanks. As for your questions, CLOCK setting is used for system time, not hardware clock. I agree with you that it should be made user setting. I suggest you contact upstream maintainer by e-mail if you feel strongly about it - he usually responds quickly and seems to be an OK guy.
Thanks for the fast response. You rock! :-) I don't agree with you on the second point though, but I'll contact the upstream maintainer as suggested for the even better fix.