summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Sterrett <mr_bones_@gentoo.org>2008-04-08 16:47:44 +0000
committerMichael Sterrett <mr_bones_@gentoo.org>2008-04-08 16:47:44 +0000
commit921dbd2203726b0bbbe63e4bd26c19e112a95835 (patch)
tree9263acf0ad4d0f6207056b09a2a4cc67a8b455bd /dev-games/ogre
parentStable on ppc wrt bug #213255 (diff)
downloadgentoo-2-921dbd2203726b0bbbe63e4bd26c19e112a95835.tar.gz
gentoo-2-921dbd2203726b0bbbe63e4bd26c19e112a95835.tar.bz2
gentoo-2-921dbd2203726b0bbbe63e4bd26c19e112a95835.zip
fix --as-needed when USE=cg - patch from James Le Cuirot via bug #215085
(Portage version: 2.1.4.4)
Diffstat (limited to 'dev-games/ogre')
-rw-r--r--dev-games/ogre/ChangeLog5
-rw-r--r--dev-games/ogre/ogre-1.4.7.ebuild6
2 files changed, 8 insertions, 3 deletions
diff --git a/dev-games/ogre/ChangeLog b/dev-games/ogre/ChangeLog
index e2ae46032d1d..36d308371729 100644
--- a/dev-games/ogre/ChangeLog
+++ b/dev-games/ogre/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for dev-games/ogre
# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-games/ogre/ChangeLog,v 1.46 2008/03/18 21:58:44 nyhm Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-games/ogre/ChangeLog,v 1.47 2008/04/08 16:47:44 mr_bones_ Exp $
+
+ 08 Apr 2008; Michael Sterrett <mr_bones_@gentoo.org> ogre-1.4.7.ebuild:
+ fix --as-needed when USE=cg - patch from James Le Cuirot via bug #215085
*ogre-1.4.7 (18 Mar 2008)
diff --git a/dev-games/ogre/ogre-1.4.7.ebuild b/dev-games/ogre/ogre-1.4.7.ebuild
index ee2e330afab4..0a1af5ec6a72 100644
--- a/dev-games/ogre/ogre-1.4.7.ebuild
+++ b/dev-games/ogre/ogre-1.4.7.ebuild
@@ -1,8 +1,8 @@
# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-games/ogre/ogre-1.4.7.ebuild,v 1.1 2008/03/18 21:58:44 nyhm Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-games/ogre/ogre-1.4.7.ebuild,v 1.2 2008/04/08 16:47:44 mr_bones_ Exp $
-inherit eutils autotools
+inherit eutils autotools flag-o-matic
DESCRIPTION="Object-oriented Graphics Rendering Engine"
HOMEPAGE="http://www.ogre3d.org/"
@@ -59,6 +59,8 @@ src_unpack() {
}
src_compile() {
+ use cg && filter-ldflags -Wl,--as-needed
+
econf \
--disable-dependency-tracking \
--disable-freeimage \