diff options
author | 2006-11-04 23:42:33 +0000 | |
---|---|---|
committer | 2006-11-04 23:42:33 +0000 | |
commit | c45a7c36b3407a675caaf07badf17f026efa3999 (patch) | |
tree | 114d371a202aa49a143483082b1ac889daf6ac80 /sys-libs/timezone-data/files | |
parent | stable on amd64 (diff) | |
download | historical-c45a7c36b3407a675caaf07badf17f026efa3999.tar.gz historical-c45a7c36b3407a675caaf07badf17f026efa3999.tar.bz2 historical-c45a7c36b3407a675caaf07badf17f026efa3999.zip |
Add support for USE=nls #154070 by Benno Schulenberg.
Package-Manager: portage-2.1.2_rc1-r2
Diffstat (limited to 'sys-libs/timezone-data/files')
-rw-r--r-- | sys-libs/timezone-data/files/timezone-data-2005n-makefile.patch | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/sys-libs/timezone-data/files/timezone-data-2005n-makefile.patch b/sys-libs/timezone-data/files/timezone-data-2005n-makefile.patch index b591ac8a7ed0..79e88a993bf2 100644 --- a/sys-libs/timezone-data/files/timezone-data-2005n-makefile.patch +++ b/sys-libs/timezone-data/files/timezone-data-2005n-makefile.patch @@ -58,13 +58,16 @@ +AWK= awk # The path where SGML DTDs are kept. -@@ -241,8 +241,7 @@ +@@ -241,8 +241,10 @@ ############################################################################### -cc= cc -CC= $(cc) -DTZDIR=\"$(TZDIR)\" +CC+= -DTZDIR=\"$(TZDIR)\" ++ifeq ($(NLS),1) ++CC += -DHAVE_GETTEXT=1 -DTZ_DOMAIN=\"libc\" ++endif TZCSRCS= zic.c localtime.c asctime.c scheck.c ialloc.c TZCOBJS= zic.o localtime.o asctime.o scheck.o ialloc.o |