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/clara-20031214.ebuild
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/clara-20031214.ebuild')
-rw-r--r--app-text/clara/clara-20031214.ebuild10
1 files changed, 8 insertions, 2 deletions
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