summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Januszewski <spock@gentoo.org>2008-10-05 22:30:44 +0000
committerMichael Januszewski <spock@gentoo.org>2008-10-05 22:30:44 +0000
commitfc95d713b835e6df8d3427461b74976706a400db (patch)
tree7e3f313177545d49d35111d92845911734e7a973 /app-text/clara
parentbump to 2.22.3-r1, fix invalid read, bug #238098. (diff)
downloadgentoo-2-fc95d713b835e6df8d3427461b74976706a400db.tar.gz
gentoo-2-fc95d713b835e6df8d3427461b74976706a400db.tar.bz2
gentoo-2-fc95d713b835e6df8d3427461b74976706a400db.zip
Respect user's CFLAGS (bug #240128).
(Portage version: 2.2_rc11/cvs/Linux 2.6.27-rc8 x86_64)
Diffstat (limited to 'app-text/clara')
-rw-r--r--app-text/clara/ChangeLog7
-rw-r--r--app-text/clara/clara-20031214.ebuild10
2 files changed, 13 insertions, 4 deletions
diff --git a/app-text/clara/ChangeLog b/app-text/clara/ChangeLog
index 33414e9de132..a7c2d3034905 100644
--- a/app-text/clara/ChangeLog
+++ b/app-text/clara/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for app-text/clara
-# Copyright 2000-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-text/clara/ChangeLog,v 1.14 2007/07/22 10:10:27 omp Exp $
+# Copyright 2000-2008 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/app-text/clara/ChangeLog,v 1.15 2008/10/05 22:30:44 spock Exp $
+
+ 05 Oct 2008; Michał Januszewski <spock@gentoo.org> clara-20031214.ebuild:
+ Respect user's CFLAGS (bug #240128).
22 Jul 2007; David Shakaryan <omp@gentoo.org> clara-20031214.ebuild:
Remove virtual/x11 from dependencies.
diff --git a/app-text/clara/clara-20031214.ebuild b/app-text/clara/clara-20031214.ebuild
index f1a9c6cda351..fc5f21238aa4 100644
--- a/app-text/clara/clara-20031214.ebuild
+++ b/app-text/clara/clara-20031214.ebuild
@@ -1,6 +1,6 @@
-# Copyright 1999-2007 Gentoo Foundation
+# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/app-text/clara/clara-20031214.ebuild,v 1.16 2007/07/22 10:10:27 omp Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-text/clara/clara-20031214.ebuild,v 1.17 2008/10/05 22:30:44 spock Exp $
DESCRIPTION="An OCR (Optical Character Recognition) program"
SRC_URI="http://www.geocities.com/claraocr/clara-20031214.tar.gz"
@@ -13,6 +13,12 @@ IUSE=""
DEPEND="x11-libs/libX11"
+src_unpack() {
+ unpack ${A}
+ cd "${S}"
+ sed -i -e "s/CFLAGS = \(.*\)/CFLAGS = ${CFLAGS} \1/" Makefile
+}
+
src_compile() {
emake || die
emake doc || die