summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthieu Sozeau <mattam@gentoo.org>2004-04-01 22:26:18 +0000
committerMatthieu Sozeau <mattam@gentoo.org>2004-04-01 22:26:18 +0000
commit65dd8461cca2e388d8975f9685ac11596c94544a (patch)
treef712198dcb281db2218d103ba627f0dc2b04c1fe /dev-lang
parentfixing Manifest (diff)
downloadhistorical-65dd8461cca2e388d8975f9685ac11596c94544a.tar.gz
historical-65dd8461cca2e388d8975f9685ac11596c94544a.tar.bz2
historical-65dd8461cca2e388d8975f9685ac11596c94544a.zip
Add ~ppc support.
Diffstat (limited to 'dev-lang')
-rw-r--r--dev-lang/ghc/ghc-6.2.1.ebuild10
1 files changed, 8 insertions, 2 deletions
diff --git a/dev-lang/ghc/ghc-6.2.1.ebuild b/dev-lang/ghc/ghc-6.2.1.ebuild
index d27c28d3abeb..a99b310d461e 100644
--- a/dev-lang/ghc/ghc-6.2.1.ebuild
+++ b/dev-lang/ghc/ghc-6.2.1.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2004 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-lang/ghc/ghc-6.2.1.ebuild,v 1.1 2004/03/22 19:33:43 kosmikus Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-lang/ghc/ghc-6.2.1.ebuild,v 1.2 2004/04/01 22:26:18 mattam Exp $
#Some explanation of bootstrap logic:
#
@@ -34,7 +34,7 @@ SRC_URI="http://www.haskell.org/ghc/dist/${PV}/ghc-${PV}-src.tar.bz2"
LICENSE="as-is"
SLOT="0"
-KEYWORDS="~x86 -ppc -alpha"
+KEYWORDS="~x86 ~ppc -alpha"
PROVIDE="virtual/ghc"
@@ -99,6 +99,12 @@ src_compile() {
# incorrectly by the configure script
echo "ArSupportsInput:=" >> mk/build.mk
+ # Required under ppc to work around some obscure linker problem.
+ if ( use ppc )
+ then
+ echo "SplitObjs=NO" >> mk/build.mk
+ fi
+
# unset SGML_CATALOG_FILES because documentation installation
# breaks otherwise ...
PATH="${GHCPATH}" SGML_CATALOG_FILES="" econf \