diff options
author | Michael Sterrett <mr_bones_@gentoo.org> | 2009-01-30 06:49:50 +0000 |
---|---|---|
committer | Michael Sterrett <mr_bones_@gentoo.org> | 2009-01-30 06:49:50 +0000 |
commit | 6771b8735d2f88213c6f063747d6f4f485f5ba36 (patch) | |
tree | 6354136d8d94cf4f682a356afc1667417a302390 /games-engines/frotz/frotz-2.43.ebuild | |
parent | Version bump. Remove missing file from dodoc arguments, bug 256683. (diff) | |
download | historical-6771b8735d2f88213c6f063747d6f4f485f5ba36.tar.gz historical-6771b8735d2f88213c6f063747d6f4f485f5ba36.tar.bz2 historical-6771b8735d2f88213c6f063747d6f4f485f5ba36.zip |
EAPI=2; respect CC
Package-Manager: portage-2.1.6.4/cvs/Linux 2.6.28.1 i686
Diffstat (limited to 'games-engines/frotz/frotz-2.43.ebuild')
-rw-r--r-- | games-engines/frotz/frotz-2.43.ebuild | 16 |
1 files changed, 12 insertions, 4 deletions
diff --git a/games-engines/frotz/frotz-2.43.ebuild b/games-engines/frotz/frotz-2.43.ebuild index 4fa73f4da6c7..995a740609ef 100644 --- a/games-engines/frotz/frotz-2.43.ebuild +++ b/games-engines/frotz/frotz-2.43.ebuild @@ -1,8 +1,9 @@ -# 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/games-engines/frotz/frotz-2.43.ebuild,v 1.15 2008/02/06 20:08:41 grobian Exp $ +# $Header: /var/cvsroot/gentoo-x86/games-engines/frotz/frotz-2.43.ebuild,v 1.16 2009/01/30 06:49:50 mr_bones_ Exp $ -inherit toolchain-funcs games +EAPI=2 +inherit games DESCRIPTION="Curses based interpreter for Z-code based text games" HOMEPAGE="http://www.cs.csubak.edu/~dgriffi/proj/frotz/" @@ -16,8 +17,15 @@ IUSE="alsa oss" DEPEND="sys-libs/ncurses alsa? ( oss? ( media-libs/alsa-oss ) )" +src_prepare() { + sed -i \ + -e '/^CC /d' \ + Makefile \ + || die 'sed failed' +} + src_compile() { - local OPTS="CC=$(tc-getcc) CONFIG_DIR=${GAMES_SYSCONFDIR}" + local OPTS="CONFIG_DIR=${GAMES_SYSCONFDIR}" use oss && OPTS="${MAKE_OPTS} SOUND_DEFS=-DOSS_SOUND SOUND_DEV=/dev/dsp" emake ${MAKE_OPTS} all || die "emake failed" } |