summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCédric Krier <cedk@gentoo.org>2008-10-25 12:51:23 +0000
committerCédric Krier <cedk@gentoo.org>2008-10-25 12:51:23 +0000
commit75fb79bf2a3831b50d4de8a6a24376f17d2ea5b3 (patch)
treef26b472594a1c2b75314c9e1cf2542a66fdf643c /app-office/calcurse
parentversion bump wrt #241398, fixes emacs support wrt #237528 (diff)
downloadgentoo-2-75fb79bf2a3831b50d4de8a6a24376f17d2ea5b3.tar.gz
gentoo-2-75fb79bf2a3831b50d4de8a6a24376f17d2ea5b3.tar.bz2
gentoo-2-75fb79bf2a3831b50d4de8a6a24376f17d2ea5b3.zip
Fix CFLAGS for bug #240119 and add missing IUSE
(Portage version: 2.1.4.5)
Diffstat (limited to 'app-office/calcurse')
-rw-r--r--app-office/calcurse/ChangeLog6
-rw-r--r--app-office/calcurse/calcurse-2.1.ebuild9
-rw-r--r--app-office/calcurse/files/calcurse-2.1-cflags.patch12
3 files changed, 24 insertions, 3 deletions
diff --git a/app-office/calcurse/ChangeLog b/app-office/calcurse/ChangeLog
index 32b6ad95f10d..f0238a6d493a 100644
--- a/app-office/calcurse/ChangeLog
+++ b/app-office/calcurse/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for app-office/calcurse
# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-office/calcurse/ChangeLog,v 1.5 2008/05/17 15:45:31 cedk Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-office/calcurse/ChangeLog,v 1.6 2008/10/25 12:51:23 cedk Exp $
+
+ 25 Oct 2008; Cédric Krier <cedk@gentoo.org>
+ +files/calcurse-2.1-cflags.patch, calcurse-2.1.ebuild:
+ Fix CFLAGS for bug #240119 and add missing IUSE
*calcurse-2.1 (17 May 2008)
diff --git a/app-office/calcurse/calcurse-2.1.ebuild b/app-office/calcurse/calcurse-2.1.ebuild
index 248c7c6daf0f..55916ad550e6 100644
--- a/app-office/calcurse/calcurse-2.1.ebuild
+++ b/app-office/calcurse/calcurse-2.1.ebuild
@@ -1,6 +1,8 @@
# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/app-office/calcurse/calcurse-2.1.ebuild,v 1.1 2008/05/17 15:45:31 cedk Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-office/calcurse/calcurse-2.1.ebuild,v 1.2 2008/10/25 12:51:23 cedk Exp $
+
+inherit eutils autotools
DESCRIPTION="a text-based personal organizer"
HOMEPAGE="http://culot.org/calcurse/index.html"
@@ -9,7 +11,7 @@ SRC_URI="mirror://gentoo/${P}.tar.gz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~x86"
-IUSE="linguas_en linguas_fr linguas_de linguas_es linguas_nl"
+IUSE="linguas_en linguas_fr linguas_de linguas_es linguas_it linguas_nl"
DEPEND="sys-libs/ncurses"
RDEPEND=${DEPEND}
@@ -18,6 +20,9 @@ src_unpack() {
unpack ${A}
cd "${S}"
rm po/LINGUAS
+
+ epatch "${FILESDIR}"/${P}-cflags.patch
+ eautoreconf
}
src_compile() {
diff --git a/app-office/calcurse/files/calcurse-2.1-cflags.patch b/app-office/calcurse/files/calcurse-2.1-cflags.patch
new file mode 100644
index 000000000000..ebc28d29c329
--- /dev/null
+++ b/app-office/calcurse/files/calcurse-2.1-cflags.patch
@@ -0,0 +1,12 @@
+diff -ru calcurse-2.1~/configure.ac calcurse-2.1/configure.ac
+--- calcurse-2.1~/configure.ac 2008-10-25 14:41:09.000000000 +0200
++++ calcurse-2.1/configure.ac 2008-10-25 14:41:51.000000000 +0200
+@@ -56,7 +56,7 @@
+ #-------------------------------------------------------------------------------
+ # Compilation options
+ #-------------------------------------------------------------------------------
+-CFLAGS="-O2 -Wall -g"
++CFLAGS += "-Wall -g"
+ #-------------------------------------------------------------------------------
+ # Create Makefiles
+ #-------------------------------------------------------------------------------