summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2005-01-03 04:03:25 +0000
committerMike Frysinger <vapier@gentoo.org>2005-01-03 04:03:25 +0000
commit863ff9d48ec0592ec45cb4f027a7a3b24754cc2b (patch)
tree957e230e48a044af61a90ea2a19095268f4f0409
parentStabilised 1.61 on x86 and amd64. (Manifest recommit) (diff)
downloadgentoo-2-863ff9d48ec0592ec45cb4f027a7a3b24754cc2b.tar.gz
gentoo-2-863ff9d48ec0592ec45cb4f027a7a3b24754cc2b.tar.bz2
gentoo-2-863ff9d48ec0592ec45cb4f027a7a3b24754cc2b.zip
Pass --disable-target-opt since all it does is add -mcpu to CFLAGS #76338 by Simon Stelling.
-rw-r--r--games-strategy/liquidwar/ChangeLog8
-rw-r--r--games-strategy/liquidwar/liquidwar-5.6.2.ebuild18
2 files changed, 17 insertions, 9 deletions
diff --git a/games-strategy/liquidwar/ChangeLog b/games-strategy/liquidwar/ChangeLog
index 26348f3f493c..c294f7c5191c 100644
--- a/games-strategy/liquidwar/ChangeLog
+++ b/games-strategy/liquidwar/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for games-strategy/liquidwar
-# Copyright 2002-2004 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/games-strategy/liquidwar/ChangeLog,v 1.9 2004/12/28 23:42:42 ciaranm Exp $
+# Copyright 2002-2005 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/games-strategy/liquidwar/ChangeLog,v 1.10 2005/01/03 04:03:25 vapier Exp $
+
+ 02 Jan 2005; Mike Frysinger <vapier@gentoo.org> liquidwar-5.6.2.ebuild:
+ Pass --disable-target-opt since all it does is add -mcpu to CFLAGS #76338 by
+ Simon Stelling.
28 Dec 2004; Ciaran McCreesh <ciaranm@gentoo.org> :
Change encoding to UTF-8 for GLEP 31 compliance
diff --git a/games-strategy/liquidwar/liquidwar-5.6.2.ebuild b/games-strategy/liquidwar/liquidwar-5.6.2.ebuild
index 59c32411c4d9..33de8254ca01 100644
--- a/games-strategy/liquidwar/liquidwar-5.6.2.ebuild
+++ b/games-strategy/liquidwar/liquidwar-5.6.2.ebuild
@@ -1,6 +1,6 @@
-# Copyright 1999-2004 Gentoo Foundation
+# Copyright 1999-2005 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/games-strategy/liquidwar/liquidwar-5.6.2.ebuild,v 1.5 2004/11/24 21:31:25 josejx Exp $
+# $Header: /var/cvsroot/gentoo-x86/games-strategy/liquidwar/liquidwar-5.6.2.ebuild,v 1.6 2005/01/03 04:03:25 vapier Exp $
inherit flag-o-matic games
@@ -39,15 +39,19 @@ src_unpack() {
src_compile() {
# Fixes build problem with gcc3 and -march=pentium4
- replace-flags "-march=pentium4" "-march=pentium3"
- egamesconf --disable-doc-ps --disable-doc-pdf || die
+ replace-cpu-flags pentium4 pentium3
+ egamesconf \
+ --disable-doc-ps \
+ --disable-doc-pdf \
+ --disable-target-opt \
+ || die
emake || die "emake failed"
}
src_install() {
make DESTDIR="${D}" install_nolink || die "make install failed"
- rm -f "${D}/usr/share/doc/${P}/COPYING"
- use nls || rm -f "${D}/usr/share/doc/${P}/README.*"
- gzip -9 "${D}/usr/share/doc/${PF}/"{[A-Z]*,*txt}
+ rm -f "${D}"/usr/share/doc/${PF}/COPYING
+ use nls || rm -f "${D}"/usr/share/doc/${PF}/README.*
+ prepalldocs
prepgamesdirs
}