Gentoo Archives: gentoo-commits

From: David Seifert <soap@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-libs/dmalloc/
Date: Tue, 18 Feb 2020 19:11:53
Message-Id: 1582053067.b5aabfdb9394719896261a3f888d3131552ce93a.soap@gentoo
1 commit: b5aabfdb9394719896261a3f888d3131552ce93a
2 Author: David Seifert <soap <AT> gentoo <DOT> org>
3 AuthorDate: Tue Feb 18 19:11:07 2020 +0000
4 Commit: David Seifert <soap <AT> gentoo <DOT> org>
5 CommitDate: Tue Feb 18 19:11:07 2020 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b5aabfdb
7
8 dev-libs/dmalloc: Remove old
9
10 Package-Manager: Portage-2.3.89, Repoman-2.3.20
11 Signed-off-by: David Seifert <soap <AT> gentoo.org>
12
13 dev-libs/dmalloc/dmalloc-5.5.2-r4.ebuild | 76 ----------------------------
14 dev-libs/dmalloc/dmalloc-5.5.2-r6.ebuild | 85 --------------------------------
15 2 files changed, 161 deletions(-)
16
17 diff --git a/dev-libs/dmalloc/dmalloc-5.5.2-r4.ebuild b/dev-libs/dmalloc/dmalloc-5.5.2-r4.ebuild
18 deleted file mode 100644
19 index 0e973b23497..00000000000
20 --- a/dev-libs/dmalloc/dmalloc-5.5.2-r4.ebuild
21 +++ /dev/null
22 @@ -1,76 +0,0 @@
23 -# Copyright 1999-2020 Gentoo Authors
24 -# Distributed under the terms of the GNU General Public License v2
25 -
26 -EAPI=4
27 -
28 -inherit autotools eutils multilib
29 -
30 -DESCRIPTION="A Debug Malloc Library"
31 -HOMEPAGE="http://dmalloc.com"
32 -SRC_URI="http://dmalloc.com/releases/${P}.tgz"
33 -
34 -LICENSE="CC-BY-SA-3.0"
35 -SLOT="0"
36 -KEYWORDS="~alpha amd64 arm hppa ia64 ppc ppc64 s390 sh sparc x86"
37 -IUSE="static-libs threads"
38 -
39 -DEPEND="sys-apps/texinfo"
40 -RDEPEND=""
41 -
42 -DOCS=( NEWS README docs/NOTES docs/TODO )
43 -
44 -src_prepare() {
45 - # - Build objects twice, once -fPIC for shared.
46 - # - Use DESTDIR.
47 - # - Fix SONAME and NEEDED.
48 - epatch "${FILESDIR}"/${P}-Makefile.in.patch
49 - # - Broken test, always returns false.
50 - epatch "${FILESDIR}"/${P}-cxx.patch
51 - # - Add threads support.
52 - use threads && epatch "${FILESDIR}"/${P}-threads.patch
53 - # Respect CFLAGS/LDFLAGS. #337429
54 - sed -i Makefile.in \
55 - -e '/libdmalloc/ s:$(CC):& $(CFLAGS) $(LDFLAGS):g' \
56 - || die "sed Makefile.in"
57 - # - Run autoconf for -cxx.patch.
58 - eautoconf
59 -}
60 -
61 -src_configure() {
62 - econf --enable-cxx --enable-shlib $(use_enable threads)
63 -}
64 -
65 -src_compile() {
66 - default
67 -
68 - cd docs
69 - makeinfo dmalloc.texi || die
70 -}
71 -
72 -src_test() {
73 - emake heavy
74 -}
75 -
76 -src_install() {
77 - default
78 -
79 - newdoc ChangeLog.1 ChangeLog
80 - insinto /usr/share/doc/${PF}
81 - doins docs/dmalloc.pdf
82 - dohtml RELEASE.html docs/dmalloc.html
83 - doinfo docs/dmalloc.info
84 -
85 - # add missing symlinks, lazy
86 - dosym lib${PN}.so.${PV} /usr/$(get_libdir)/lib${PN}.so
87 - dosym lib${PN}.so.${PV} /usr/$(get_libdir)/lib${PN}.so.${PV%%.*}
88 -
89 - for lib in cxx th thcxx; do
90 - dosym lib${PN}${lib}.so.${PV} /usr/$(get_libdir)/lib${PN}${lib}.so
91 - dosym lib${PN}${lib}.so.${PV} \
92 - /usr/$(get_libdir)/lib${PN}${lib}.so.${PV%%.*}
93 - done
94 -
95 - if ! use static-libs; then
96 - rm "${D}"/usr/$(get_libdir)/lib${PN}*.a || die
97 - fi
98 -}
99
100 diff --git a/dev-libs/dmalloc/dmalloc-5.5.2-r6.ebuild b/dev-libs/dmalloc/dmalloc-5.5.2-r6.ebuild
101 deleted file mode 100644
102 index 89f15be5253..00000000000
103 --- a/dev-libs/dmalloc/dmalloc-5.5.2-r6.ebuild
104 +++ /dev/null
105 @@ -1,85 +0,0 @@
106 -# Copyright 1999-2020 Gentoo Authors
107 -# Distributed under the terms of the GNU General Public License v2
108 -
109 -EAPI=5
110 -inherit autotools eutils multilib toolchain-funcs
111 -
112 -DESCRIPTION="A Debug Malloc Library"
113 -HOMEPAGE="http://dmalloc.com"
114 -SRC_URI="http://dmalloc.com/releases/${P}.tgz"
115 -
116 -LICENSE="CC-BY-SA-3.0"
117 -SLOT="0"
118 -KEYWORDS="~alpha amd64 arm arm64 hppa ia64 ~mips ppc ppc64 ~s390 ~sh sparc x86"
119 -IUSE="static-libs threads"
120 -
121 -DEPEND="sys-apps/texinfo"
122 -RDEPEND=""
123 -
124 -DOCS=( NEWS README docs/NOTES docs/TODO )
125 -
126 -src_prepare() {
127 - # - Build objects twice, once -fPIC for shared.
128 - # - Use DESTDIR.
129 - # - Fix SONAME and NEEDED.
130 - epatch "${FILESDIR}"/${P}-Makefile.in.patch
131 -
132 - # - Broken test, always returns false.
133 - epatch "${FILESDIR}"/${P}-cxx.patch
134 - epatch "${FILESDIR}"/${P}-ar.patch
135 -
136 - # - Add threads support.
137 - use threads && epatch "${FILESDIR}"/${P}-threads.patch
138 -
139 - # strdup() strndup() macros
140 - epatch "${FILESDIR}"/${P}-string-macros.patch
141 -
142 - # Respect CFLAGS/LDFLAGS. #337429
143 - sed -i \
144 - -e '/libdmalloc/ s:$(CC):& $(CFLAGS) $(LDFLAGS):g' \
145 - -e 's|ar cr|$(AR) cr|g' \
146 - Makefile.in || die
147 -
148 - # Run autoconf for -cxx.patch.
149 - eautoconf
150 -}
151 -
152 -src_configure() {
153 - tc-export AR
154 - econf --enable-cxx --enable-shlib $(use_enable threads)
155 -}
156 -
157 -src_compile() {
158 - default
159 -
160 - cd docs
161 - makeinfo dmalloc.texi || die
162 -}
163 -
164 -src_test() {
165 - emake heavy
166 -}
167 -
168 -src_install() {
169 - default
170 -
171 - newdoc ChangeLog.1 ChangeLog
172 - insinto /usr/share/doc/${PF}
173 - doins docs/dmalloc.pdf
174 - dohtml RELEASE.html docs/dmalloc.html
175 - doinfo docs/dmalloc.info
176 -
177 - # add missing symlinks, lazy
178 - dosym lib${PN}.so.${PV} /usr/$(get_libdir)/lib${PN}.so
179 - dosym lib${PN}.so.${PV} /usr/$(get_libdir)/lib${PN}.so.${PV%%.*}
180 -
181 - for lib in cxx th thcxx; do
182 - dosym lib${PN}${lib}.so.${PV} /usr/$(get_libdir)/lib${PN}${lib}.so
183 - dosym lib${PN}${lib}.so.${PV} \
184 - /usr/$(get_libdir)/lib${PN}${lib}.so.${PV%%.*}
185 - done
186 -
187 - if ! use static-libs; then
188 - rm "${ED}"/usr/$(get_libdir)/lib${PN}*.a || die
189 - fi
190 -}