diff options
author | Michael Sterrett <mr_bones_@gentoo.org> | 2009-01-29 08:40:12 +0000 |
---|---|---|
committer | Michael Sterrett <mr_bones_@gentoo.org> | 2009-01-29 08:40:12 +0000 |
commit | 95fe5c3098424db4a134083aebfb8b154af02abc (patch) | |
tree | 85c1a7602ac8c3d1942aeabcab94abad5bc2f9b6 /games-misc/yadex/yadex-1.7.0.ebuild | |
parent | EAPI=2; more toolchain respect (diff) | |
download | historical-95fe5c3098424db4a134083aebfb8b154af02abc.tar.gz historical-95fe5c3098424db4a134083aebfb8b154af02abc.tar.bz2 historical-95fe5c3098424db4a134083aebfb8b154af02abc.zip |
EAPI=2; respect CC
Package-Manager: portage-2.1.6.4/cvs/Linux 2.6.28.1 i686
Diffstat (limited to 'games-misc/yadex/yadex-1.7.0.ebuild')
-rw-r--r-- | games-misc/yadex/yadex-1.7.0.ebuild | 15 |
1 files changed, 9 insertions, 6 deletions
diff --git a/games-misc/yadex/yadex-1.7.0.ebuild b/games-misc/yadex/yadex-1.7.0.ebuild index 4a03e4d366ac..7349ac3fdc14 100644 --- a/games-misc/yadex/yadex-1.7.0.ebuild +++ b/games-misc/yadex/yadex-1.7.0.ebuild @@ -1,7 +1,8 @@ -# Copyright 1999-2006 Gentoo Foundation +# Copyright 1999-2009 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/games-misc/yadex/yadex-1.7.0.ebuild,v 1.9 2006/12/06 00:03:18 mr_bones_ Exp $ +# $Header: /var/cvsroot/gentoo-x86/games-misc/yadex/yadex-1.7.0.ebuild,v 1.10 2009/01/29 08:40:12 mr_bones_ Exp $ +EAPI=2 inherit eutils games DESCRIPTION="A Doom level (wad) editor" @@ -16,8 +17,7 @@ RESTRICT="test" DEPEND="x11-libs/libX11" -src_unpack() { - unpack ${A} +src_prepare() { sed -i \ -e '/iwad/s/local\///' \ "${S}"/yadex.cfg \ @@ -27,10 +27,13 @@ src_unpack() { touch -t 196910101010 "${S}"/src/wadlist.cc } -src_compile() { +src_configure() { # not an autoconf script ./configure --prefix="/usr" || die "configure failed" - emake CFLAGS="${CFLAGS}" CXXFLAGS="${CXXFLAGS}" || die "emake failed" +} + +src_compile() { + emake CC="${CC}" CXX="${CXX}" CFLAGS="${CFLAGS}" CXXFLAGS="${CXXFLAGS}" || die "emake failed" } src_install() { |