diff options
author | Duncan Coutts <dcoutts@gentoo.org> | 2006-05-03 23:05:28 +0000 |
---|---|---|
committer | Duncan Coutts <dcoutts@gentoo.org> | 2006-05-03 23:05:28 +0000 |
commit | 384fc3f694712b5e0d22f5c56bf77439e09e11b1 (patch) | |
tree | 62326eb2b9693cc12666ea28f608fdd2fb81c699 /dev-lang/ghc | |
parent | Stable on x86; bug #128688 (diff) | |
download | gentoo-2-384fc3f694712b5e0d22f5c56bf77439e09e11b1.tar.gz gentoo-2-384fc3f694712b5e0d22f5c56bf77439e09e11b1.tar.bz2 gentoo-2-384fc3f694712b5e0d22f5c56bf77439e09e11b1.zip |
Ignore debugging CFLAGS. Update to PDEPEND on cabal-1.1.4. Disable ALUT bindings. Add ~x86-fbsd to KEYWORDS.
(Portage version: 2.1_pre9-r5)
Diffstat (limited to 'dev-lang/ghc')
-rw-r--r-- | dev-lang/ghc/ChangeLog | 8 | ||||
-rw-r--r-- | dev-lang/ghc/ghc-6.4.1-r3.ebuild | 9 | ||||
-rw-r--r-- | dev-lang/ghc/ghc-6.4.2.ebuild | 15 |
3 files changed, 20 insertions, 12 deletions
diff --git a/dev-lang/ghc/ChangeLog b/dev-lang/ghc/ChangeLog index a40afb59f8a1..257bcdb258be 100644 --- a/dev-lang/ghc/ChangeLog +++ b/dev-lang/ghc/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for dev-lang/ghc # Copyright 2002-2006 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-lang/ghc/ChangeLog,v 1.98 2006/05/02 15:33:45 dcoutts Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-lang/ghc/ChangeLog,v 1.99 2006/05/03 23:05:28 dcoutts Exp $ + + 03 May 2006; Duncan Coutts <dcoutts@gentoo.org> ghc-6.4.1-r3.ebuild, + ghc-6.4.2.ebuild: + Ignore debugging CFLAGS (they don't help and just cause problems). Update to + PDEPEND on cabal-1.1.4. Disable ALUT bindings (because media-libs/freealut + is not available on sufficient arches). Add ~x86-fbsd to KEYWORDS. 02 May 2006; Duncan Coutts <dcoutts@gentoo.org> ghc-6.4.1-r2.ebuild, ghc-6.4.1-r3.ebuild: diff --git a/dev-lang/ghc/ghc-6.4.1-r3.ebuild b/dev-lang/ghc/ghc-6.4.1-r3.ebuild index 0e57021fe00f..f698a49a125c 100644 --- a/dev-lang/ghc/ghc-6.4.1-r3.ebuild +++ b/dev-lang/ghc/ghc-6.4.1-r3.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2006 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/dev-lang/ghc/ghc-6.4.1-r3.ebuild,v 1.5 2006/05/02 15:33:45 dcoutts Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-lang/ghc/ghc-6.4.1-r3.ebuild,v 1.6 2006/05/03 23:05:28 dcoutts Exp $ # Brief explanation of the bootstrap logic: # @@ -103,11 +103,12 @@ ghc_setup_cflags() { # -O2 and above break on too many systems -O*) ;; - # Arch and ABI flags are probably ok + # Arch and ABI flags are what we're really after -m*) append-ghc-cflags compile assemble ${flag};; - # Debugging flags are also probably ok - -g*) append-ghc-cflags compile assemble ${flag};; + # Debugging flags don't help either. You can't debug Haskell code + # at the C source level and the mangler discards the debug info. + -g*) ;; # Ignore all other flags, including all -f* flags esac diff --git a/dev-lang/ghc/ghc-6.4.2.ebuild b/dev-lang/ghc/ghc-6.4.2.ebuild index 0c55294235f8..05e9b1a022ef 100644 --- a/dev-lang/ghc/ghc-6.4.2.ebuild +++ b/dev-lang/ghc/ghc-6.4.2.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2006 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/dev-lang/ghc/ghc-6.4.2.ebuild,v 1.1 2006/04/27 21:49:08 dcoutts Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-lang/ghc/ghc-6.4.2.ebuild,v 1.2 2006/05/03 23:05:28 dcoutts Exp $ # Brief explanation of the bootstrap logic: # @@ -31,7 +31,7 @@ SRC_URI="http://www.haskell.org/ghc/dist/${EXTRA_SRC_URI}/${MY_P}-src.tar.bz2 LICENSE="as-is" SLOT="0" -KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86" +KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd" IUSE="test doc X opengl openal" S="${WORKDIR}/${MY_P}" @@ -56,8 +56,7 @@ DEPEND="${RDEPEND} >=dev-libs/libxslt-1.1.2 >=dev-haskell/haddock-0.6-r2 )" -# TODO: this needs upgrading to 1.1.4 -PDEPEND=">=dev-haskell/cabal-1.1.3" +PDEPEND=">=dev-haskell/cabal-1.1.4" # Portage's resolution of virtuals fails on virtual/ghc in some Portage releases, # the following function causes the build to fail with an informative error message @@ -105,11 +104,12 @@ ghc_setup_cflags() { # -O2 and above break on too many systems -O*) ;; - # Arch and ABI flags are probably ok + # Arch and ABI flags are what we're really after -m*) append-ghc-cflags compile assemble ${flag};; - # Debugging flags are also probably ok - -g*) append-ghc-cflags compile assemble ${flag};; + # Debugging flags don't help either. You can't debug Haskell code + # at the C source level and the mangler discards the debug info. + -g*) ;; # Ignore all other flags, including all -f* flags esac @@ -190,6 +190,7 @@ src_compile() { $(use_enable opengl opengl) \ $(use_enable opengl glut) \ $(use_enable openal openal) \ + --disable-alut \ $(use_enable X x11) \ $(use_enable X hgl) \ || die "econf failed" |