summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSven Wegener <swegener@gentoo.org>2005-07-11 15:08:07 +0000
committerSven Wegener <swegener@gentoo.org>2005-07-11 15:08:07 +0000
commit5ae303cb909c12d4905541dd2b1352e4cedb12a5 (patch)
treee613101366ec6305dbb6b6150d8dc0cf461f8b4c /eclass/mythtv-plugins.eclass
parentUpdate to support selinux USE flag (blame spb). (diff)
downloadgentoo-2-5ae303cb909c12d4905541dd2b1352e4cedb12a5.tar.gz
gentoo-2-5ae303cb909c12d4905541dd2b1352e4cedb12a5.tar.bz2
gentoo-2-5ae303cb909c12d4905541dd2b1352e4cedb12a5.zip
QA: Apply whitespace checks from repoman to eclasses.
Diffstat (limited to 'eclass/mythtv-plugins.eclass')
-rw-r--r--eclass/mythtv-plugins.eclass12
1 files changed, 6 insertions, 6 deletions
diff --git a/eclass/mythtv-plugins.eclass b/eclass/mythtv-plugins.eclass
index ab09c4015abb..4d57a2d2f2d8 100644
--- a/eclass/mythtv-plugins.eclass
+++ b/eclass/mythtv-plugins.eclass
@@ -1,6 +1,6 @@
# Copyright 1999-2004 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/eclass/mythtv-plugins.eclass,v 1.7 2005/07/06 20:54:57 agriffis Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/mythtv-plugins.eclass,v 1.8 2005/07/11 15:08:06 swegener Exp $
#
# Author: Doug Goldstein <cardoe@gentoo.org
#
@@ -19,13 +19,13 @@ DEPEND=">=sys-apps/sed-4"
mythtv-plugins_src_unpack() {
unpack ${A}
cd ${S}
-
+
sed -e 's!PREFIX = /usr/local!PREFIX = /usr!' \
-i 'settings.pro' || die "fixing PREFIX to /usr failed"
-
+
sed -e "s!QMAKE_CXXFLAGS_RELEASE = -O3 -march=pentiumpro -fomit-frame-pointer!QMAKE_CXXFLAGS_RELEASE = ${CXXFLAGS}!" \
-i 'settings.pro' || die "Fixing QMake's CXXFLAGS failed"
-
+
sed -e "s!QMAKE_CFLAGS_RELEASE = \$\${QMAKE_CXXFLAGS_RELEASE}!QMAKE_CFLAGS_RELEASE = ${CFLAGS}!" \
-i 'settings.pro' || die "Fixing Qmake's CFLAGS failed"
@@ -37,12 +37,12 @@ mythtv-plugins_src_unpack() {
mythtv-plugins_src_compile() {
cd ${S}
-
+
if use debug; then
sed -e 's!CONFIG += release!CONFIG += debug!' \
-i 'settings.pro' || die "switching to debug build failed"
fi
-
+
# if ( use x86 && ! use mmx ) || ! use amd64 ; then
if ( ! use mmx ); then
sed -e 's!DEFINES += HAVE_MMX!DEFINES -= HAVE_MMX!' \