diff options
author | Michael Januszewski <spock@gentoo.org> | 2008-10-09 15:21:53 +0000 |
---|---|---|
committer | Michael Januszewski <spock@gentoo.org> | 2008-10-09 15:21:53 +0000 |
commit | 085def40793c9b2c1231460254eaabab3e520655 (patch) | |
tree | e10c5d5a487ae40fa513338023ae11766f8c3873 /app-text/clara | |
parent | Depend on wxGTK 2.8. (diff) | |
download | gentoo-2-085def40793c9b2c1231460254eaabab3e520655.tar.gz gentoo-2-085def40793c9b2c1231460254eaabab3e520655.tar.bz2 gentoo-2-085def40793c9b2c1231460254eaabab3e520655.zip |
Set CFLAGS in src_compile instead of src_unpack.
(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/ChangeLog | 5 | ||||
-rw-r--r-- | app-text/clara/clara-20031214.ebuild | 9 |
2 files changed, 6 insertions, 8 deletions
diff --git a/app-text/clara/ChangeLog b/app-text/clara/ChangeLog index a7c2d3034905..988fda38e279 100644 --- a/app-text/clara/ChangeLog +++ b/app-text/clara/ChangeLog @@ -1,6 +1,9 @@ # ChangeLog for app-text/clara # 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 $ +# $Header: /var/cvsroot/gentoo-x86/app-text/clara/ChangeLog,v 1.16 2008/10/09 15:21:53 spock Exp $ + + 09 Oct 2008; Michał Januszewski <spock@gentoo.org> clara-20031214.ebuild: + Set CFLAGS in src_compile instead of src_unpack. 05 Oct 2008; Michał Januszewski <spock@gentoo.org> clara-20031214.ebuild: Respect user's CFLAGS (bug #240128). diff --git a/app-text/clara/clara-20031214.ebuild b/app-text/clara/clara-20031214.ebuild index fc5f21238aa4..0909558f0979 100644 --- a/app-text/clara/clara-20031214.ebuild +++ b/app-text/clara/clara-20031214.ebuild @@ -1,6 +1,6 @@ # 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.17 2008/10/05 22:30:44 spock Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-text/clara/clara-20031214.ebuild,v 1.18 2008/10/09 15:21:53 spock Exp $ DESCRIPTION="An OCR (Optical Character Recognition) program" SRC_URI="http://www.geocities.com/claraocr/clara-20031214.tar.gz" @@ -13,13 +13,8 @@ IUSE="" DEPEND="x11-libs/libX11" -src_unpack() { - unpack ${A} - cd "${S}" - sed -i -e "s/CFLAGS = \(.*\)/CFLAGS = ${CFLAGS} \1/" Makefile -} - src_compile() { + sed -i -e "s/CFLAGS = \(.*\)/CFLAGS = ${CFLAGS} \1/" Makefile emake || die emake doc || die } |