summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorUlrich Müller <ulm@gentoo.org>2009-04-01 17:25:57 +0000
committerUlrich Müller <ulm@gentoo.org>2009-04-01 17:25:57 +0000
commitc38ccb7186fe70b4c1715bf994c51f217408f618 (patch)
tree6df7fea5ac9372e044d6548b7b4fadb517050ddf /app-misc
parentx86 stable (diff)
downloadgentoo-2-c38ccb7186fe70b4c1715bf994c51f217408f618.tar.gz
gentoo-2-c38ccb7186fe70b4c1715bf994c51f217408f618.tar.bz2
gentoo-2-c38ccb7186fe70b4c1715bf994c51f217408f618.zip
Fix CC handling, bug 243642.
(Portage version: 2.2_rc27/cvs/Linux i686)
Diffstat (limited to 'app-misc')
-rw-r--r--app-misc/gcal/ChangeLog7
-rw-r--r--app-misc/gcal/gcal-3.01-r3.ebuild5
2 files changed, 6 insertions, 6 deletions
diff --git a/app-misc/gcal/ChangeLog b/app-misc/gcal/ChangeLog
index 4c8db9af780e..f593ddaf8e24 100644
--- a/app-misc/gcal/ChangeLog
+++ b/app-misc/gcal/ChangeLog
@@ -1,9 +1,10 @@
# ChangeLog for app-misc/gcal
# Copyright 2002-2009 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-misc/gcal/ChangeLog,v 1.25 2009/04/01 15:27:43 ulm Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-misc/gcal/ChangeLog,v 1.26 2009/04/01 17:25:57 ulm Exp $
- 01 Apr 2009; Ulrich Mueller <ulm@gentoo.org> metadata.xml:
- Add myself as maintainer. Add longdescription.
+ 01 Apr 2009; Ulrich Mueller <ulm@gentoo.org> metadata.xml,
+ gcal-3.01-r3.ebuild:
+ Add myself as maintainer. Add longdescription. Fix CC handling, bug 243642.
*gcal-3.01-r3 (26 Feb 2009)
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