/[gentoo-x86]/eclass/mythtv-plugins.eclass
Gentoo

Diff of /eclass/mythtv-plugins.eclass

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

Revision 1.1 Revision 1.2
1# Copyright 1999-2004 Gentoo Foundation 1# Copyright 1999-2004 Gentoo Foundation
2# Distributed under the terms of the GNU General Public License v2 2# Distributed under the terms of the GNU General Public License v2
3# $Header: /var/cvsroot/gentoo-x86/eclass/mythtv-plugins.eclass,v 1.1 2005/05/20 02:39:14 cardoe Exp $ 3# $Header: /var/cvsroot/gentoo-x86/eclass/mythtv-plugins.eclass,v 1.2 2005/05/27 23:24:09 eradicator Exp $
4# 4#
5# Author: Doug Goldstein <cardoe@gentoo.org 5# Author: Doug Goldstein <cardoe@gentoo.org
6# 6#
7
8inherit multilib
7 9
8ECLASS=mythtv-plugins 10ECLASS=mythtv-plugins
9INHERITED="${INHERITED} ${ECLASS} debug" 11INHERITED="${INHERITED} ${ECLASS} debug"
10IUSE="${IUSE} mmx" 12IUSE="${IUSE} mmx"
11 13
30 32
31 sed -e "s!QMAKE_CFLAGS_RELEASE = \$\${QMAKE_CXXFLAGS_RELEASE}!QMAKE_CFLAGS_RELEASE = ${CFLAGS}!" \ 33 sed -e "s!QMAKE_CFLAGS_RELEASE = \$\${QMAKE_CXXFLAGS_RELEASE}!QMAKE_CFLAGS_RELEASE = ${CFLAGS}!" \
32 -i 'settings.pro' || die "ciaranm sucks" 34 -i 'settings.pro' || die "ciaranm sucks"
33 #sed -e "/^QMAKE_CFLAGS_RELEASE/s!= .*!= ${CFLAGS}!" 35 #sed -e "/^QMAKE_CFLAGS_RELEASE/s!= .*!= ${CFLAGS}!"
34 #-i 'settings.pro' || die "Fixing Qmake's CFLAGS failed" 36 #-i 'settings.pro' || die "Fixing Qmake's CFLAGS failed"
37
38 find ${S} -name '*.pro' -exec sed -i \
39 -e "s:\$\${PREFIX}/lib/:\$\${PREFIX}/$(get_libdir)/:g" \
40 -e "s:\$\${PREFIX}/lib$:\$\${PREFIX}/$(get_libdir):g" \
41 {} \;
35} 42}
36 43
37mythtv-plugins_src_compile() { 44mythtv-plugins_src_compile() {
38 cd ${S} 45 cd ${S}
39 46

Legend:
Removed from v.1.1  
changed lines
  Added in v.1.2

  ViewVC Help
Powered by ViewVC 1.1.20