Gentoo Archives: gentoo-commits

From: "Samuli Suominen (drac)" <drac@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in dev-libs/dmalloc: ChangeLog dmalloc-5.5.2-r1.ebuild
Date: Thu, 27 Dec 2007 17:42:30
Message-Id: E1J7wkO-0000PO-DU@stork.gentoo.org
1 drac 07/12/27 17:42:20
2
3 Modified: ChangeLog
4 Added: dmalloc-5.5.2-r1.ebuild
5 Log:
6 Build objects twice, once -fPIC for shared and once without for static. REALLY fix soname handling. Also includes the previous fix for DESTDIR. Restore ~amd64 since it's usable again.
7 (Portage version: 2.1.4_rc11)
8
9 Revision Changes Path
10 1.34 dev-libs/dmalloc/ChangeLog
11
12 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-libs/dmalloc/ChangeLog?rev=1.34&view=markup
13 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-libs/dmalloc/ChangeLog?rev=1.34&content-type=text/plain
14 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-libs/dmalloc/ChangeLog?r1=1.33&r2=1.34
15
16 Index: ChangeLog
17 ===================================================================
18 RCS file: /var/cvsroot/gentoo-x86/dev-libs/dmalloc/ChangeLog,v
19 retrieving revision 1.33
20 retrieving revision 1.34
21 diff -u -r1.33 -r1.34
22 --- ChangeLog 27 Dec 2007 15:03:12 -0000 1.33
23 +++ ChangeLog 27 Dec 2007 17:42:19 -0000 1.34
24 @@ -1,6 +1,15 @@
25 # ChangeLog for dev-libs/dmalloc
26 # Copyright 2002-2007 Gentoo Foundation; Distributed under the GPL v2
27 -# $Header: /var/cvsroot/gentoo-x86/dev-libs/dmalloc/ChangeLog,v 1.33 2007/12/27 15:03:12 drac Exp $
28 +# $Header: /var/cvsroot/gentoo-x86/dev-libs/dmalloc/ChangeLog,v 1.34 2007/12/27 17:42:19 drac Exp $
29 +
30 +*dmalloc-5.5.2-r1 (27 Dec 2007)
31 +
32 + 27 Dec 2007; Samuli Suominen <drac@g.o>
33 + +files/dmalloc-5.5.2-Makefile.in.patch, +files/dmalloc-5.5.2-cxx.patch,
34 + +dmalloc-5.5.2-r1.ebuild:
35 + Build objects twice, once -fPIC for shared and once without for static.
36 + REALLY fix soname handling. Also includes the previous fix for DESTDIR.
37 + Restore ~amd64 since it's usable again.
38
39 27 Dec 2007; Samuli Suominen <drac@g.o> dmalloc-5.4.2.ebuild,
40 dmalloc-5.5.2.ebuild:
41
42
43
44 1.1 dev-libs/dmalloc/dmalloc-5.5.2-r1.ebuild
45
46 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-libs/dmalloc/dmalloc-5.5.2-r1.ebuild?rev=1.1&view=markup
47 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-libs/dmalloc/dmalloc-5.5.2-r1.ebuild?rev=1.1&content-type=text/plain
48
49 Index: dmalloc-5.5.2-r1.ebuild
50 ===================================================================
51 # Copyright 1999-2007 Gentoo Foundation
52 # Distributed under the terms of the GNU General Public License v2
53 # $Header: /var/cvsroot/gentoo-x86/dev-libs/dmalloc/dmalloc-5.5.2-r1.ebuild,v 1.1 2007/12/27 17:42:19 drac Exp $
54
55 inherit autotools eutils
56
57 DESCRIPTION="A Debug Malloc Library"
58 HOMEPAGE="http://dmalloc.com"
59 SRC_URI="http://dmalloc.com/releases/${P}.tgz"
60
61 LICENSE="CCPL-Attribution-ShareAlike-3.0"
62 SLOT="0"
63 KEYWORDS="~alpha ~amd64 ~ia64 ~ppc ~ppc64 ~sparc ~x86"
64 IUSE=""
65
66 DEPEND=""
67
68 src_unpack() {
69 unpack ${A}
70 cd "${S}"
71 # - Build objects twice, once -fPIC for shared.
72 # - Use DESTDIR.
73 # - Fix SONAME and NEEDED.
74 epatch "${FILESDIR}"/${P}-Makefile.in.patch
75 # - Broken test, always returns false.
76 epatch "${FILESDIR}"/${P}-cxx.patch
77 # - Run autoconf for -cxx.patch.
78 eautoconf
79 }
80
81 src_compile() {
82 econf --enable-cxx --enable-threads --enable-shlib
83 emake || die "emake failed."
84 cd docs && makeinfo dmalloc.texi
85 }
86
87 src_test() {
88 emake heavy || die "emake check failed."
89 }
90
91 src_install() {
92 emake DESTDIR="${D}" install || die "emake install failed."
93
94 newdoc ChangeLog.1 ChangeLog
95 dodoc NEWS README docs/NOTES docs/TODO
96 insinto /usr/share/doc/${PF}
97 doins docs/dmalloc.pdf
98 dohtml RELEASE.html docs/dmalloc.html
99 doinfo docs/dmalloc.info
100 }
101
102
103
104 --
105 gentoo-commits@g.o mailing list