summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeroen Roovers <jer@gentoo.org>2012-02-22 01:20:05 +0000
committerJeroen Roovers <jer@gentoo.org>2012-02-22 01:20:05 +0000
commit5b93a9057480d8b2483694b08e06b7d2960f8a24 (patch)
tree9537ca966bb4a4acdc1257cdf61d0ad05aa928ad /dev-libs/dmalloc
parentRestricting jython (diff)
downloadhistorical-5b93a9057480d8b2483694b08e06b7d2960f8a24.tar.gz
historical-5b93a9057480d8b2483694b08e06b7d2960f8a24.tar.bz2
historical-5b93a9057480d8b2483694b08e06b7d2960f8a24.zip
Install more soname symlinks by Daniel M. Weeks (bug #405103).
Package-Manager: portage-2.2.0_alpha88/cvs/Linux x86_64
Diffstat (limited to 'dev-libs/dmalloc')
-rw-r--r--dev-libs/dmalloc/ChangeLog9
-rw-r--r--dev-libs/dmalloc/Manifest15
-rw-r--r--dev-libs/dmalloc/dmalloc-5.5.2-r4.ebuild73
3 files changed, 87 insertions, 10 deletions
diff --git a/dev-libs/dmalloc/ChangeLog b/dev-libs/dmalloc/ChangeLog
index f1262a6e2d4c..7c103aa50175 100644
--- a/dev-libs/dmalloc/ChangeLog
+++ b/dev-libs/dmalloc/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for dev-libs/dmalloc
-# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-libs/dmalloc/ChangeLog,v 1.56 2011/07/27 13:00:23 naota Exp $
+# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/dev-libs/dmalloc/ChangeLog,v 1.57 2012/02/22 01:20:05 jer Exp $
+
+*dmalloc-5.5.2-r4 (22 Feb 2012)
+
+ 22 Feb 2012; Jeroen Roovers <jer@gentoo.org> +dmalloc-5.5.2-r4.ebuild:
+ Install more soname symlinks by Daniel M. Weeks (bug #405103).
27 Jul 2011; Naohiro Aota <naota@gentoo.org> dmalloc-5.5.2-r3.ebuild:
~x86-fbsd keyworded
diff --git a/dev-libs/dmalloc/Manifest b/dev-libs/dmalloc/Manifest
index f5fe52491ae9..e6df4bb3c772 100644
--- a/dev-libs/dmalloc/Manifest
+++ b/dev-libs/dmalloc/Manifest
@@ -1,19 +1,18 @@
-----BEGIN PGP SIGNED MESSAGE-----
-Hash: SHA256
+Hash: SHA1
AUX dmalloc-5.5.2-Makefile.in.patch 14022 RMD160 22917b8235f32522731198f5dd00e852c9c34e11 SHA1 0e46fe842a7b918ed740c4910f9d804a36253ff1 SHA256 b4eb76731fd732da31945e9b04efe7c30e1f3bef15f19ddc9d88375fb8619b99
AUX dmalloc-5.5.2-cxx.patch 715 RMD160 63cdd7923f5b78b3dd1d04c25154ce3a91dd4474 SHA1 e36c84def65434d67a666ba16963b4ab98cff296 SHA256 c488baec7cb90a57b0256459c7e38fd6e0cddef0682a60ae98bfedca9292897d
AUX dmalloc-5.5.2-threads.patch 270 RMD160 98152bed013a47b32cb62b1ee10ec011a2ca0091 SHA1 83dfdddf510c1185606fbe8fd9acde5e2abb81bc SHA256 f80e3cf1293f5ebeee8d8f83e0bf5ecad606c27ddc9a2fd8908d5af649720433
DIST dmalloc-5.5.2.tgz 666608 RMD160 2cfe4daa453337e0fae0656bdbdaad1214d6243d SHA1 20719de78decbd724bc3ab9d6dce2ea5e5922335 SHA256 d3be5c6eec24950cb3bd67dbfbcdf036f1278fae5fd78655ef8cdf9e911e428a
EBUILD dmalloc-5.5.2-r3.ebuild 1770 RMD160 9872406166db1cc955a38650a0f77a060ae766b8 SHA1 8bbdc495ee59b8a5c34d690c3a17cb5b034f42f8 SHA256 a1ee5c6ab58cd253673c24aa058a748064761c5f71d078de9f4c3f2210d5f329
-MISC ChangeLog 7778 RMD160 050551d29e2cbb9fbcc91494720ac59c394e0589 SHA1 efa0db5a864949c1c583bb6893298338cd2b2266 SHA256 cfdda6759b3d77f3fa157b618fac682b78ee17a1c7d4917b7f11ce5560d5998b
+EBUILD dmalloc-5.5.2-r4.ebuild 1808 RMD160 5e8ce645697c9dc85f4d20a4bb8f4c665267f217 SHA1 d9310a1539bbee3b465744b35cc83ee7f759842e SHA256 7a9d941701666049746cce345a7c417fded209f95a23e963b734cae739190437
+MISC ChangeLog 7948 RMD160 6ca1fa99facbb5a67390842fb179aab842511d08 SHA1 f22145a6a8999309db7fe924a455a8a21316a2b0 SHA256 3fe5ec04946cf2dfa2825181f2c25032e58a59f4dea4191a3656c803225f3182
MISC metadata.xml 230 RMD160 f4eaafe69d80938604be6213ca2529b73ced7a53 SHA1 27d0d9e737236700ad6d266c9a2fc8869f427869 SHA256 529c3320b250d179bb9e9ae651a88ba3f2a1bca78cd1ab07d5aef28d571960ce
-----BEGIN PGP SIGNATURE-----
-Version: GnuPG v2.0.18 (GNU/Linux)
+Version: GnuPG v2.0.17 (GNU/Linux)
-iJwEAQEIAAYFAk59C7IACgkQfXuS5UK5QB3MfQP+M0B7GFzE6/quyZmGkb4h2VlR
-F28x7PsOPKc/+Pd5okqhV5MSw9R89PyiU+W29S/gyjfLpQsBllGopy+SY6vicOmh
-+45VlQLWuVfbEH5875wFcpkZPcFDtA39+eokmm5mOmmPrt6XGZ0RgUUdGyhLBHD2
-BGzTaXM3J07ypWAsGWc=
-=Zbsg
+iEYEARECAAYFAk9EQtMACgkQVWmRsqeSphPJbQCeJgmle583UeWPM8Ar6daPEatY
+/AsAnRlZ4kOkxISG2AczdHlLO2AdgxnA
+=vK98
-----END PGP SIGNATURE-----
diff --git a/dev-libs/dmalloc/dmalloc-5.5.2-r4.ebuild b/dev-libs/dmalloc/dmalloc-5.5.2-r4.ebuild
new file mode 100644
index 000000000000..4934abca920f
--- /dev/null
+++ b/dev-libs/dmalloc/dmalloc-5.5.2-r4.ebuild
@@ -0,0 +1,73 @@
+# Copyright 1999-2012 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-libs/dmalloc/dmalloc-5.5.2-r4.ebuild,v 1.1 2012/02/22 01:20:05 jer Exp $
+
+EAPI=4
+
+inherit autotools eutils multilib
+
+DESCRIPTION="A Debug Malloc Library"
+HOMEPAGE="http://dmalloc.com"
+SRC_URI="http://dmalloc.com/releases/${P}.tgz"
+
+LICENSE="CCPL-Attribution-ShareAlike-3.0"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~x86-fbsd"
+IUSE="threads"
+
+DEPEND="sys-apps/texinfo"
+RDEPEND=""
+
+DOCS=( NEWS README docs/NOTES docs/TODO )
+
+src_prepare() {
+ # - Build objects twice, once -fPIC for shared.
+ # - Use DESTDIR.
+ # - Fix SONAME and NEEDED.
+ epatch "${FILESDIR}"/${P}-Makefile.in.patch
+ # - Broken test, always returns false.
+ epatch "${FILESDIR}"/${P}-cxx.patch
+ # - Add threads support.
+ use threads && epatch "${FILESDIR}"/${P}-threads.patch
+ # Respect CFLAGS/LDFLAGS. #337429
+ sed -i Makefile.in \
+ -e '/libdmalloc/ s:$(CC):& $(CFLAGS) $(LDFLAGS):g' \
+ || die "sed Makefile.in"
+ # - Run autoconf for -cxx.patch.
+ eautoconf
+}
+
+src_configure() {
+ econf --enable-cxx --enable-shlib $(use_enable threads)
+}
+
+src_compile() {
+ default
+
+ cd docs
+ makeinfo dmalloc.texi || die
+}
+
+src_test() {
+ emake heavy
+}
+
+src_install() {
+ default
+
+ newdoc ChangeLog.1 ChangeLog
+ insinto /usr/share/doc/${PF}
+ doins docs/dmalloc.pdf
+ dohtml RELEASE.html docs/dmalloc.html
+ doinfo docs/dmalloc.info
+
+ # add missing symlinks, lazy
+ dosym lib${PN}.so.${PV} /usr/$(get_libdir)/lib${PN}.so
+ dosym lib${PN}.so.${PV} /usr/$(get_libdir)/lib${PN}.so.${PV%%.*}
+
+ for lib in cxx th thcxx; do
+ dosym lib${PN}${lib}.so.${PV} /usr/$(get_libdir)/lib${PN}${lib}.so
+ dosym lib${PN}${lib}.so.${PV} \
+ /usr/$(get_libdir)/lib${PN}${lib}.so.${PV%%.*}
+ done
+}