summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSamuli Suominen <ssuominen@gentoo.org>2011-03-24 06:54:00 +0000
committerSamuli Suominen <ssuominen@gentoo.org>2011-03-24 06:54:00 +0000
commit0df6f58e2da89dc2f65665b3c981f38c1c3aac30 (patch)
tree4bf0f41c8c7ecd2d4c619665454aeda475cf6e99 /media-tv/nvtv
parentUse SLOT dependencies for x11-libs/gtk+. (diff)
downloadgentoo-2-0df6f58e2da89dc2f65665b3c981f38c1c3aac30.tar.gz
gentoo-2-0df6f58e2da89dc2f65665b3c981f38c1c3aac30.tar.bz2
gentoo-2-0df6f58e2da89dc2f65665b3c981f38c1c3aac30.zip
fix phases for eapi2 ebuild too
(Portage version: 2.2.0_alpha28/cvs/Linux x86_64)
Diffstat (limited to 'media-tv/nvtv')
-rw-r--r--media-tv/nvtv/nvtv-0.4.7-r1.ebuild8
1 files changed, 5 insertions, 3 deletions
diff --git a/media-tv/nvtv/nvtv-0.4.7-r1.ebuild b/media-tv/nvtv/nvtv-0.4.7-r1.ebuild
index e1770b1a371f..dc15ddf2c548 100644
--- a/media-tv/nvtv/nvtv-0.4.7-r1.ebuild
+++ b/media-tv/nvtv/nvtv-0.4.7-r1.ebuild
@@ -1,8 +1,8 @@
# Copyright 1999-2011 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/media-tv/nvtv/nvtv-0.4.7-r1.ebuild,v 1.2 2011/03/24 06:53:01 ssuominen Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-tv/nvtv/nvtv-0.4.7-r1.ebuild,v 1.3 2011/03/24 06:54:00 ssuominen Exp $
-EAPI="2"
+EAPI=2
IUSE="X gtk"
@@ -23,7 +23,7 @@ RDEPEND="sys-apps/pciutils[-zlib]
DEPEND="${RDEPEND}
X? ( x11-proto/xf86vidmodeproto )"
-src_compile() {
+src_configure() {
local myconf
if use gtk
@@ -38,7 +38,9 @@ src_compile() {
|| myconf="${myconf} --without-x"
econf ${myconf}
+}
+src_compile() {
# The CFLAGS don't seem to make it into the Makefile.
cd src
emake CXFLAGS="${CFLAGS}" || die