summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristoph Mende <angelos@gentoo.org>2009-01-03 15:45:10 +0000
committerChristoph Mende <angelos@gentoo.org>2009-01-03 15:45:10 +0000
commitd75633f836d2ef7805b5ec661ad3cb70b0f4bff0 (patch)
treeab263cbefa189e92d8c01a5ba6afed6f533f0a64 /app-text/wscr
parentAdding scripting support (diff)
downloadgentoo-2-d75633f836d2ef7805b5ec661ad3cb70b0f4bff0.tar.gz
gentoo-2-d75633f836d2ef7805b5ec661ad3cb70b0f4bff0.tar.bz2
gentoo-2-d75633f836d2ef7805b5ec661ad3cb70b0f4bff0.zip
QA: Respect CC (bug 243762)
(Portage version: 2.2_rc20/cvs/Linux 2.6.28 x86_64)
Diffstat (limited to 'app-text/wscr')
-rw-r--r--app-text/wscr/ChangeLog7
-rw-r--r--app-text/wscr/wscr-1.2.ebuild14
2 files changed, 12 insertions, 9 deletions
diff --git a/app-text/wscr/ChangeLog b/app-text/wscr/ChangeLog
index 72cd457b0063..ab67ddc3a247 100644
--- a/app-text/wscr/ChangeLog
+++ b/app-text/wscr/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for app-text/wscr
-# Copyright 2000-2008 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-text/wscr/ChangeLog,v 1.15 2008/03/24 17:28:46 coldwind Exp $
+# Copyright 2000-2009 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/app-text/wscr/ChangeLog,v 1.16 2009/01/03 15:45:10 angelos Exp $
+
+ 03 Jan 2009; Christoph Mende <angelos@gentoo.org> wscr-1.2.ebuild:
+ QA: Respect CC (bug 243762)
24 Mar 2008; Santiago M. Mola <coldwind@gentoo.org> wscr-1.2.ebuild:
amd64 stable
diff --git a/app-text/wscr/wscr-1.2.ebuild b/app-text/wscr/wscr-1.2.ebuild
index 6e1984fd7ba0..53b5c7763b65 100644
--- a/app-text/wscr/wscr-1.2.ebuild
+++ b/app-text/wscr/wscr-1.2.ebuild
@@ -1,6 +1,8 @@
-# Copyright 1999-2008 Gentoo Foundation
+# Copyright 1999-2009 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/app-text/wscr/wscr-1.2.ebuild,v 1.14 2008/03/24 17:28:46 coldwind Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-text/wscr/wscr-1.2.ebuild,v 1.15 2009/01/03 15:45:10 angelos Exp $
+
+inherit toolchain-funcs
DESCRIPTION="A Lightweight and Fast Anagram Solver"
HOMEPAGE="http://hood.sjfn.nb.ca/~eddie/wscr.html"
@@ -10,17 +12,15 @@ SLOT="0"
KEYWORDS="alpha amd64 mips ppc sparc x86"
IUSE=""
-DEPEND="virtual/libc"
-RDEPEND="virtual/libc sys-apps/miscfiles"
+RDEPEND="sys-apps/miscfiles"
src_compile() {
sed -i 's#"/usr/dict/words";#"/usr/share/dict/words";#' wscr.h
- sed -i 's#\($(CC) $(FLAGS)\)#\1 ${CFLAGS}#g' Makefile
- emake || die
+ emake CC="$(tc-getCC)" FLAGS="${CFLAGS}" || die
}
src_install() {
- dobin wscr
+ dobin wscr || die "dobin failed"
doman wscr.6
dodoc README
}