Gentoo Archives: gentoo-commits

From: "Alexis Ballier (aballier)" <aballier@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in kde-base/kalzium: ChangeLog kalzium-3.5.8.ebuild
Date: Sun, 06 Jan 2008 18:23:32
Message-Id: E1JBa9g-0007XC-TU@stork.gentoo.org
1 aballier 08/01/06 18:23:28
2
3 Modified: ChangeLog kalzium-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.76 kde-base/kalzium/ChangeLog
10
11 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/kde-base/kalzium/ChangeLog?rev=1.76&view=markup
12 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/kde-base/kalzium/ChangeLog?rev=1.76&content-type=text/plain
13 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/kde-base/kalzium/ChangeLog?r1=1.75&r2=1.76
14
15 Index: ChangeLog
16 ===================================================================
17 RCS file: /var/cvsroot/gentoo-x86/kde-base/kalzium/ChangeLog,v
18 retrieving revision 1.75
19 retrieving revision 1.76
20 diff -u -r1.75 -r1.76
21 --- ChangeLog 19 Oct 2007 21:54:55 -0000 1.75
22 +++ ChangeLog 6 Jan 2008 18:23:28 -0000 1.76
23 @@ -1,6 +1,9 @@
24 # ChangeLog for kde-base/kalzium
25 -# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2
26 -# $Header: /var/cvsroot/gentoo-x86/kde-base/kalzium/ChangeLog,v 1.75 2007/10/19 21:54:55 philantrop Exp $
27 +# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
28 +# $Header: /var/cvsroot/gentoo-x86/kde-base/kalzium/ChangeLog,v 1.76 2008/01/06 18:23:28 aballier Exp $
29 +
30 + 06 Jan 2008; Alexis Ballier <aballier@g.o> kalzium-3.5.8.ebuild:
31 + Add a check for native code ocaml compiler and facile library
32
33 *kalzium-3.5.8 (19 Oct 2007)
34
35
36
37
38 1.2 kde-base/kalzium/kalzium-3.5.8.ebuild
39
40 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/kde-base/kalzium/kalzium-3.5.8.ebuild?rev=1.2&view=markup
41 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/kde-base/kalzium/kalzium-3.5.8.ebuild?rev=1.2&content-type=text/plain
42 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/kde-base/kalzium/kalzium-3.5.8.ebuild?r1=1.1&r2=1.2
43
44 Index: kalzium-3.5.8.ebuild
45 ===================================================================
46 RCS file: /var/cvsroot/gentoo-x86/kde-base/kalzium/kalzium-3.5.8.ebuild,v
47 retrieving revision 1.1
48 retrieving revision 1.2
49 diff -u -r1.1 -r1.2
50 --- kalzium-3.5.8.ebuild 19 Oct 2007 21:54:55 -0000 1.1
51 +++ kalzium-3.5.8.ebuild 6 Jan 2008 18:23:28 -0000 1.2
52 @@ -1,10 +1,10 @@
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/kalzium/kalzium-3.5.8.ebuild,v 1.1 2007/10/19 21:54:55 philantrop Exp $
57 +# $Header: /var/cvsroot/gentoo-x86/kde-base/kalzium/kalzium-3.5.8.ebuild,v 1.2 2008/01/06 18:23:28 aballier Exp $
58 KMNAME=kdeedu
59 MAXKDEVER=$PV
60 KM_DEPRANGE="$PV $MAXKDEVER"
61 -inherit flag-o-matic kde-meta
62 +inherit flag-o-matic kde-meta eutils
63
64 DESCRIPTION="KDE: periodic table of the elements"
65 KEYWORDS="~alpha ~amd64 ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd"
66 @@ -21,6 +21,22 @@
67
68 PATCHES="${FILESDIR}/${PN}-3.5.7-copy_string.patch"
69
70 +pkg_setup() {
71 + if use solver && ! built_with_use --missing true dev-lang/ocaml ocamlopt; then
72 + eerror "In order to build the solver for ${PN}, you first need"
73 + eerror "to have dev-lang/ocaml built with the ocamlopt useflag"
74 + eerror "in order to get a native code ocaml compiler"
75 + die "Please install dev-lang/ocaml with ocamlopt support"
76 + fi
77 + if use solver && ! built_with_use --missing true dev-ml/facile ocamlopt; then
78 + eerror "In order to build the solver for ${PN}, you first need"
79 + eerror "to have dev-ml/facile built with the ocamlopt useflag"
80 + eerror "in order to get the native code library"
81 + die "Please install dev-ml/facile with ocamlopt support"
82 + fi
83 + kde_pkg_setup
84 +}
85 +
86 src_compile() {
87 append-ldflags -Wl,-z,noexecstack
88
89
90
91
92 --
93 gentoo-commits@l.g.o mailing list