diff options
author | Mike Frysinger <vapier@gentoo.org> | 2006-04-16 06:19:51 +0000 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2006-04-16 06:19:51 +0000 |
commit | d55733c87ef6edc7f4ccb37c8af86d8bc7de548a (patch) | |
tree | ce5b5836dcefab06bac5fc4542a23d4a20ad4186 | |
parent | Version bump. (diff) | |
download | gentoo-2-d55733c87ef6edc7f4ccb37c8af86d8bc7de548a.tar.gz gentoo-2-d55733c87ef6edc7f4ccb37c8af86d8bc7de548a.tar.bz2 gentoo-2-d55733c87ef6edc7f4ccb37c8af86d8bc7de548a.zip |
respect user env CC #128306 by Josu López Fernández
(Portage version: 2.1_pre7-r5)
-rw-r--r-- | sys-libs/timezone-data/files/timezone-data-2005n-makefile.patch | 12 |
1 files changed, 11 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 185c05882ecf..b591ac8a7ed0 100644 --- a/sys-libs/timezone-data/files/timezone-data-2005n-makefile.patch +++ b/sys-libs/timezone-data/files/timezone-data-2005n-makefile.patch @@ -1,5 +1,5 @@ - Fix up default paths - - Support env DESTDIR / LDFLAGS / CFLAGS + - Support env DESTDIR / LDFLAGS / CFLAGS / CC - Use awk instead of nawk - Don't build/install libtz.a - Don't install man-pages provided by sys-apps/man-pages @@ -58,6 +58,16 @@ +AWK= awk # The path where SGML DTDs are kept. +@@ -241,8 +241,7 @@ + + ############################################################################### + +-cc= cc +-CC= $(cc) -DTZDIR=\"$(TZDIR)\" ++CC+= -DTZDIR=\"$(TZDIR)\" + + TZCSRCS= zic.c localtime.c asctime.c scheck.c ialloc.c + TZCOBJS= zic.o localtime.o asctime.o scheck.o ialloc.o @@ -281,11 +281,13 @@ ALL: all date |