summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sys-libs/libunwind/ChangeLog7
-rw-r--r--sys-libs/libunwind/Manifest14
-rw-r--r--sys-libs/libunwind/libunwind-0.99-r1.ebuild26
3 files changed, 34 insertions, 13 deletions
diff --git a/sys-libs/libunwind/ChangeLog b/sys-libs/libunwind/ChangeLog
index 66a204cae21a..6af0a679f72b 100644
--- a/sys-libs/libunwind/ChangeLog
+++ b/sys-libs/libunwind/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for sys-libs/libunwind
-# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sys-libs/libunwind/ChangeLog,v 1.13 2010/05/19 20:27:30 armin76 Exp $
+# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/sys-libs/libunwind/ChangeLog,v 1.14 2011/08/04 14:01:47 ssuominen Exp $
+
+ 04 Aug 2011; Samuli Suominen <ssuominen@gentoo.org> libunwind-0.99-r1.ebuild:
+ USE="static-libs" and remove unnecessary libtool files
19 May 2010; Raúl Porcel <armin76@gentoo.org> libunwind-0.99-r1.ebuild:
ia64 stable wrt #318613
diff --git a/sys-libs/libunwind/Manifest b/sys-libs/libunwind/Manifest
index c4c600c444d2..a2f891eac448 100644
--- a/sys-libs/libunwind/Manifest
+++ b/sys-libs/libunwind/Manifest
@@ -1,7 +1,17 @@
+-----BEGIN PGP SIGNED MESSAGE-----
+Hash: SHA256
+
AUX libunwind-0.99-disable-setjmp.patch 8566 RMD160 56d373ca810a237388f6a7c156a64cc223899a8b SHA1 619744fbc19ac0fac93059e21fb6647f03dc2b7d SHA256 d9cce99c7e53414b7c364c1e1fd14332bc9d2decae26750244af166d6fb820ef
AUX libunwind-0.99-implicit-declaration.patch 486 RMD160 0e1e3d5f4665bcf3ac049ded1928b17c8ae7f2df SHA1 3bd36046e74524f009dcda5b96ad298262d9ad65 SHA256 f8f72c6160c6741ea2a3d251662fe3d8ecd63bfcf488527838e6d95e4dddd2a1
DIST libunwind-0.99.tar.gz 711817 RMD160 d51876e9db75c5d456a3a2a4651f027a0a0e8930 SHA1 2969f68f27b2ede08ae129178a9b393f92be73d2 SHA256 56083aae17eab3ccb7a36b95f0430f5a5f258755bf193bb5ca4fd4b918356164
-EBUILD libunwind-0.99-r1.ebuild 878 RMD160 1f8361efd01a7c368dc408721d1a97d2ae432ef4 SHA1 0738189b3dbeb7a6c6fad18b629df05568f89140 SHA256 b3ef8ad3f8b406f55053580528e914c7f1e33007277b78d9c0d02095bfbeda1f
+EBUILD libunwind-0.99-r1.ebuild 1103 RMD160 3ee34667f6aff1dd5c80f0e938412ffc43c3f8fa SHA1 9930e2a3fd722c1f0e1864ce0ed84daa6f087897 SHA256 c7d2344f6dfd0d1267872210318faf2eb661ef2ff9744629c134cf33d24831f7
EBUILD libunwind-0.99.ebuild 792 RMD160 3b0a257dfdc1af83907b2cbf91343db2724d7536 SHA1 9da7870302c91974e15836a5e9ddf283b8795ec8 SHA256 da2cc22e66858da94303010dedc8f2d3a71bd5bbd9ea6e48442285980a0bfc64
-MISC ChangeLog 1869 RMD160 802f5b0c0fdf47f961cdeb52378b6ef1da5c6f8c SHA1 cfd5721598a7a44d6b6e162a12f8c9370312c824 SHA256 93f0559a2114026ebb0aa7cb3286ec8dd9e6c4ed4c173b9ece25e443e61184e3
+MISC ChangeLog 2009 RMD160 0ab3b6d154bb8d842a2370336a5f63ffb3191359 SHA1 7df39c57e72a1fccb030b3b3cc6745f48225069e SHA256 c76e489f8052b59ced8d6570653076038e2aa003f2c8abed73e949769c015f87
MISC metadata.xml 162 RMD160 d002486a43522f2116b1d9d59828c484956d66e2 SHA1 d6b4923897f6ae673b4f93646f5b4ba61d5a2c3c SHA256 65a915d44de1f01d4b7f72d313b4192c38374a9835d24988c00c1e73dca5805a
+-----BEGIN PGP SIGNATURE-----
+Version: GnuPG v2.0.17 (GNU/Linux)
+
+iF4EAREIAAYFAk46pZ4ACgkQXkR9YqOcLPGODQEAovkbZZ+CnR4wFjxvz6DuNVF7
+hHIAus62YLYc2Of5j6gBAI9dsUoBcjXIcPj8LBPODdaOZZ48DqF4rfoD5Qp5qpQI
+=TUMe
+-----END PGP SIGNATURE-----
diff --git a/sys-libs/libunwind/libunwind-0.99-r1.ebuild b/sys-libs/libunwind/libunwind-0.99-r1.ebuild
index d6cfb55997eb..bc1c7797cee3 100644
--- a/sys-libs/libunwind/libunwind-0.99-r1.ebuild
+++ b/sys-libs/libunwind/libunwind-0.99-r1.ebuild
@@ -1,7 +1,8 @@
-# Copyright 1999-2010 Gentoo Foundation
+# Copyright 1999-2011 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-libs/libunwind/libunwind-0.99-r1.ebuild,v 1.4 2010/05/19 20:27:30 armin76 Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-libs/libunwind/libunwind-0.99-r1.ebuild,v 1.5 2011/08/04 14:01:47 ssuominen Exp $
+EAPI=4
inherit autotools eutils
DESCRIPTION="Portable and efficient API to determine the call-chain of a program"
@@ -11,20 +12,27 @@ SRC_URI="http://download.savannah.nongnu.org/releases/libunwind/${P}.tar.gz"
LICENSE="MIT"
SLOT="7"
KEYWORDS="amd64 ia64 x86"
-IUSE=""
+IUSE="static-libs"
RESTRICT="test" # https://savannah.nongnu.org/bugs/?22368
# https://bugs.gentoo.org/273372
-src_unpack() {
- unpack ${A}
- cd "${S}"
- epatch "${FILESDIR}"/${P}-disable-setjmp.patch \
+DOCS=( AUTHORS ChangeLog NEWS README TODO )
+
+src_prepare() {
+ epatch \
+ "${FILESDIR}"/${P}-disable-setjmp.patch \
"${FILESDIR}"/${P}-implicit-declaration.patch
eautoreconf
}
+src_configure() {
+ econf $(use_enable static-libs static)
+}
+
src_install() {
- emake install DESTDIR="${D}" || die
- dodoc AUTHORS ChangeLog NEWS README TODO
+ default
+ # libunwind-ptrace.a (and libunwind-ptrace.h) is separate API and without
+ # shared library, so we keep it in any case
+ use static-libs || rm -f "${D}"usr/lib*/libunwind{-generic.a,*.la}
}