Gentoo Archives: gentoo-commits

From: "Sebastien Fabbro (bicatali)" <bicatali@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in media-libs/qhull: ChangeLog qhull-2003.1-r1.ebuild qhull-2003.1.ebuild
Date: Wed, 09 Sep 2009 20:47:55
Message-Id: E1MlU51-00064X-Ma@stork.gentoo.org
1 bicatali 09/09/09 20:47:51
2
3 Modified: ChangeLog qhull-2003.1-r1.ebuild
4 Removed: qhull-2003.1.ebuild
5 Log:
6 Cleaned and fixed a few minor QA issues
7 (Portage version: 2.2_rc40/cvs/Linux x86_64)
8
9 Revision Changes Path
10 1.31 media-libs/qhull/ChangeLog
11
12 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-libs/qhull/ChangeLog?rev=1.31&view=markup
13 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-libs/qhull/ChangeLog?rev=1.31&content-type=text/plain
14 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-libs/qhull/ChangeLog?r1=1.30&r2=1.31
15
16 Index: ChangeLog
17 ===================================================================
18 RCS file: /var/cvsroot/gentoo-x86/media-libs/qhull/ChangeLog,v
19 retrieving revision 1.30
20 retrieving revision 1.31
21 diff -u -r1.30 -r1.31
22 --- ChangeLog 17 May 2009 13:01:46 -0000 1.30
23 +++ ChangeLog 9 Sep 2009 20:47:51 -0000 1.31
24 @@ -1,6 +1,10 @@
25 # ChangeLog for media-libs/qhull
26 -# Copyright 2002-2009 Gentoo Foundation; Distributed under the GPL v2
27 -# $Header: /var/cvsroot/gentoo-x86/media-libs/qhull/ChangeLog,v 1.30 2009/05/17 13:01:46 nixnut Exp $
28 +# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
29 +# $Header: /var/cvsroot/gentoo-x86/media-libs/qhull/ChangeLog,v 1.31 2009/09/09 20:47:51 bicatali Exp $
30 +
31 + 09 Sep 2009; Sébastien Fabbro <bicatali@g.o> -qhull-2003.1.ebuild,
32 + qhull-2003.1-r1.ebuild:
33 + Cleaned and fixed a few minor QA issues
34
35 17 May 2009; nixnut <nixnut@g.o> qhull-2003.1-r1.ebuild:
36 ppc stable #245707
37
38
39
40 1.8 media-libs/qhull/qhull-2003.1-r1.ebuild
41
42 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-libs/qhull/qhull-2003.1-r1.ebuild?rev=1.8&view=markup
43 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-libs/qhull/qhull-2003.1-r1.ebuild?rev=1.8&content-type=text/plain
44 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-libs/qhull/qhull-2003.1-r1.ebuild?r1=1.7&r2=1.8
45
46 Index: qhull-2003.1-r1.ebuild
47 ===================================================================
48 RCS file: /var/cvsroot/gentoo-x86/media-libs/qhull/qhull-2003.1-r1.ebuild,v
49 retrieving revision 1.7
50 retrieving revision 1.8
51 diff -u -r1.7 -r1.8
52 --- qhull-2003.1-r1.ebuild 17 May 2009 13:01:46 -0000 1.7
53 +++ qhull-2003.1-r1.ebuild 9 Sep 2009 20:47:51 -0000 1.8
54 @@ -1,7 +1,8 @@
55 # Copyright 1999-2009 Gentoo Foundation
56 # Distributed under the terms of the GNU General Public License v2
57 -# $Header: /var/cvsroot/gentoo-x86/media-libs/qhull/qhull-2003.1-r1.ebuild,v 1.7 2009/05/17 13:01:46 nixnut Exp $
58 +# $Header: /var/cvsroot/gentoo-x86/media-libs/qhull/qhull-2003.1-r1.ebuild,v 1.8 2009/09/09 20:47:51 bicatali Exp $
59
60 +EAPI=2
61 inherit eutils flag-o-matic
62
63 MY_P="${PN}${PV}"
64 @@ -12,25 +13,23 @@
65 SLOT="0"
66 LICENSE="BSD"
67 KEYWORDS="alpha amd64 ~hppa ppc ~ppc64 ~sparc ~x86"
68 -IUSE=""
69 +IUSE="doc"
70
71 -src_compile() {
72 +pkg_setup() {
73 # anything beyond -O1 leads to bad code in libqhull on amd64
74 # with gcc-4.2
75 - if [[ "${ARCH}" == "amd64" ]]; then
76 - replace-flags -O? -O1
77 - fi
78 -
79 - econf || die "econf failed"
80 - emake || die "emake failed"
81 + #use amd64 && replace-flags -O? -O1
82 + echo
83 }
84
85 src_install() {
86 - make DESTDIR="${D}" install || die "make install failed"
87 + emake DESTDIR="${D}" install || die "emake install failed"
88
89 rm -fr "${D}"/usr/share/doc/${PN}
90 - dodoc Announce.txt .txt File_id.diz README.txt REGISTER.txt
91 - cd html
92 - dohtml *
93 - dodoc *.txt
94 + dodoc Announce.txt File_id.diz README.txt REGISTER.txt
95 + if use doc; then
96 + cd html
97 + dohtml * || die
98 + dodoc *.txt || die
99 + fi
100 }