summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Sterrett <mr_bones_@gentoo.org>2009-01-29 08:31:07 +0000
committerMichael Sterrett <mr_bones_@gentoo.org>2009-01-29 08:31:07 +0000
commit5a53c4460edaa3ba06094726036b18d2ab46abc5 (patch)
tree7af4579c99cc1372b6baa60e1fc972fa32311cb1 /games-util/fteqcc
parentEAPI=2; respect CC (diff)
downloadgentoo-2-5a53c4460edaa3ba06094726036b18d2ab46abc5.tar.gz
gentoo-2-5a53c4460edaa3ba06094726036b18d2ab46abc5.tar.bz2
gentoo-2-5a53c4460edaa3ba06094726036b18d2ab46abc5.zip
EAPI=2; more toolchain respect
(Portage version: 2.1.6.4/cvs/Linux 2.6.28.1 i686)
Diffstat (limited to 'games-util/fteqcc')
-rw-r--r--games-util/fteqcc/ChangeLog7
-rw-r--r--games-util/fteqcc/fteqcc-2501.ebuild14
2 files changed, 13 insertions, 8 deletions
diff --git a/games-util/fteqcc/ChangeLog b/games-util/fteqcc/ChangeLog
index d65fe614001b..b2c37c3e7f1f 100644
--- a/games-util/fteqcc/ChangeLog
+++ b/games-util/fteqcc/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for games-util/fteqcc
-# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/games-util/fteqcc/ChangeLog,v 1.3 2007/07/02 00:08:48 nyhm Exp $
+# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/games-util/fteqcc/ChangeLog,v 1.4 2009/01/29 08:31:07 mr_bones_ Exp $
+
+ 29 Jan 2009; Michael Sterrett <mr_bones_@gentoo.org> fteqcc-2501.ebuild:
+ EAPI=2; more toolchain respect
02 Jul 2007; Tristan Heaven <nyhm@gentoo.org> fteqcc-2501.ebuild:
RESTRICT="test"
diff --git a/games-util/fteqcc/fteqcc-2501.ebuild b/games-util/fteqcc/fteqcc-2501.ebuild
index 298beb7b1efb..317debeb2a8d 100644
--- a/games-util/fteqcc/fteqcc-2501.ebuild
+++ b/games-util/fteqcc/fteqcc-2501.ebuild
@@ -1,8 +1,9 @@
-# Copyright 1999-2007 Gentoo Foundation
+# Copyright 1999-2009 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/games-util/fteqcc/fteqcc-2501.ebuild,v 1.3 2007/07/02 00:08:48 nyhm Exp $
+# $Header: /var/cvsroot/gentoo-x86/games-util/fteqcc/fteqcc-2501.ebuild,v 1.4 2009/01/29 08:31:07 mr_bones_ Exp $
-inherit eutils
+EAPI=2
+inherit eutils flag-o-matic
DESCRIPTION="QC compiler"
HOMEPAGE="http://fteqw.sourceforge.net/"
@@ -19,15 +20,16 @@ RDEPEND=""
S=${WORKDIR}
-src_unpack() {
- unpack ${A}
- cd "${S}"
+src_prepare() {
epatch "${FILESDIR}"/${P}-cleanup-source.patch
sed -i \
+ -e '/^CC/d' \
-e "s: -O3 : :g" \
-e "s: -s : :g" \
+ -e 's/-o fteqcc.bin/$(LDFLAGS) -o fteqcc.bin/' \
Makefile || die "sed failed"
edos2unix readme.txt
+ append-flags -DQCCONLY
}
src_compile() {