diff options
Diffstat (limited to 'app-misc/gcal/gcal-3.01-r3.ebuild')
-rw-r--r-- | app-misc/gcal/gcal-3.01-r3.ebuild | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/app-misc/gcal/gcal-3.01-r3.ebuild b/app-misc/gcal/gcal-3.01-r3.ebuild index 73d4bde4bf60..03c4b60a5436 100644 --- a/app-misc/gcal/gcal-3.01-r3.ebuild +++ b/app-misc/gcal/gcal-3.01-r3.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2009 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/app-misc/gcal/gcal-3.01-r3.ebuild,v 1.1 2009/02/26 21:41:23 ulm Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-misc/gcal/gcal-3.01-r3.ebuild,v 1.2 2009/04/01 17:25:57 ulm Exp $ inherit eutils flag-o-matic toolchain-funcs @@ -24,11 +24,10 @@ src_unpack() { epatch "${FILESDIR}"/${P}-mandir.diff epatch "${FILESDIR}"/${P}-gettext-charset.patch epatch "${WORKDIR}"/${P}-iso3166.patch - find -name Makefile.in -print0 | \ - xargs -0 -n1 sed -i "s:\(^CC = \).*:\1$(tc-getCC):" } src_compile() { + tc-export CC append-flags -D_GNU_SOURCE econf $(use_enable nls) $(use_enable ncurses) emake || die |