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
commita18b8c502d697dde5b46e9fa54867d99d8528c63 (patch)
tree5e3d3675e2764dc2b1589043df9a5864c250ca17 /eclass/mythtv-plugins.eclass
parentUpdate to support selinux USE flag (blame spb). (diff)
downloadhistorical-a18b8c502d697dde5b46e9fa54867d99d8528c63.tar.gz
historical-a18b8c502d697dde5b46e9fa54867d99d8528c63.tar.bz2
historical-a18b8c502d697dde5b46e9fa54867d99d8528c63.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!' \