public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] gentoo-x86 commit in dev-lang/ghc: ChangeLog ghc-6.8.2.ebuild
@ 2008-07-06 20:21 Markus Meier (maekke)
  0 siblings, 0 replies; 10+ messages in thread
From: Markus Meier (maekke) @ 2008-07-06 20:21 UTC (permalink / raw
  To: gentoo-commits

maekke      08/07/06 20:21:02

  Modified:             ChangeLog ghc-6.8.2.ebuild
  Log:
  amd64/x86 stable, bug #230919
  (Portage version: 2.2_rc1/cvs/Linux 2.6.26-rc8 i686)

Revision  Changes    Path
1.153                dev-lang/ghc/ChangeLog

file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-lang/ghc/ChangeLog?rev=1.153&view=markup
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-lang/ghc/ChangeLog?rev=1.153&content-type=text/plain
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-lang/ghc/ChangeLog?r1=1.152&r2=1.153

Index: ChangeLog
===================================================================
RCS file: /var/cvsroot/gentoo-x86/dev-lang/ghc/ChangeLog,v
retrieving revision 1.152
retrieving revision 1.153
diff -u -r1.152 -r1.153
--- ChangeLog	28 Apr 2008 17:44:23 -0000	1.152
+++ ChangeLog	6 Jul 2008 20:21:01 -0000	1.153
@@ -1,6 +1,9 @@
 # ChangeLog for dev-lang/ghc
 # Copyright 2002-2008 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-lang/ghc/ChangeLog,v 1.152 2008/04/28 17:44:23 armin76 Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-lang/ghc/ChangeLog,v 1.153 2008/07/06 20:21:01 maekke Exp $
+
+  06 Jul 2008; Markus Meier <maekke@gentoo.org> ghc-6.8.2.ebuild:
+  amd64/x86 stable, bug #230919
 
   28 Apr 2008; Raúl Porcel <armin76@gentoo.org> ghc-6.8.2.ebuild:
   Upload again the binaries for alpha, and add ~ia64 wrt #206643



1.6                  dev-lang/ghc/ghc-6.8.2.ebuild

file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-lang/ghc/ghc-6.8.2.ebuild?rev=1.6&view=markup
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-lang/ghc/ghc-6.8.2.ebuild?rev=1.6&content-type=text/plain
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-lang/ghc/ghc-6.8.2.ebuild?r1=1.5&r2=1.6

Index: ghc-6.8.2.ebuild
===================================================================
RCS file: /var/cvsroot/gentoo-x86/dev-lang/ghc/ghc-6.8.2.ebuild,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -r1.5 -r1.6
--- ghc-6.8.2.ebuild	28 Apr 2008 17:44:23 -0000	1.5
+++ ghc-6.8.2.ebuild	6 Jul 2008 20:21:01 -0000	1.6
@@ -1,6 +1,6 @@
 # Copyright 1999-2008 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-lang/ghc/ghc-6.8.2.ebuild,v 1.5 2008/04/28 17:44:23 armin76 Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-lang/ghc/ghc-6.8.2.ebuild,v 1.6 2008/07/06 20:21:01 maekke Exp $
 
 # Brief explanation of the bootstrap logic:
 #
@@ -48,7 +48,7 @@
 
 LICENSE="BSD"
 SLOT="0"
-KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ~sparc ~x86"
+KEYWORDS="~alpha amd64 ~hppa ~ia64 ~sparc x86"
 IUSE="binary doc ghcbootstrap"
 
 RDEPEND="



-- 
gentoo-commits@lists.gentoo.org mailing list



^ permalink raw reply	[flat|nested] 10+ messages in thread
* [gentoo-commits] gentoo-x86 commit in dev-lang/ghc: ChangeLog ghc-6.8.2.ebuild
@ 2009-08-02 11:01 Lennart Kolmodin (kolmodin)
  0 siblings, 0 replies; 10+ messages in thread
From: Lennart Kolmodin (kolmodin) @ 2009-08-02 11:01 UTC (permalink / raw
  To: gentoo-commits

kolmodin    09/08/02 11:01:42

  Modified:             ChangeLog ghc-6.8.2.ebuild
  Log:
  ppc fixes to dev-lang/ghc-6.8.2
  (Portage version: 2.1.6.13/cvs/Linux x86_64)

Revision  Changes    Path
1.168                dev-lang/ghc/ChangeLog

file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-lang/ghc/ChangeLog?rev=1.168&view=markup
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-lang/ghc/ChangeLog?rev=1.168&content-type=text/plain
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-lang/ghc/ChangeLog?r1=1.167&r2=1.168

Index: ChangeLog
===================================================================
RCS file: /var/cvsroot/gentoo-x86/dev-lang/ghc/ChangeLog,v
retrieving revision 1.167
retrieving revision 1.168
diff -u -r1.167 -r1.168
--- ChangeLog	2 Aug 2009 10:23:12 -0000	1.167
+++ ChangeLog	2 Aug 2009 11:01:42 -0000	1.168
@@ -1,6 +1,9 @@
 # ChangeLog for dev-lang/ghc
 # Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-lang/ghc/ChangeLog,v 1.167 2009/08/02 10:23:12 kolmodin Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-lang/ghc/ChangeLog,v 1.168 2009/08/02 11:01:42 kolmodin Exp $
+
+  02 Aug 2009; Lennart Kolmodin <kolmodin@gentoo.org> ghc-6.8.2.ebuild:
+  Make ppc work in pkg_setup.
 
   02 Aug 2009; Lennart Kolmodin <kolmodin@gentoo.org> ghc-6.10.4.ebuild:
   Add sparc binary for ghc 6.10.4. Binary compiled by



1.13                 dev-lang/ghc/ghc-6.8.2.ebuild

file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-lang/ghc/ghc-6.8.2.ebuild?rev=1.13&view=markup
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-lang/ghc/ghc-6.8.2.ebuild?rev=1.13&content-type=text/plain
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-lang/ghc/ghc-6.8.2.ebuild?r1=1.12&r2=1.13

Index: ghc-6.8.2.ebuild
===================================================================
RCS file: /var/cvsroot/gentoo-x86/dev-lang/ghc/ghc-6.8.2.ebuild,v
retrieving revision 1.12
retrieving revision 1.13
diff -u -r1.12 -r1.13
--- ghc-6.8.2.ebuild	1 Aug 2009 11:50:00 -0000	1.12
+++ ghc-6.8.2.ebuild	2 Aug 2009 11:01:42 -0000	1.13
@@ -1,6 +1,6 @@
 # Copyright 1999-2009 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-lang/ghc/ghc-6.8.2.ebuild,v 1.12 2009/08/01 11:50:00 mabi Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-lang/ghc/ghc-6.8.2.ebuild,v 1.13 2009/08/02 11:01:42 kolmodin Exp $
 
 # Brief explanation of the bootstrap logic:
 #
@@ -131,12 +131,6 @@
 			die "USE=\"ghcbootstrap binary\" is not a valid combination."
 		[[ -z $(type -P ghc) ]] && \
 			die "Could not find a ghc to bootstrap with."
-	elif use ppc || use ppc64; then
-		eerror "No binary .tbz2 package available yet for these arches:"
-		eerror "  ppc, ppc64"
-		eerror "Please try emerging with USE=ghcbootstrap and report build"
-		eerror "sucess or failure to the haskell team (haskell@gentoo.org)"
-		die "No binary available for this arch yet, USE=ghcbootstrap"
 	fi
 }
 






^ permalink raw reply	[flat|nested] 10+ messages in thread
* [gentoo-commits] gentoo-x86 commit in dev-lang/ghc: ChangeLog ghc-6.8.2.ebuild
@ 2009-08-01 11:50 Matti Bickel (mabi)
  0 siblings, 0 replies; 10+ messages in thread
From: Matti Bickel (mabi) @ 2009-08-01 11:50 UTC (permalink / raw
  To: gentoo-commits

mabi        09/08/01 11:50:00

  Modified:             ChangeLog ghc-6.8.2.ebuild
  Log:
  add ~ppc
  (Portage version: 2.1.6.13/cvs/Linux ppc)

Revision  Changes    Path
1.166                dev-lang/ghc/ChangeLog

file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-lang/ghc/ChangeLog?rev=1.166&view=markup
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-lang/ghc/ChangeLog?rev=1.166&content-type=text/plain
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-lang/ghc/ChangeLog?r1=1.165&r2=1.166

Index: ChangeLog
===================================================================
RCS file: /var/cvsroot/gentoo-x86/dev-lang/ghc/ChangeLog,v
retrieving revision 1.165
retrieving revision 1.166
diff -u -r1.165 -r1.166
--- ChangeLog	29 Jul 2009 18:02:58 -0000	1.165
+++ ChangeLog	1 Aug 2009 11:50:00 -0000	1.166
@@ -1,6 +1,9 @@
 # ChangeLog for dev-lang/ghc
-# Copyright 2002-2009 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-lang/ghc/ChangeLog,v 1.165 2009/07/29 18:02:58 kolmodin Exp $
+# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/dev-lang/ghc/ChangeLog,v 1.166 2009/08/01 11:50:00 mabi Exp $
+
+  01 Aug 2009; <mabi@gentoo.org> ghc-6.8.2.ebuild:
+  ~ppc added back
 
   29 Jul 2009; Lennart Kolmodin <kolmodin@gentoo.org> Manifest:
   Fix broken manifest, ghc-6.8.2-ia64. Reported by Jeremy Olexa (darkside).



1.12                 dev-lang/ghc/ghc-6.8.2.ebuild

file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-lang/ghc/ghc-6.8.2.ebuild?rev=1.12&view=markup
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-lang/ghc/ghc-6.8.2.ebuild?rev=1.12&content-type=text/plain
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-lang/ghc/ghc-6.8.2.ebuild?r1=1.11&r2=1.12

Index: ghc-6.8.2.ebuild
===================================================================
RCS file: /var/cvsroot/gentoo-x86/dev-lang/ghc/ghc-6.8.2.ebuild,v
retrieving revision 1.11
retrieving revision 1.12
diff -u -r1.11 -r1.12
--- ghc-6.8.2.ebuild	10 May 2009 21:03:06 -0000	1.11
+++ ghc-6.8.2.ebuild	1 Aug 2009 11:50:00 -0000	1.12
@@ -1,6 +1,6 @@
 # Copyright 1999-2009 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-lang/ghc/ghc-6.8.2.ebuild,v 1.11 2009/05/10 21:03:06 kolmodin Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-lang/ghc/ghc-6.8.2.ebuild,v 1.12 2009/08/01 11:50:00 mabi Exp $
 
 # Brief explanation of the bootstrap logic:
 #
@@ -43,12 +43,13 @@
 	amd64?	( mirror://gentoo/ghc-bin-${PV}-amd64.tbz2 )
 	hppa?	( mirror://gentoo/ghc-bin-${PV}-hppa.tbz2 )
 	ia64?	( mirror://gentoo/ghc-bin-${PV}-ia64.tbz2 )
+	ppc?	( mirror://gentoo/ghc-bin-${PV}-ppc.tbz2 )
 	sparc?	( mirror://gentoo/ghc-bin-${PV}-sparc.tbz2 )
 	x86?	( mirror://gentoo/ghc-bin-${PV}-x86.tbz2 )"
 
 LICENSE="BSD"
 SLOT="0"
-KEYWORDS="alpha amd64 hppa ia64 sparc x86"
+KEYWORDS="alpha amd64 hppa ia64 ~ppc sparc x86"
 IUSE="binary doc ghcbootstrap"
 
 RDEPEND="






^ permalink raw reply	[flat|nested] 10+ messages in thread
* [gentoo-commits] gentoo-x86 commit in dev-lang/ghc: ChangeLog ghc-6.8.2.ebuild
@ 2008-10-04 10:15 Raul Porcel (armin76)
  0 siblings, 0 replies; 10+ messages in thread
From: Raul Porcel (armin76) @ 2008-10-04 10:15 UTC (permalink / raw
  To: gentoo-commits

armin76     08/10/04 10:15:33

  Modified:             ChangeLog ghc-6.8.2.ebuild
  Log:
  alpha/ia64 stable
  (Portage version: 2.1.4.4)

Revision  Changes    Path
1.158                dev-lang/ghc/ChangeLog

file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-lang/ghc/ChangeLog?rev=1.158&view=markup
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-lang/ghc/ChangeLog?rev=1.158&content-type=text/plain
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-lang/ghc/ChangeLog?r1=1.157&r2=1.158

Index: ChangeLog
===================================================================
RCS file: /var/cvsroot/gentoo-x86/dev-lang/ghc/ChangeLog,v
retrieving revision 1.157
retrieving revision 1.158
diff -u -r1.157 -r1.158
--- ChangeLog	2 Oct 2008 22:48:17 -0000	1.157
+++ ChangeLog	4 Oct 2008 10:15:33 -0000	1.158
@@ -1,6 +1,9 @@
 # ChangeLog for dev-lang/ghc
 # Copyright 2002-2008 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-lang/ghc/ChangeLog,v 1.157 2008/10/02 22:48:17 fmccor Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-lang/ghc/ChangeLog,v 1.158 2008/10/04 10:15:33 armin76 Exp $
+
+  04 Oct 2008; Raúl Porcel <armin76@gentoo.org> ghc-6.8.2.ebuild:
+  alpha/ia64 stable
 
   02 Oct 2008; Ferris McCormick <fmccor@gentoo.org> ghc-6.8.2.ebuild:
   Sparc stable, originally part of Bug #230919, and now suggested by Bug #239368.



1.10                 dev-lang/ghc/ghc-6.8.2.ebuild

file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-lang/ghc/ghc-6.8.2.ebuild?rev=1.10&view=markup
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-lang/ghc/ghc-6.8.2.ebuild?rev=1.10&content-type=text/plain
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-lang/ghc/ghc-6.8.2.ebuild?r1=1.9&r2=1.10

Index: ghc-6.8.2.ebuild
===================================================================
RCS file: /var/cvsroot/gentoo-x86/dev-lang/ghc/ghc-6.8.2.ebuild,v
retrieving revision 1.9
retrieving revision 1.10
diff -u -r1.9 -r1.10
--- ghc-6.8.2.ebuild	2 Oct 2008 22:48:17 -0000	1.9
+++ ghc-6.8.2.ebuild	4 Oct 2008 10:15:33 -0000	1.10
@@ -1,6 +1,6 @@
 # Copyright 1999-2008 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-lang/ghc/ghc-6.8.2.ebuild,v 1.9 2008/10/02 22:48:17 fmccor Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-lang/ghc/ghc-6.8.2.ebuild,v 1.10 2008/10/04 10:15:33 armin76 Exp $
 
 # Brief explanation of the bootstrap logic:
 #
@@ -48,7 +48,7 @@
 
 LICENSE="BSD"
 SLOT="0"
-KEYWORDS="~alpha amd64 hppa ~ia64 sparc x86"
+KEYWORDS="alpha amd64 hppa ia64 sparc x86"
 IUSE="binary doc ghcbootstrap"
 
 RDEPEND="






^ permalink raw reply	[flat|nested] 10+ messages in thread
* [gentoo-commits] gentoo-x86 commit in dev-lang/ghc: ChangeLog ghc-6.8.2.ebuild
@ 2008-10-02 22:48 Ferris McCormick (fmccor)
  0 siblings, 0 replies; 10+ messages in thread
From: Ferris McCormick (fmccor) @ 2008-10-02 22:48 UTC (permalink / raw
  To: gentoo-commits

fmccor      08/10/02 22:48:18

  Modified:             ChangeLog ghc-6.8.2.ebuild
  Log:
  Sparc stable, originally part of Bug #230919, and now suggested by Bug #239368.
  (Portage version: 2.2_rc11/cvs/Linux 2.6.20-gentoo-r8 x86_64)

Revision  Changes    Path
1.157                dev-lang/ghc/ChangeLog

file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-lang/ghc/ChangeLog?rev=1.157&view=markup
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-lang/ghc/ChangeLog?rev=1.157&content-type=text/plain
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-lang/ghc/ChangeLog?r1=1.156&r2=1.157

Index: ChangeLog
===================================================================
RCS file: /var/cvsroot/gentoo-x86/dev-lang/ghc/ChangeLog,v
retrieving revision 1.156
retrieving revision 1.157
diff -u -r1.156 -r1.157
--- ChangeLog	26 Aug 2008 14:38:30 -0000	1.156
+++ ChangeLog	2 Oct 2008 22:48:17 -0000	1.157
@@ -1,6 +1,9 @@
 # ChangeLog for dev-lang/ghc
 # Copyright 2002-2008 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-lang/ghc/ChangeLog,v 1.156 2008/08/26 14:38:30 armin76 Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-lang/ghc/ChangeLog,v 1.157 2008/10/02 22:48:17 fmccor Exp $
+
+  02 Oct 2008; Ferris McCormick <fmccor@gentoo.org> ghc-6.8.2.ebuild:
+  Sparc stable, originally part of Bug #230919, and now suggested by Bug #239368.
 
   26 Aug 2008; Raúl Porcel <armin76@gentoo.org> ghc-6.8.2.ebuild:
   Make ia64 an unregistered arch, as it breaks some stuff



1.9                  dev-lang/ghc/ghc-6.8.2.ebuild

file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-lang/ghc/ghc-6.8.2.ebuild?rev=1.9&view=markup
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-lang/ghc/ghc-6.8.2.ebuild?rev=1.9&content-type=text/plain
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-lang/ghc/ghc-6.8.2.ebuild?r1=1.8&r2=1.9

Index: ghc-6.8.2.ebuild
===================================================================
RCS file: /var/cvsroot/gentoo-x86/dev-lang/ghc/ghc-6.8.2.ebuild,v
retrieving revision 1.8
retrieving revision 1.9
diff -u -r1.8 -r1.9
--- ghc-6.8.2.ebuild	26 Aug 2008 14:38:30 -0000	1.8
+++ ghc-6.8.2.ebuild	2 Oct 2008 22:48:17 -0000	1.9
@@ -1,6 +1,6 @@
 # Copyright 1999-2008 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-lang/ghc/ghc-6.8.2.ebuild,v 1.8 2008/08/26 14:38:30 armin76 Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-lang/ghc/ghc-6.8.2.ebuild,v 1.9 2008/10/02 22:48:17 fmccor Exp $
 
 # Brief explanation of the bootstrap logic:
 #
@@ -48,7 +48,7 @@
 
 LICENSE="BSD"
 SLOT="0"
-KEYWORDS="~alpha amd64 hppa ~ia64 ~sparc x86"
+KEYWORDS="~alpha amd64 hppa ~ia64 sparc x86"
 IUSE="binary doc ghcbootstrap"
 
 RDEPEND="






^ permalink raw reply	[flat|nested] 10+ messages in thread
* [gentoo-commits] gentoo-x86 commit in dev-lang/ghc: ChangeLog ghc-6.8.2.ebuild
@ 2008-08-26 14:38 Raul Porcel (armin76)
  0 siblings, 0 replies; 10+ messages in thread
From: Raul Porcel (armin76) @ 2008-08-26 14:38 UTC (permalink / raw
  To: gentoo-commits

armin76     08/08/26 14:38:30

  Modified:             ChangeLog ghc-6.8.2.ebuild
  Log:
  Make ia64 an unregistered arch, as it breaks some stuff
  (Portage version: 2.1.4.4)

Revision  Changes    Path
1.156                dev-lang/ghc/ChangeLog

file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-lang/ghc/ChangeLog?rev=1.156&view=markup
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-lang/ghc/ChangeLog?rev=1.156&content-type=text/plain
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-lang/ghc/ChangeLog?r1=1.155&r2=1.156

Index: ChangeLog
===================================================================
RCS file: /var/cvsroot/gentoo-x86/dev-lang/ghc/ChangeLog,v
retrieving revision 1.155
retrieving revision 1.156
diff -u -r1.155 -r1.156
--- ChangeLog	23 Aug 2008 05:23:42 -0000	1.155
+++ ChangeLog	26 Aug 2008 14:38:30 -0000	1.156
@@ -1,6 +1,9 @@
 # ChangeLog for dev-lang/ghc
 # Copyright 2002-2008 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-lang/ghc/ChangeLog,v 1.155 2008/08/23 05:23:42 jer Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-lang/ghc/ChangeLog,v 1.156 2008/08/26 14:38:30 armin76 Exp $
+
+  26 Aug 2008; Raúl Porcel <armin76@gentoo.org> ghc-6.8.2.ebuild:
+  Make ia64 an unregistered arch, as it breaks some stuff
 
   23 Aug 2008; Jeroen Roovers <jer@gentoo.org> metadata.xml:
   Add GLEP 56 USE flag descriptions.



1.8                  dev-lang/ghc/ghc-6.8.2.ebuild

file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-lang/ghc/ghc-6.8.2.ebuild?rev=1.8&view=markup
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-lang/ghc/ghc-6.8.2.ebuild?rev=1.8&content-type=text/plain
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-lang/ghc/ghc-6.8.2.ebuild?r1=1.7&r2=1.8

Index: ghc-6.8.2.ebuild
===================================================================
RCS file: /var/cvsroot/gentoo-x86/dev-lang/ghc/ghc-6.8.2.ebuild,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -r1.7 -r1.8
--- ghc-6.8.2.ebuild	15 Jul 2008 05:44:22 -0000	1.7
+++ ghc-6.8.2.ebuild	26 Aug 2008 14:38:30 -0000	1.8
@@ -1,6 +1,6 @@
 # Copyright 1999-2008 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-lang/ghc/ghc-6.8.2.ebuild,v 1.7 2008/07/15 05:44:22 jer Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-lang/ghc/ghc-6.8.2.ebuild,v 1.8 2008/08/26 14:38:30 armin76 Exp $
 
 # Brief explanation of the bootstrap logic:
 #
@@ -199,7 +199,7 @@
 
 		# GHC build system knows to build unregisterised on alpha and hppa,
 		# but we have to tell it to build unregisterised on some arches
-		if use alpha || use hppa || use ppc64 || use sparc; then
+		if use alpha || use hppa || use ia64 || use ppc64 || use sparc; then
 			echo "GhcUnregisterised=YES" >> mk/build.mk
 			echo "GhcWithInterpreter=NO" >> mk/build.mk
 			echo "GhcWithNativeCodeGen=NO" >> mk/build.mk






^ permalink raw reply	[flat|nested] 10+ messages in thread
* [gentoo-commits] gentoo-x86 commit in dev-lang/ghc: ChangeLog ghc-6.8.2.ebuild
@ 2008-07-15  5:44 Jeroen Roovers (jer)
  0 siblings, 0 replies; 10+ messages in thread
From: Jeroen Roovers (jer) @ 2008-07-15  5:44 UTC (permalink / raw
  To: gentoo-commits

jer         08/07/15 05:44:22

  Modified:             ChangeLog ghc-6.8.2.ebuild
  Log:
  Stable for HPPA (bug #230919).
  (Portage version: 2.2_rc1/cvs/Linux 2.6.25-gentoo-r6-JeR parisc)

Revision  Changes    Path
1.154                dev-lang/ghc/ChangeLog

file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-lang/ghc/ChangeLog?rev=1.154&view=markup
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-lang/ghc/ChangeLog?rev=1.154&content-type=text/plain
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-lang/ghc/ChangeLog?r1=1.153&r2=1.154

Index: ChangeLog
===================================================================
RCS file: /var/cvsroot/gentoo-x86/dev-lang/ghc/ChangeLog,v
retrieving revision 1.153
retrieving revision 1.154
diff -u -r1.153 -r1.154
--- ChangeLog	6 Jul 2008 20:21:01 -0000	1.153
+++ ChangeLog	15 Jul 2008 05:44:22 -0000	1.154
@@ -1,6 +1,9 @@
 # ChangeLog for dev-lang/ghc
 # Copyright 2002-2008 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-lang/ghc/ChangeLog,v 1.153 2008/07/06 20:21:01 maekke Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-lang/ghc/ChangeLog,v 1.154 2008/07/15 05:44:22 jer Exp $
+
+  15 Jul 2008; Jeroen Roovers <jer@gentoo.org> ghc-6.8.2.ebuild:
+  Stable for HPPA (bug #230919).
 
   06 Jul 2008; Markus Meier <maekke@gentoo.org> ghc-6.8.2.ebuild:
   amd64/x86 stable, bug #230919



1.7                  dev-lang/ghc/ghc-6.8.2.ebuild

file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-lang/ghc/ghc-6.8.2.ebuild?rev=1.7&view=markup
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-lang/ghc/ghc-6.8.2.ebuild?rev=1.7&content-type=text/plain
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-lang/ghc/ghc-6.8.2.ebuild?r1=1.6&r2=1.7

Index: ghc-6.8.2.ebuild
===================================================================
RCS file: /var/cvsroot/gentoo-x86/dev-lang/ghc/ghc-6.8.2.ebuild,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -r1.6 -r1.7
--- ghc-6.8.2.ebuild	6 Jul 2008 20:21:01 -0000	1.6
+++ ghc-6.8.2.ebuild	15 Jul 2008 05:44:22 -0000	1.7
@@ -1,6 +1,6 @@
 # Copyright 1999-2008 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-lang/ghc/ghc-6.8.2.ebuild,v 1.6 2008/07/06 20:21:01 maekke Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-lang/ghc/ghc-6.8.2.ebuild,v 1.7 2008/07/15 05:44:22 jer Exp $
 
 # Brief explanation of the bootstrap logic:
 #
@@ -48,7 +48,7 @@
 
 LICENSE="BSD"
 SLOT="0"
-KEYWORDS="~alpha amd64 ~hppa ~ia64 ~sparc x86"
+KEYWORDS="~alpha amd64 hppa ~ia64 ~sparc x86"
 IUSE="binary doc ghcbootstrap"
 
 RDEPEND="



-- 
gentoo-commits@lists.gentoo.org mailing list



^ permalink raw reply	[flat|nested] 10+ messages in thread
* [gentoo-commits] gentoo-x86 commit in dev-lang/ghc: ChangeLog ghc-6.8.2.ebuild
@ 2008-04-28 17:44 Raul Porcel (armin76)
  0 siblings, 0 replies; 10+ messages in thread
From: Raul Porcel (armin76) @ 2008-04-28 17:44 UTC (permalink / raw
  To: gentoo-commits

armin76     08/04/28 17:44:24

  Modified:             ChangeLog ghc-6.8.2.ebuild
  Log:
  Upload again the binaries for alpha, and add ~ia64 wrt #206643
  (Portage version: 2.1.4.4)

Revision  Changes    Path
1.152                dev-lang/ghc/ChangeLog

file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-lang/ghc/ChangeLog?rev=1.152&view=markup
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-lang/ghc/ChangeLog?rev=1.152&content-type=text/plain
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-lang/ghc/ChangeLog?r1=1.151&r2=1.152

Index: ChangeLog
===================================================================
RCS file: /var/cvsroot/gentoo-x86/dev-lang/ghc/ChangeLog,v
retrieving revision 1.151
retrieving revision 1.152
diff -u -r1.151 -r1.152
--- ChangeLog	1 Mar 2008 11:43:34 -0000	1.151
+++ ChangeLog	28 Apr 2008 17:44:23 -0000	1.152
@@ -1,6 +1,9 @@
 # ChangeLog for dev-lang/ghc
 # Copyright 2002-2008 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-lang/ghc/ChangeLog,v 1.151 2008/03/01 11:43:34 armin76 Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-lang/ghc/ChangeLog,v 1.152 2008/04/28 17:44:23 armin76 Exp $
+
+  28 Apr 2008; Raúl Porcel <armin76@gentoo.org> ghc-6.8.2.ebuild:
+  Upload again the binaries for alpha, and add ~ia64 wrt #206643
 
   01 Mar 2008; Raúl Porcel <armin76@gentoo.org> ghc-6.6.1.ebuild,
   ghc-6.8.2.ebuild:



1.5                  dev-lang/ghc/ghc-6.8.2.ebuild

file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-lang/ghc/ghc-6.8.2.ebuild?rev=1.5&view=markup
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-lang/ghc/ghc-6.8.2.ebuild?rev=1.5&content-type=text/plain
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-lang/ghc/ghc-6.8.2.ebuild?r1=1.4&r2=1.5

Index: ghc-6.8.2.ebuild
===================================================================
RCS file: /var/cvsroot/gentoo-x86/dev-lang/ghc/ghc-6.8.2.ebuild,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -r1.4 -r1.5
--- ghc-6.8.2.ebuild	1 Mar 2008 11:43:34 -0000	1.4
+++ ghc-6.8.2.ebuild	28 Apr 2008 17:44:23 -0000	1.5
@@ -1,6 +1,6 @@
 # Copyright 1999-2008 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-lang/ghc/ghc-6.8.2.ebuild,v 1.4 2008/03/01 11:43:34 armin76 Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-lang/ghc/ghc-6.8.2.ebuild,v 1.5 2008/04/28 17:44:23 armin76 Exp $
 
 # Brief explanation of the bootstrap logic:
 #
@@ -42,12 +42,13 @@
 	alpha? ( mirror://gentoo/ghc-bin-${PV}-alpha.tbz2 )
 	amd64?	( mirror://gentoo/ghc-bin-${PV}-amd64.tbz2 )
 	hppa?	( mirror://gentoo/ghc-bin-${PV}-hppa.tbz2 )
+	ia64?	( mirror://gentoo/ghc-bin-${PV}-ia64.tbz2 )
 	sparc?	( mirror://gentoo/ghc-bin-${PV}-sparc.tbz2 )
 	x86?	( mirror://gentoo/ghc-bin-${PV}-x86.tbz2 )"
 
 LICENSE="BSD"
 SLOT="0"
-KEYWORDS="~alpha ~amd64 ~hppa ~sparc ~x86"
+KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ~sparc ~x86"
 IUSE="binary doc ghcbootstrap"
 
 RDEPEND="
@@ -129,9 +130,9 @@
 			die "USE=\"ghcbootstrap binary\" is not a valid combination."
 		[[ -z $(type -P ghc) ]] && \
 			die "Could not find a ghc to bootstrap with."
-	elif use ia64 || use ppc || use ppc64; then
+	elif use ppc || use ppc64; then
 		eerror "No binary .tbz2 package available yet for these arches:"
-		eerror "  ia64, ppc, ppc64"
+		eerror "  ppc, ppc64"
 		eerror "Please try emerging with USE=ghcbootstrap and report build"
 		eerror "sucess or failure to the haskell team (haskell@gentoo.org)"
 		die "No binary available for this arch yet, USE=ghcbootstrap"



-- 
gentoo-commits@lists.gentoo.org mailing list



^ permalink raw reply	[flat|nested] 10+ messages in thread
* [gentoo-commits] gentoo-x86 commit in dev-lang/ghc: ChangeLog ghc-6.8.2.ebuild
@ 2008-01-29 18:03 Jeroen Roovers (jer)
  0 siblings, 0 replies; 10+ messages in thread
From: Jeroen Roovers (jer) @ 2008-01-29 18:03 UTC (permalink / raw
  To: gentoo-commits

jer         08/01/29 18:03:27

  Modified:             ChangeLog ghc-6.8.2.ebuild
  Log:
  Marked ~hppa (bug #206643).
  (Portage version: 2.1.4)

Revision  Changes    Path
1.150                dev-lang/ghc/ChangeLog

file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-lang/ghc/ChangeLog?rev=1.150&view=markup
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-lang/ghc/ChangeLog?rev=1.150&content-type=text/plain
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-lang/ghc/ChangeLog?r1=1.149&r2=1.150

Index: ChangeLog
===================================================================
RCS file: /var/cvsroot/gentoo-x86/dev-lang/ghc/ChangeLog,v
retrieving revision 1.149
retrieving revision 1.150
diff -u -r1.149 -r1.150
--- ChangeLog	26 Jan 2008 19:53:25 -0000	1.149
+++ ChangeLog	29 Jan 2008 18:03:26 -0000	1.150
@@ -1,6 +1,9 @@
 # ChangeLog for dev-lang/ghc
 # Copyright 2002-2008 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-lang/ghc/ChangeLog,v 1.149 2008/01/26 19:53:25 dcoutts Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-lang/ghc/ChangeLog,v 1.150 2008/01/29 18:03:26 jer Exp $
+
+  29 Jan 2008; Jeroen Roovers <jer@gentoo.org> ghc-6.8.2.ebuild:
+  Marked ~hppa (bug #206643).
 
   26 Jan 2008; Duncan Coutts <dcoutts@gentoo.org> ghc-6.8.2.ebuild:
   Drop ~alpha ~hppa ~ia64 ~ppc ~ppc64 keywords as per bug #206643.



1.3                  dev-lang/ghc/ghc-6.8.2.ebuild

file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-lang/ghc/ghc-6.8.2.ebuild?rev=1.3&view=markup
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-lang/ghc/ghc-6.8.2.ebuild?rev=1.3&content-type=text/plain
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-lang/ghc/ghc-6.8.2.ebuild?r1=1.2&r2=1.3

Index: ghc-6.8.2.ebuild
===================================================================
RCS file: /var/cvsroot/gentoo-x86/dev-lang/ghc/ghc-6.8.2.ebuild,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- ghc-6.8.2.ebuild	26 Jan 2008 19:53:25 -0000	1.2
+++ ghc-6.8.2.ebuild	29 Jan 2008 18:03:26 -0000	1.3
@@ -1,6 +1,6 @@
 # Copyright 1999-2008 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-lang/ghc/ghc-6.8.2.ebuild,v 1.2 2008/01/26 19:53:25 dcoutts Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-lang/ghc/ghc-6.8.2.ebuild,v 1.3 2008/01/29 18:03:26 jer Exp $
 
 # Brief explanation of the bootstrap logic:
 #
@@ -40,12 +40,13 @@
 
 SRC_URI="!binary? ( http://haskell.org/ghc/dist/${EXTRA_SRC_URI}/${P}-src.tar.bz2 )
 	amd64?	( mirror://gentoo/ghc-bin-${PV}-amd64.tbz2 )
+	hppa?	( mirror://gentoo/ghc-bin-${PV}-hppa.tbz2 )
 	sparc?	( mirror://gentoo/ghc-bin-${PV}-sparc.tbz2 )
 	x86?	( mirror://gentoo/ghc-bin-${PV}-x86.tbz2 )"
 
 LICENSE="BSD"
 SLOT="0"
-KEYWORDS="~amd64 ~sparc ~x86"
+KEYWORDS="~amd64 ~hppa ~sparc ~x86"
 IUSE="binary doc ghcbootstrap"
 
 RDEPEND="
@@ -127,9 +128,9 @@
 			die "USE=\"ghcbootstrap binary\" is not a valid combination."
 		[[ -z $(type -P ghc) ]] && \
 			die "Could not find a ghc to bootstrap with."
-	elif use alpha || use hppa || use ia64 || use ppc || use ppc64; then
+	elif use alpha || use ia64 || use ppc || use ppc64; then
 		eerror "No binary .tbz2 package available yet for these arches:"
-		eerror "  alpha, hppa, ia64, ppc, ppc64"
+		eerror "  alpha, ia64, ppc, ppc64"
 		eerror "Please try emerging with USE=ghcbootstrap and report build"
 		eerror "sucess or failure to the haskell team (haskell@gentoo.org)"
 		die "No binary available for this arch yet, USE=ghcbootstrap"



-- 
gentoo-commits@lists.gentoo.org mailing list



^ permalink raw reply	[flat|nested] 10+ messages in thread
* [gentoo-commits] gentoo-x86 commit in dev-lang/ghc: ChangeLog ghc-6.8.2.ebuild
@ 2007-12-19 20:51 Lennart Kolmodin (kolmodin)
  0 siblings, 0 replies; 10+ messages in thread
From: Lennart Kolmodin (kolmodin) @ 2007-12-19 20:51 UTC (permalink / raw
  To: gentoo-commits

kolmodin    07/12/19 20:51:46

  Modified:             ChangeLog
  Added:                ghc-6.8.2.ebuild
  Log:
  Version bump of dev-lang/ghc to 6.8.2. Currently package.mask'ed.
  (Portage version: 2.1.3.19)

Revision  Changes    Path
1.146                dev-lang/ghc/ChangeLog

file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-lang/ghc/ChangeLog?rev=1.146&view=markup
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-lang/ghc/ChangeLog?rev=1.146&content-type=text/plain
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-lang/ghc/ChangeLog?r1=1.145&r2=1.146

Index: ChangeLog
===================================================================
RCS file: /var/cvsroot/gentoo-x86/dev-lang/ghc/ChangeLog,v
retrieving revision 1.145
retrieving revision 1.146
diff -u -r1.145 -r1.146
--- ChangeLog	16 Dec 2007 18:36:39 -0000	1.145
+++ ChangeLog	19 Dec 2007 20:51:45 -0000	1.146
@@ -1,6 +1,11 @@
 # ChangeLog for dev-lang/ghc
 # Copyright 2002-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-lang/ghc/ChangeLog,v 1.145 2007/12/16 18:36:39 nixnut Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-lang/ghc/ChangeLog,v 1.146 2007/12/19 20:51:45 kolmodin Exp $
+
+*ghc-6.8.2 (19 Dec 2007)
+
+  19 Dec 2007; Lennart Kolmodin <kolmodin@gentoo.org> +ghc-6.8.2.ebuild:
+  First version of the 6.8 branch. It's currently package.mask'ed.
 
   16 Dec 2007; nixnut <nixnut@gentoo.org> ghc-6.6.1.ebuild:
   Stable on ppc wrt bug 201984



1.1                  dev-lang/ghc/ghc-6.8.2.ebuild

file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-lang/ghc/ghc-6.8.2.ebuild?rev=1.1&view=markup
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-lang/ghc/ghc-6.8.2.ebuild?rev=1.1&content-type=text/plain

Index: ghc-6.8.2.ebuild
===================================================================
# Copyright 1999-2007 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-lang/ghc/ghc-6.8.2.ebuild,v 1.1 2007/12/19 20:51:45 kolmodin Exp $

# Brief explanation of the bootstrap logic:
#
# Previous ghc ebuilds have been split into two: ghc and ghc-bin,
# where ghc-bin was primarily used for bootstrapping purposes.
# From now on, these two ebuilds have been combined, with the
# binary USE flag used to determine whether or not the pre-built
# binary package should be emerged or whether ghc should be compiled
# from source.  If the latter, then the relevant ghc-bin for the
# arch in question will be used in the working directory to compile
# ghc from source.
#
# This solution has the advantage of allowing us to retain the one
# ebuild for both packages, and thus phase out virtual/ghc.

# Note to users of hardened gcc-3.x:
#
# If you emerge ghc with hardened gcc it should work fine (because we
# turn off the hardened features that would otherwise break ghc).
# However, emerging ghc while using a vanilla gcc and then switching to
# hardened gcc (using gcc-config) will leave you with a broken ghc. To
# fix it you would need to either switch back to vanilla gcc or re-emerge
# ghc (or ghc-bin). Note that also if you are using hardened gcc-3.x and
# you switch to gcc-4.x that this will also break ghc and you'll need to
# re-emerge ghc (or ghc-bin). People using vanilla gcc can switch between
# gcc-3.x and 4.x with no problems.

inherit base bash-completion eutils flag-o-matic toolchain-funcs ghc-package versionator

DESCRIPTION="The Glasgow Haskell Compiler"
HOMEPAGE="http://www.haskell.org/ghc/"

# discover if this is a snapshot release
IS_SNAPSHOT="$(get_version_component_range 4)" # non-empty if snapshot
EXTRA_SRC_URI="${PV}"
[[ "${IS_SNAPSHOT}" ]] && EXTRA_SRC_URI="stable/dist"

SRC_URI="!binary? ( http://haskell.org/ghc/dist/${EXTRA_SRC_URI}/${P}-src.tar.bz2 )
	amd64?	( mirror://gentoo/ghc-bin-${PV}-amd64.tbz2 )
	sparc?	( mirror://gentoo/ghc-bin-${PV}-sparc.tbz2 )
	x86?	( mirror://gentoo/ghc-bin-${PV}-x86.tbz2 )"

LICENSE="BSD"
SLOT="0"
KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86"
IUSE="binary doc ghcbootstrap"

RDEPEND="
	!dev-lang/ghc-bin
	>=sys-devel/gcc-2.95.3
	>=sys-devel/binutils-2.17
	>=dev-lang/perl-5.6.1
	>=dev-libs/gmp-4.1
	=sys-libs/readline-5*"

DEPEND="${RDEPEND}
	ghcbootstrap? (	doc? (	~app-text/docbook-xml-dtd-4.2
							app-text/docbook-xsl-stylesheets
							>=dev-libs/libxslt-1.1.2
							>=dev-haskell/haddock-0.8 ) )"
# In the ghcbootstrap case we rely on the developer having
# >=ghc-5.04.3 on their $PATH already

append-ghc-cflags() {
	local flag compile assemble link
	for flag in $*; do
		case ${flag} in
			compile)	compile="yes";;
			assemble)	assemble="yes";;
			link)		link="yes";;
			*)
				[[ ${compile}  ]] && GHC_CFLAGS="${GHC_CFLAGS} -optc${flag}"
				[[ ${assemble} ]] && GHC_CFLAGS="${GHC_CFLAGS} -opta${flag}"
				[[ ${link}     ]] && GHC_CFLAGS="${GHC_CFLAGS} -optl${flag}";;
		esac
	done
}

ghc_setup_cflags() {
	# We need to be very careful with the CFLAGS we ask ghc to pass through to
	# gcc. There are plenty of flags which will make gcc produce output that
	# breaks ghc in various ways. The main ones we want to pass through are
	# -mcpu / -march flags. These are important for arches like alpha & sparc.
	# We also use these CFLAGS for building the C parts of ghc, ie the rts.
	strip-flags
	strip-unsupported-flags
	filter-flags -fPIC

	GHC_CFLAGS=""
	for flag in ${CFLAGS}; do
		case ${flag} in

			# Ignore extra optimisation (ghc passes -O to gcc anyway)
			# -O2 and above break on too many systems
			-O*) ;;

			# Arch and ABI flags are what we're really after
			-m*) 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
	done

	# hardened-gcc needs to be disabled, because the mangler doesn't accept
	# its output.
	gcc-specs-pie && append-ghc-cflags compile link	-nopie
	gcc-specs-ssp && append-ghc-cflags compile		-fno-stack-protector

	# We also add -Wa,--noexecstack to get ghc to generate .o files with
	# non-exectable stack. This it a hack until ghc does it itself properly.
	append-ghc-cflags assemble		"-Wa,--noexecstack"
}

pkg_setup() {
	if use ghcbootstrap; then
		ewarn "You requested ghc bootstrapping, this is usually only used"
		ewarn "by Gentoo developers to make binary .tbz2 packages for"
		ewarn "use with the ghc ebuild's USE=\"binary\" feature."
		use binary && \
			die "USE=\"ghcbootstrap binary\" is not a valid combination."
		[[ -z $(type -P ghc) ]] && \
			die "Could not find a ghc to bootstrap with."
	elif use alpha || use hppa || use ia64 || use ppc || use ppc64; then
		eerror "No binary .tbz2 package available yet for these arches:"
		eerror "  alpha, hppa, ia64, ppc, ppc64"
		eerror "Please try emerging with USE=ghcbootstrap and report build"
		eerror "sucess or failure to the haskell team (haskell@gentoo.org)"
		die "No binary available for this arch yet, USE=ghcbootstrap"
	fi
}

src_unpack() {
	# Create the ${S} dir if we're using the binary version
	use binary && mkdir "${S}"

	base_src_unpack
	ghc_setup_cflags

	if use binary; then

		# Move unpacked files to the expected place
		mv "${WORKDIR}/usr" "${S}"
	else

		# Modify the ghc driver script to use GHC_CFLAGS
		sed -i -e "s|\$\$TOPDIROPT|\$\$TOPDIROPT ${GHC_CFLAGS}|" \
			"${S}/driver/ghc/Makefile"

		if ! use ghcbootstrap; then
			# Relocate from /usr to ${WORKDIR}/usr
			sed -i -e "s|/usr|${WORKDIR}/usr|g" \
				"${WORKDIR}/usr/bin/ghc-${PV}" \
				"${WORKDIR}/usr/bin/ghci-${PV}" \
				"${WORKDIR}/usr/bin/ghc-pkg-${PV}" \
				"${WORKDIR}/usr/bin/hsc2hs" \
				"${WORKDIR}/usr/$(get_libdir)/${P}/package.conf" \
				|| die "Relocating ghc from /usr to workdir failed"
		fi
	fi
}

src_compile() {
	if ! use binary; then

		# initialize build.mk
		echo '# Gentoo changes' > mk/build.mk

		# Put docs into the right place, ie /usr/share/doc/ghc-${PV}
		echo "docdir = /usr/share/doc/${P}" >> mk/build.mk
		echo "htmldir = /usr/share/doc/${P}" >> mk/build.mk

		# We also need to use the GHC_CFLAGS flags when building ghc itself
		echo "SRC_HC_OPTS+=${GHC_CFLAGS}" >> mk/build.mk
		echo "SRC_CC_OPTS+=${CFLAGS} -Wa,--noexecstack" >> mk/build.mk

		# We can't depend on haddock except when bootstrapping when we
		# must build docs and include them into the binary .tbz2 package
		if use ghcbootstrap && use doc; then
			echo XMLDocWays="html" >> mk/build.mk
			echo HADDOCK_DOCS=YES >> mk/build.mk
		else
			echo XMLDocWays="" >> mk/build.mk
		fi

		# circumvent a very strange bug that seems related with ghc producing
		# too much output while being filtered through tee (e.g. due to
		# portage logging) reported as bug #111183
		echo "SRC_HC_OPTS+=-w" >> mk/build.mk

		# GHC build system knows to build unregisterised on alpha and hppa,
		# but we have to tell it to build unregisterised on some arches
		if use alpha || use hppa || use ppc64 || use sparc; then
			echo "GhcUnregisterised=YES" >> mk/build.mk
			echo "GhcWithInterpreter=NO" >> mk/build.mk
			echo "GhcWithNativeCodeGen=NO" >> mk/build.mk
			echo "SplitObjs=NO" >> mk/build.mk
			echo "GhcRTSWays := debug" >> mk/build.mk
			echo "GhcNotThreaded=YES" >> mk/build.mk
		fi

		# Get ghc from the unpacked binary .tbz2
		# except when bootstrapping we just pick ghc up off the path
		if ! use ghcbootstrap; then
			export PATH="${WORKDIR}/usr/bin:${PATH}"
		fi

		econf || die "econf failed"

		emake all || die "make failed"

	fi # ! use binary
}

src_install() {
	if use binary; then
		mv "${S}/usr" "${D}"

		# Remove the docs if not requested
		if ! use doc; then
			rm -rf "${D}/usr/share/doc/${P}/*/" \
				"${D}/usr/share/doc/${P}/*.html" \
				|| die "could not remove docs (P vs PF revision mismatch?)"
		fi
	else
		local insttarget="install"

		# We only built docs if we were bootstrapping, otherwise
		# we copy them out of the unpacked binary .tbz2
		if use doc; then
			if use ghcbootstrap; then
				insttarget="${insttarget} install-docs"
			else
				mkdir -p "${D}/usr/share/doc"
				mv "${WORKDIR}/usr/share/doc/${P}" "${D}/usr/share/doc" \
					|| die "failed to copy docs"
			fi
		fi

		emake -j1 ${insttarget} \
			DESTDIR="${D}" \
			|| die "make ${insttarget} failed"

		dodoc "${S}/README" "${S}/ANNOUNCE" "${S}/LICENSE" "${S}/VERSION"

		dosbin "${FILESDIR}/ghc-updater"

		dobashcompletion "${FILESDIR}/ghc-bash-completion"

		cp -p "${D}/usr/$(get_libdir)/${P}/package.conf"{,.shipped} \
			|| die "failed to copy package.conf"
	fi
}

pkg_postinst() {
	ghc-reregister

	ewarn "IMPORTANT:"
	ewarn "If you have upgraded from another version of ghc, please run:"
	ewarn "      /usr/sbin/ghc-updater"
	ewarn "to re-merge all ghc-based Haskell libraries."

	bash-completion_pkg_postinst
}

pkg_prerm() {
	# Overwrite the (potentially) modified package.conf with a copy of the
	# original one, so that it will be removed during uninstall.

	PKG="${ROOT}/usr/$(get_libdir)/${P}/package.conf"

	cp -p "${PKG}"{.shipped,}

	[[ -f ${PKG}.old ]] && rm "${PKG}.old"
}



-- 
gentoo-commits@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2009-08-02 11:01 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-07-06 20:21 [gentoo-commits] gentoo-x86 commit in dev-lang/ghc: ChangeLog ghc-6.8.2.ebuild Markus Meier (maekke)
  -- strict thread matches above, loose matches on Subject: below --
2009-08-02 11:01 Lennart Kolmodin (kolmodin)
2009-08-01 11:50 Matti Bickel (mabi)
2008-10-04 10:15 Raul Porcel (armin76)
2008-10-02 22:48 Ferris McCormick (fmccor)
2008-08-26 14:38 Raul Porcel (armin76)
2008-07-15  5:44 Jeroen Roovers (jer)
2008-04-28 17:44 Raul Porcel (armin76)
2008-01-29 18:03 Jeroen Roovers (jer)
2007-12-19 20:51 Lennart Kolmodin (kolmodin)

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox