Summary: | >=sys-libs/timezone-data-2014e: zdump -v searches /usr/local/etc/zoneinfo/ | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Victor <v.simankin> |
Component: | [OLD] Core system | Assignee: | Gentoo Toolchain Maintainers <toolchain> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | gentoo.8eaf7cd8e5128d8191fe, rik |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- |
Description
Victor
2014-10-25 19:50:54 UTC
The problem is caused by the zic binary cause it uses the default TZDIR from tzfile.h It looks like the correct Makefile patch to build the zic correctly should be: {{{ --- files/timezone-data-2014g-makefile.patch +++ files/timezone-data-2014g-makefile.patch @@ -49,7 +49,7 @@ -cc= cc -CC= $(cc) -DTZDIR=\"$(TZDIR)\" ++override CC+= -DTZDIR=\"$(TZDIR)\" -+CC+= -DTZDIR=\"$(TZDIR)\" +ifeq ($(NLS),1) +CC+= -DHAVE_GETTEXT=1 -DTZ_DOMAIN=\"libc\" +endif }}} This variant will allow to merge command line variable for the Makefile and the locally added value. I suppose this was intended originally. the 2014e ebuild started adding CC= to the command line which overrides the appending of the flags to the CC var should be all set now in the tree; thanks for the report! Commit message: Fix CPPFLAGS usage http://sources.gentoo.org/sys-libs/timezone-data/files/timezone-data-2014h-makefile.patch?r1=1.1&r2=1.2 http://sources.gentoo.org/sys-libs/timezone-data/timezone-data-2014i-r1.ebuild?rev=1.1 *** Bug 526956 has been marked as a duplicate of this bug. *** |