Gentoo Archives: gentoo-commits

From: "Tomas Chvatal (scarabeus)" <scarabeus@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in dev-util/cmake: cmake-2.6.2.ebuild ChangeLog cmake-2.6.1.ebuild
Date: Tue, 02 Dec 2008 23:25:40
Message-Id: E1L7ecb-0006hY-Bs@stork.gentoo.org
1 scarabeus 08/12/02 23:25:37
2
3 Modified: cmake-2.6.2.ebuild ChangeLog
4 Removed: cmake-2.6.1.ebuild
5 Log:
6 Dupe old. Update current to eapi2. Fixes bug #226153.
7 (Portage version: 2.2_rc16/cvs/Linux 2.6.27-gentoo x86_64)
8
9 Revision Changes Path
10 1.2 dev-util/cmake/cmake-2.6.2.ebuild
11
12 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-util/cmake/cmake-2.6.2.ebuild?rev=1.2&view=markup
13 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-util/cmake/cmake-2.6.2.ebuild?rev=1.2&content-type=text/plain
14 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-util/cmake/cmake-2.6.2.ebuild?r1=1.1&r2=1.2
15
16 Index: cmake-2.6.2.ebuild
17 ===================================================================
18 RCS file: /var/cvsroot/gentoo-x86/dev-util/cmake/cmake-2.6.2.ebuild,v
19 retrieving revision 1.1
20 retrieving revision 1.2
21 diff -u -r1.1 -r1.2
22 --- cmake-2.6.2.ebuild 27 Sep 2008 16:15:44 -0000 1.1
23 +++ cmake-2.6.2.ebuild 2 Dec 2008 23:25:37 -0000 1.2
24 @@ -1,8 +1,8 @@
25 # Copyright 1999-2008 Gentoo Foundation
26 # Distributed under the terms of the GNU General Public License v2
27 -# $Header: /var/cvsroot/gentoo-x86/dev-util/cmake/cmake-2.6.2.ebuild,v 1.1 2008/09/27 16:15:44 cryos Exp $
28 +# $Header: /var/cvsroot/gentoo-x86/dev-util/cmake/cmake-2.6.2.ebuild,v 1.2 2008/12/02 23:25:37 scarabeus Exp $
29
30 -EAPI="1"
31 +EAPI="2"
32
33 inherit elisp-common toolchain-funcs eutils versionator flag-o-matic
34
35 @@ -21,7 +21,7 @@
36 DEPEND=">=net-misc/curl-7.16.4
37 >=dev-libs/expat-2.0.1
38 >=dev-libs/libxml2-2.6.28
39 - >=dev-libs/xmlrpc-c-1.06.09
40 + >=dev-libs/xmlrpc-c-1.06.09[curl]
41 emacs? ( virtual/emacs )
42 qt4? ( || ( ( x11-libs/qt-core:4
43 x11-libs/qt-gui:4 )
44 @@ -36,26 +36,12 @@
45
46 S="${WORKDIR}/${MY_P}"
47
48 -pkg_setup() {
49 - if ! built_with_use -o dev-libs/xmlrpc-c curl libwww; then
50 - echo
51 - eerror "${PN} requires dev-libs/xmlrpc-c to be built with either the 'libwww' or"
52 - eerror "the 'curl' USE flag or both enabled."
53 - eerror "Please re-emerge dev-libs/xmlrpc-c with USE=\"libwww\" or USE=\"curl\"."
54 - echo
55 - die "Please re-emerge dev-libs/xmlrpc-c with USE=\"libwww\" or USE=\"curl\"."
56 - fi
57 -}
58 -
59 -src_unpack() {
60 - unpack ${A}
61 - cd "${S}"
62 -
63 +src_prepare() {
64 # Link against the shared Python library rather than the static one
65 epatch "${FILESDIR}/${PN}-FindPythonLibs.patch"
66 }
67
68 -src_compile() {
69 +src_configure() {
70 if [[ "$(gcc-major-version)" -eq "3" ]] ; then
71 append-flags "-fno-stack-protector"
72 fi
73 @@ -77,7 +63,9 @@
74 else
75 par_arg="--parallel=1"
76 fi
77 +}
78
79 +src_compile() {
80 ./bootstrap \
81 --system-libs \
82 --prefix=/usr \
83
84
85
86 1.76 dev-util/cmake/ChangeLog
87
88 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-util/cmake/ChangeLog?rev=1.76&view=markup
89 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-util/cmake/ChangeLog?rev=1.76&content-type=text/plain
90 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-util/cmake/ChangeLog?r1=1.75&r2=1.76
91
92 Index: ChangeLog
93 ===================================================================
94 RCS file: /var/cvsroot/gentoo-x86/dev-util/cmake/ChangeLog,v
95 retrieving revision 1.75
96 retrieving revision 1.76
97 diff -u -r1.75 -r1.76
98 --- ChangeLog 27 Sep 2008 16:15:44 -0000 1.75
99 +++ ChangeLog 2 Dec 2008 23:25:37 -0000 1.76
100 @@ -1,6 +1,11 @@
101 # ChangeLog for dev-util/cmake
102 # Copyright 2000-2008 Gentoo Foundation; Distributed under the GPL v2
103 -# $Header: /var/cvsroot/gentoo-x86/dev-util/cmake/ChangeLog,v 1.75 2008/09/27 16:15:44 cryos Exp $
104 +# $Header: /var/cvsroot/gentoo-x86/dev-util/cmake/ChangeLog,v 1.76 2008/12/02 23:25:37 scarabeus Exp $
105 +
106 + 02 Dec 2008; Tomas Chvatal <scarabeus@g.o>
107 + -files/cmake-2.6.1-gc-sections.patch, -files/cmake-2.6.1-rpath.patch,
108 + -cmake-2.6.1.ebuild, cmake-2.6.2.ebuild:
109 + Dupe old. Update current to eapi2. Fixes bug #226153.
110
111 *cmake-2.6.2 (27 Sep 2008)