/[gentoo-x86]/eclass/fox.eclass
Gentoo

Diff of /eclass/fox.eclass

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

Revision 1.9 Revision 1.10
1# Copyright 1999-2005 Gentoo Foundation 1# Copyright 1999-2005 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/fox.eclass,v 1.9 2010/09/18 11:11:34 mabi Exp $ 3# $Header: /var/cvsroot/gentoo-x86/eclass/fox.eclass,v 1.10 2010/10/31 22:14:44 mabi Exp $
4 4
5# @ECLASS: fox.eclass 5# @ECLASS: fox.eclass
6# @MAINTAINER: 6# @MAINTAINER:
7# mabi@gentoo.org 7# mabi@gentoo.org
8# @BLURB: Functionality required the FOX Toolkit and it's applications 8# @BLURB: Functionality required the FOX Toolkit and it's applications
99 [[ -r "configure.in" ]] && confFile="configure.in" 99 [[ -r "configure.in" ]] && confFile="configure.in"
100 100
101 # Respect system CXXFLAGS 101 # Respect system CXXFLAGS
102 sed -i -e 's:CXXFLAGS=""::' $confFile || die "sed ${confFile} error" 102 sed -i -e 's:CXXFLAGS=""::' $confFile || die "sed ${confFile} error"
103 103
104 # don't strip binaries
105 sed -i -e '/LDFLAGS="-s ${LDFLAGS}"/d' $confFile || die "sed ${confFile} error"
106
104 # don't build apps from top-level (i.e. x11-libs/fox) 107 # don't build apps from top-level (i.e. x11-libs/fox)
105 # utils == reswrap 108 # utils == reswrap
106 local d 109 local d
107 for d in ${FOX_APPS} utils windows ; do 110 for d in ${FOX_APPS} utils windows ; do
108 sed -i -e "s:${d}::" Makefile.am || die "sed Makefile.am error" 111 sed -i -e "s:${d}::" Makefile.am || die "sed Makefile.am error"
109 done 112 done
110 113
111 # use the installed reswrap for everything else 114 # use the installed reswrap for everything else
112 for d in ${FOX_APPS} chart tests ; do 115 for d in ${FOX_APPS} chart controlpanel tests ; do
116 [[ -d ${d} ]] &&
113 sed -i -e 's:$(top_builddir)/utils/reswrap:reswrap:' \ 117 (sed -i -e 's:$(top_builddir)/utils/reswrap:reswrap:' \
114 ${d}/Makefile.am || die "sed ${d}/Makefile.am error" 118 ${d}/Makefile.am || die "sed ${d}/Makefile.am error")
115 done 119 done
116 120
117 # use the installed headers and library for apps 121 # use the installed headers and library for apps
118 for d in ${FOX_APPS} ; do 122 for d in ${FOX_APPS} ; do
119 sed -i \ 123 sed -i \

Legend:
Removed from v.1.9  
changed lines
  Added in v.1.10

  ViewVC Help
Powered by ViewVC 1.1.20