1 |
nerdboy 09/04/01 00:47:27 |
2 |
|
3 |
Modified: ChangeLog duma-2.5.13.ebuild |
4 |
Added: duma-2.5.14-r1.ebuild |
5 |
Removed: duma-2.5.14.ebuild |
6 |
Log: |
7 |
Updated latest ~arch to build with current toolchain (bug #262514). |
8 |
(Portage version: 2.2_rc25/cvs/Linux x86_64) |
9 |
|
10 |
Revision Changes Path |
11 |
1.9 dev-util/duma/ChangeLog |
12 |
|
13 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-util/duma/ChangeLog?rev=1.9&view=markup |
14 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-util/duma/ChangeLog?rev=1.9&content-type=text/plain |
15 |
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-util/duma/ChangeLog?r1=1.8&r2=1.9 |
16 |
|
17 |
Index: ChangeLog |
18 |
=================================================================== |
19 |
RCS file: /var/cvsroot/gentoo-x86/dev-util/duma/ChangeLog,v |
20 |
retrieving revision 1.8 |
21 |
retrieving revision 1.9 |
22 |
diff -u -r1.8 -r1.9 |
23 |
--- ChangeLog 3 Jan 2009 11:56:19 -0000 1.8 |
24 |
+++ ChangeLog 1 Apr 2009 00:47:27 -0000 1.9 |
25 |
@@ -1,6 +1,16 @@ |
26 |
# ChangeLog for dev-util/duma |
27 |
# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2 |
28 |
-# $Header: /var/cvsroot/gentoo-x86/dev-util/duma/ChangeLog,v 1.8 2009/01/03 11:56:19 patrick Exp $ |
29 |
+# $Header: /var/cvsroot/gentoo-x86/dev-util/duma/ChangeLog,v 1.9 2009/04/01 00:47:27 nerdboy Exp $ |
30 |
+ |
31 |
+*duma-2.5.14-r1 (01 Apr 2009) |
32 |
+ |
33 |
+ 01 Apr 2009; Steve Arnold <nerdboy@g.o> -duma-2.5.14.ebuild, |
34 |
+ +duma-2.5.14-r1.ebuild: |
35 |
+ Updated latest ~arch to build with current toolchain (bug #262514). |
36 |
+ Based on what this package does, as well as the failures reported in |
37 |
+ the above bug, it doesn't seem appropriate to pass every random set |
38 |
+ of user-supplied CFLAGS. Feel free to comment with justification |
39 |
+ for specific flags and/or pointers to relevant info. |
40 |
|
41 |
*duma-2.5.14 (03 Jan 2009) |
42 |
|
43 |
|
44 |
|
45 |
|
46 |
1.5 dev-util/duma/duma-2.5.13.ebuild |
47 |
|
48 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-util/duma/duma-2.5.13.ebuild?rev=1.5&view=markup |
49 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-util/duma/duma-2.5.13.ebuild?rev=1.5&content-type=text/plain |
50 |
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-util/duma/duma-2.5.13.ebuild?r1=1.4&r2=1.5 |
51 |
|
52 |
Index: duma-2.5.13.ebuild |
53 |
=================================================================== |
54 |
RCS file: /var/cvsroot/gentoo-x86/dev-util/duma/duma-2.5.13.ebuild,v |
55 |
retrieving revision 1.4 |
56 |
retrieving revision 1.5 |
57 |
diff -u -r1.4 -r1.5 |
58 |
--- duma-2.5.13.ebuild 22 Nov 2008 17:54:01 -0000 1.4 |
59 |
+++ duma-2.5.13.ebuild 1 Apr 2009 00:47:27 -0000 1.5 |
60 |
@@ -1,6 +1,6 @@ |
61 |
-# Copyright 1999-2008 Gentoo Foundation |
62 |
+# Copyright 1999-2009 Gentoo Foundation |
63 |
# Distributed under the terms of the GNU General Public License v2 |
64 |
-# $Header: /var/cvsroot/gentoo-x86/dev-util/duma/duma-2.5.13.ebuild,v 1.4 2008/11/22 17:54:01 maekke Exp $ |
65 |
+# $Header: /var/cvsroot/gentoo-x86/dev-util/duma/duma-2.5.13.ebuild,v 1.5 2009/04/01 00:47:27 nerdboy Exp $ |
66 |
|
67 |
inherit eutils toolchain-funcs versionator |
68 |
|
69 |
|
70 |
|
71 |
|
72 |
1.1 dev-util/duma/duma-2.5.14-r1.ebuild |
73 |
|
74 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-util/duma/duma-2.5.14-r1.ebuild?rev=1.1&view=markup |
75 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-util/duma/duma-2.5.14-r1.ebuild?rev=1.1&content-type=text/plain |
76 |
|
77 |
Index: duma-2.5.14-r1.ebuild |
78 |
=================================================================== |
79 |
# Copyright 1999-2009 Gentoo Foundation |
80 |
# Distributed under the terms of the GNU General Public License v2 |
81 |
# $Header: /var/cvsroot/gentoo-x86/dev-util/duma/duma-2.5.14-r1.ebuild,v 1.1 2009/04/01 00:47:27 nerdboy Exp $ |
82 |
|
83 |
inherit eutils toolchain-funcs versionator |
84 |
|
85 |
MY_P="${PN}_$(replace_all_version_separators '_')" |
86 |
S="${WORKDIR}/${MY_P}" |
87 |
|
88 |
DESCRIPTION="DUMA (Detect Unintended Memory Access) is a memory debugging library." |
89 |
HOMEPAGE="http://duma.sourceforge.net/" |
90 |
|
91 |
SRC_URI="mirror://sourceforge/duma/${MY_P}.tar.gz" |
92 |
|
93 |
LICENSE="GPL-2" |
94 |
SLOT="0" |
95 |
KEYWORDS="~amd64 ~ppc ~x86" |
96 |
IUSE="examples" |
97 |
|
98 |
DEPEND="virtual/libc" |
99 |
RDEPEND="${DEPEND} |
100 |
app-shells/bash" |
101 |
|
102 |
pkg_setup() { |
103 |
#DUMA_OPTIONS="-DDUMA_LIB_NO_LEAKDETECTION" |
104 |
DUMA_OPTIONS="-DDUMA_USE_FRAMENO" |
105 |
if [ -n "${DUMA_OPTIONS}" ]; then |
106 |
ewarn "" |
107 |
elog "Custom build options are ${DUMA_OPTIONS}." |
108 |
else |
109 |
ewarn "" |
110 |
elog "Custom build options are not set!" |
111 |
fi |
112 |
elog "See the package Makefile for for more options (also installed" |
113 |
elog "with package docs as Makefile.duma)." |
114 |
ewarn "" |
115 |
} |
116 |
|
117 |
src_unpack(){ |
118 |
unpack ${A} |
119 |
cd "${S}" |
120 |
sed -i -e "s:(prefix)/lib64:(prefix)/$(get_libdir):g" Makefile |
121 |
#sed -i -e "s:share/doc/duma:share/doc/${P}:g" Makefile |
122 |
} |
123 |
|
124 |
src_compile(){ |
125 |
use amd64 && export DUMA_ALIGNMENT=16 |
126 |
# append-flags doesn't work here (stupid static makefile) and neither |
127 |
# does distcc or some user-defined CFLAGS. Custom function definitions |
128 |
# and all that... |
129 |
gmake -j1 CFLAGS="${DUMA_OPTIONS} -O0 -Wall" CC=$(tc-getCC) \ |
130 |
|| die "make failed" |
131 |
} |
132 |
|
133 |
src_test() { |
134 |
ewarn "Control-C now if you want to disable tests..." |
135 |
epause 5 |
136 |
|
137 |
cd "${S}" |
138 |
use amd64 && export DUMA_ALIGNMENT=16 |
139 |
make CFLAGS="${DUMA_OPTIONS} ${CFLAGS}" \ |
140 |
CC=$(tc-getCC) test || die "make test failed" |
141 |
|
142 |
elog "" |
143 |
ewarn "Check output above to verify all tests have passed. Both" |
144 |
ewarn "static and dynamic confidence tests should say PASSED." |
145 |
elog "" |
146 |
} |
147 |
|
148 |
src_install(){ |
149 |
# make install fails nicely here on the first file... |
150 |
make DESTDIR="${D}" install || die "make install failed" |
151 |
dodoc CHANGELOG TODO |
152 |
# All the good comments on duma build options are in the Makefile |
153 |
newdoc Makefile Makefile.duma |
154 |
|
155 |
if use examples; then |
156 |
insinto /usr/share/doc/${P}/examples |
157 |
doins example[1-6].cpp |
158 |
doins example_makes/ex6/Makefile |
159 |
fi |
160 |
} |