diff options
author | Matt Keadle <mkeadle@gentoo.org> | 2002-11-16 11:34:36 +0000 |
---|---|---|
committer | Matt Keadle <mkeadle@gentoo.org> | 2002-11-16 11:34:36 +0000 |
commit | 4c97f2b24dc989ad624fda49246b9adc9ed86e1b (patch) | |
tree | ce8a42f3a950b90955f1a82cc707d672a550fad0 /media-sound/festival | |
parent | Update to check arch type on the fly. Was previosly hardcoded to i686 (diff) | |
download | historical-4c97f2b24dc989ad624fda49246b9adc9ed86e1b.tar.gz historical-4c97f2b24dc989ad624fda49246b9adc9ed86e1b.tar.bz2 historical-4c97f2b24dc989ad624fda49246b9adc9ed86e1b.zip |
Another attempt at dynamic arch checking
Diffstat (limited to 'media-sound/festival')
-rw-r--r-- | media-sound/festival/festival-1.4.2-r2.ebuild | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/media-sound/festival/festival-1.4.2-r2.ebuild b/media-sound/festival/festival-1.4.2-r2.ebuild index 65d812695dab..ceb1012b1974 100644 --- a/media-sound/festival/festival-1.4.2-r2.ebuild +++ b/media-sound/festival/festival-1.4.2-r2.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2002 Gentoo Technologies, Inc. # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/media-sound/festival/festival-1.4.2-r2.ebuild,v 1.1 2002/11/16 11:02:42 mkeadle Exp $ +# $Header: /var/cvsroot/gentoo-x86/media-sound/festival/festival-1.4.2-r2.ebuild,v 1.2 2002/11/16 11:34:36 mkeadle Exp $ S=${WORKDIR}/${PN} T=${WORKDIR}/speech_tools @@ -47,9 +47,11 @@ src_compile() { econf # static linking seems to work <rigo@home.nl> - ARCHTYPE=`uname -m` + [ `uname -m` = "ppc" ] \ + && ARCHTYPE="powerpc-unknown" \ + || ARCHTYPE="`uname -m`-pc" if [ ${GCCPV} != "2.95.3" ] ; then - echo "COMPILERLIBS=/usr/lib/gcc-lib/i686-pc-linux-gnu/${GCCPV}/libstdc++.a /usr/lib/gcc-lib/${ARCHTYPE}-pc-linux-gnu/${GCCPV}/libgcc_s.so.1" >> ${T}/config/config + echo "COMPILERLIBS=/usr/lib/gcc-lib/${ARCHTYPE}-linux-gnu/${GCCPV}/libstdc++.a /usr/lib/gcc-lib/${ARCHTYPE}-pc-linux-gnu/${GCCPV}/libgcc_s.so.1" >> ${T}/config/config fi # testsuite still fails to build under gcc-3.2 mv Makefile Makefile.orig |