Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 243744 | Differences between
and this patch

Collapse All | Expand All

(-)app-text/rhyme/rhyme-0.9.ebuild (-10 / +11 lines)
Lines 1-8 Link Here
1
# Copyright 1999-2008 Gentoo Foundation
1
# Copyright 1999-2009 Gentoo Foundation
2
# Distributed under the terms of the GNU General Public License v2
2
# Distributed under the terms of the GNU General Public License v2
3
# $Header: /var/cvsroot/gentoo-x86/app-text/rhyme/rhyme-0.9.ebuild,v 1.10 2008/06/14 00:50:18 darkside Exp $
3
# $Header: /var/cvsroot/gentoo-x86/app-text/rhyme/rhyme-0.9.ebuild,v 1.10 2008/06/14 00:50:18 darkside Exp $
4
4
5
inherit ccc
5
inherit toolchain-funcs
6
6
7
DESCRIPTION="Console based Rhyming Dictionary"
7
DESCRIPTION="Console based Rhyming Dictionary"
8
HOMEPAGE="http://rhyme.sourceforge.net/"
8
HOMEPAGE="http://rhyme.sourceforge.net/"
Lines 10-33 Link Here
10
10
11
LICENSE="GPL-2"
11
LICENSE="GPL-2"
12
SLOT="0"
12
SLOT="0"
13
KEYWORDS="x86 alpha"
13
KEYWORDS="alpha x86"
14
IUSE=""
14
IUSE=""
15
15
16
DEPEND=">=sys-libs/ncurses-5.3
16
DEPEND=">=sys-libs/ncurses-5.3
17
	>=sys-libs/readline-4.3
17
	>=sys-libs/readline-4.3
18
	>=sys-libs/gdbm-1.8.0"
18
	>=sys-libs/gdbm-1.8.0"
19
RDEPEND="${DEPEND}"
19
20
20
src_compile() {
21
src_unpack() {
21
	# gcc is hardcoded, switch to user specified compiler
22
	unpack ${A}
22
	replace-cc-hardcode
23
	cd "${S}"
23
24
	# CFLAGS are hardcoded, replace with user specified flags
25
	sed -i "s#\(^FLAGS =\).*#\1 ${CFLAGS}#g" "${S}"/Makefile
26
24
27
	# termcap is used by default, switch to ncurses
25
	# termcap is used by default, switch to ncurses
28
	sed -i 's/-ltermcap/-lncurses/g' "${S}"/Makefile
26
	sed -i 's/-ltermcap/-lncurses/g' "${S}"/Makefile
27
}
29
28
30
	emake -j1 || die "emake failed"
29
src_compile() {
30
	# Disable parallell building wrt bug #125967
31
	emake -j1 CC="$(tc-getCC)" FLAGS="${CFLAGS}" || die "emake failed"
31
}
32
}
32
33
33
src_install() {
34
src_install() {

Return to bug 243744