1 |
aballier 08/01/06 18:29:21 |
2 |
|
3 |
Modified: ChangeLog kdeedu-3.5.8.ebuild |
4 |
Log: |
5 |
Add a check for native code ocaml compiler and facile library |
6 |
(Portage version: 2.1.4_rc14) |
7 |
|
8 |
Revision Changes Path |
9 |
1.221 kde-base/kdeedu/ChangeLog |
10 |
|
11 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/kde-base/kdeedu/ChangeLog?rev=1.221&view=markup |
12 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/kde-base/kdeedu/ChangeLog?rev=1.221&content-type=text/plain |
13 |
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/kde-base/kdeedu/ChangeLog?r1=1.220&r2=1.221 |
14 |
|
15 |
Index: ChangeLog |
16 |
=================================================================== |
17 |
RCS file: /var/cvsroot/gentoo-x86/kde-base/kdeedu/ChangeLog,v |
18 |
retrieving revision 1.220 |
19 |
retrieving revision 1.221 |
20 |
diff -u -r1.220 -r1.221 |
21 |
--- ChangeLog 23 Oct 2007 21:19:10 -0000 1.220 |
22 |
+++ ChangeLog 6 Jan 2008 18:29:20 -0000 1.221 |
23 |
@@ -1,6 +1,9 @@ |
24 |
# ChangeLog for kde-base/kdeedu |
25 |
-# Copyright 2002-2007 Gentoo Foundation; Distributed under the GPL v2 |
26 |
-# $Header: /var/cvsroot/gentoo-x86/kde-base/kdeedu/ChangeLog,v 1.220 2007/10/23 21:19:10 jer Exp $ |
27 |
+# Copyright 2002-2008 Gentoo Foundation; Distributed under the GPL v2 |
28 |
+# $Header: /var/cvsroot/gentoo-x86/kde-base/kdeedu/ChangeLog,v 1.221 2008/01/06 18:29:20 aballier Exp $ |
29 |
+ |
30 |
+ 06 Jan 2008; Alexis Ballier <aballier@g.o> kdeedu-3.5.8.ebuild: |
31 |
+ Add a check for native code ocaml compiler and facile library |
32 |
|
33 |
23 Oct 2007; Jeroen Roovers <jer@g.o> kdeedu-3.5.8.ebuild: |
34 |
Marked ~hppa (bug #196551). |
35 |
|
36 |
|
37 |
|
38 |
1.3 kde-base/kdeedu/kdeedu-3.5.8.ebuild |
39 |
|
40 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/kde-base/kdeedu/kdeedu-3.5.8.ebuild?rev=1.3&view=markup |
41 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/kde-base/kdeedu/kdeedu-3.5.8.ebuild?rev=1.3&content-type=text/plain |
42 |
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/kde-base/kdeedu/kdeedu-3.5.8.ebuild?r1=1.2&r2=1.3 |
43 |
|
44 |
Index: kdeedu-3.5.8.ebuild |
45 |
=================================================================== |
46 |
RCS file: /var/cvsroot/gentoo-x86/kde-base/kdeedu/kdeedu-3.5.8.ebuild,v |
47 |
retrieving revision 1.2 |
48 |
retrieving revision 1.3 |
49 |
diff -u -r1.2 -r1.3 |
50 |
--- kdeedu-3.5.8.ebuild 23 Oct 2007 21:19:10 -0000 1.2 |
51 |
+++ kdeedu-3.5.8.ebuild 6 Jan 2008 18:29:20 -0000 1.3 |
52 |
@@ -1,8 +1,8 @@ |
53 |
-# Copyright 1999-2007 Gentoo Foundation |
54 |
+# Copyright 1999-2008 Gentoo Foundation |
55 |
# Distributed under the terms of the GNU General Public License v2 |
56 |
-# $Header: /var/cvsroot/gentoo-x86/kde-base/kdeedu/kdeedu-3.5.8.ebuild,v 1.2 2007/10/23 21:19:10 jer Exp $ |
57 |
+# $Header: /var/cvsroot/gentoo-x86/kde-base/kdeedu/kdeedu-3.5.8.ebuild,v 1.3 2008/01/06 18:29:20 aballier Exp $ |
58 |
|
59 |
-inherit kde-dist |
60 |
+inherit kde-dist eutils |
61 |
|
62 |
DESCRIPTION="KDE educational apps" |
63 |
|
64 |
@@ -12,6 +12,22 @@ |
65 |
DEPEND="kig-scripting? ( >=dev-libs/boost-1.32 ) |
66 |
solver? ( >=dev-ml/facile-1.1 )" |
67 |
|
68 |
+pkg_setup() { |
69 |
+ if use solver && ! built_with_use --missing true dev-lang/ocaml ocamlopt; then |
70 |
+ eerror "In order to build the solver for ${PN}, you first need" |
71 |
+ eerror "to have dev-lang/ocaml built with the ocamlopt useflag" |
72 |
+ eerror "in order to get a native code ocaml compiler" |
73 |
+ die "Please install dev-lang/ocaml with ocamlopt support" |
74 |
+ fi |
75 |
+ if use solver && ! built_with_use --missing true dev-ml/facile ocamlopt; then |
76 |
+ eerror "In order to build the solver for ${PN}, you first need" |
77 |
+ eerror "to have dev-ml/facile built with the ocamlopt useflag" |
78 |
+ eerror "in order to get the native code library" |
79 |
+ die "Please install dev-ml/facile with ocamlopt support" |
80 |
+ fi |
81 |
+ kde_pkg_setup |
82 |
+} |
83 |
+ |
84 |
src_unpack() { |
85 |
kde_src_unpack |
86 |
|
87 |
|
88 |
|
89 |
|
90 |
-- |
91 |
gentoo-commits@l.g.o mailing list |