1 |
araujo 08/01/13 23:32:53 |
2 |
|
3 |
Modified: ChangeLog hsshellscript-2.7.0.ebuild |
4 |
Log: |
5 |
Get hsshellscript-2.7.0 working with ghc6.8.x |
6 |
(Portage version: 2.1.4) |
7 |
|
8 |
Revision Changes Path |
9 |
1.20 dev-haskell/hsshellscript/ChangeLog |
10 |
|
11 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-haskell/hsshellscript/ChangeLog?rev=1.20&view=markup |
12 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-haskell/hsshellscript/ChangeLog?rev=1.20&content-type=text/plain |
13 |
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-haskell/hsshellscript/ChangeLog?r1=1.19&r2=1.20 |
14 |
|
15 |
Index: ChangeLog |
16 |
=================================================================== |
17 |
RCS file: /var/cvsroot/gentoo-x86/dev-haskell/hsshellscript/ChangeLog,v |
18 |
retrieving revision 1.19 |
19 |
retrieving revision 1.20 |
20 |
diff -u -r1.19 -r1.20 |
21 |
--- ChangeLog 15 Dec 2007 16:34:00 -0000 1.19 |
22 |
+++ ChangeLog 13 Jan 2008 23:32:52 -0000 1.20 |
23 |
@@ -1,6 +1,10 @@ |
24 |
# ChangeLog for dev-haskell/hsshellscript |
25 |
-# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2 |
26 |
-# $Header: /var/cvsroot/gentoo-x86/dev-haskell/hsshellscript/ChangeLog,v 1.19 2007/12/15 16:34:00 dcoutts Exp $ |
27 |
+# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2 |
28 |
+# $Header: /var/cvsroot/gentoo-x86/dev-haskell/hsshellscript/ChangeLog,v 1.20 2008/01/13 23:32:52 araujo Exp $ |
29 |
+ |
30 |
+ 13 Jan 2008; Luis F. Araujo <araujo@g.o> |
31 |
+ hsshellscript-2.7.0.ebuild: |
32 |
+ get hsshellscript to work with ghc6.8.x |
33 |
|
34 |
15 Dec 2007; Duncan Coutts <dcoutts@g.o> |
35 |
hsshellscript-2.7.0.ebuild: |
36 |
|
37 |
|
38 |
|
39 |
1.4 dev-haskell/hsshellscript/hsshellscript-2.7.0.ebuild |
40 |
|
41 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-haskell/hsshellscript/hsshellscript-2.7.0.ebuild?rev=1.4&view=markup |
42 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-haskell/hsshellscript/hsshellscript-2.7.0.ebuild?rev=1.4&content-type=text/plain |
43 |
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-haskell/hsshellscript/hsshellscript-2.7.0.ebuild?r1=1.3&r2=1.4 |
44 |
|
45 |
Index: hsshellscript-2.7.0.ebuild |
46 |
=================================================================== |
47 |
RCS file: /var/cvsroot/gentoo-x86/dev-haskell/hsshellscript/hsshellscript-2.7.0.ebuild,v |
48 |
retrieving revision 1.3 |
49 |
retrieving revision 1.4 |
50 |
diff -u -r1.3 -r1.4 |
51 |
--- hsshellscript-2.7.0.ebuild 15 Dec 2007 16:34:00 -0000 1.3 |
52 |
+++ hsshellscript-2.7.0.ebuild 13 Jan 2008 23:32:52 -0000 1.4 |
53 |
@@ -1,6 +1,6 @@ |
54 |
-# Copyright 1999-2007 Gentoo Foundation |
55 |
+# Copyright 1999-2008 Gentoo Foundation |
56 |
# Distributed under the terms of the GNU General Public License v2 |
57 |
-# $Header: /var/cvsroot/gentoo-x86/dev-haskell/hsshellscript/hsshellscript-2.7.0.ebuild,v 1.3 2007/12/15 16:34:00 dcoutts Exp $ |
58 |
+# $Header: /var/cvsroot/gentoo-x86/dev-haskell/hsshellscript/hsshellscript-2.7.0.ebuild,v 1.4 2008/01/13 23:32:52 araujo Exp $ |
59 |
|
60 |
inherit base eutils multilib ghc-package |
61 |
|
62 |
@@ -20,6 +20,13 @@ |
63 |
|
64 |
pkg_setup() { |
65 |
HSLIB="/usr/$(get_libdir)/${P}/ghc-$(ghc-version)/" |
66 |
+ if has_version '>=dev-lang/ghc-6.8'; then |
67 |
+ if (! has_version '>=dev-haskell/parsec-2.1.0.0' || ! built_with_use -o dev-haskell/parsec profile) ; then |
68 |
+ echo |
69 |
+ eerror "You need to install dev-haskell/parsec with the 'profile' USE flag." |
70 |
+ die "hsshellscript needs the package dev-haskell/parsec." |
71 |
+ fi |
72 |
+ fi |
73 |
} |
74 |
|
75 |
src_unpack() { |
76 |
|
77 |
|
78 |
|
79 |
-- |
80 |
gentoo-commits@l.g.o mailing list |