summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDiego Elio Pettenò <flameeyes@gentoo.org>2006-04-21 17:00:33 +0000
committerDiego Elio Pettenò <flameeyes@gentoo.org>2006-04-21 17:00:33 +0000
commit178a5c2cfb16255966a55cf70a3e7c1ccb533298 (patch)
tree0caa5d8527ed7157647dcd5e9de313b926eeb621 /dev-util/cppunit
parentppc stable, bug #128107 (diff)
downloadhistorical-178a5c2cfb16255966a55cf70a3e7c1ccb533298.tar.gz
historical-178a5c2cfb16255966a55cf70a3e7c1ccb533298.tar.bz2
historical-178a5c2cfb16255966a55cf70a3e7c1ccb533298.zip
Add patch to allow linking with --as-needed. Bug #130199.
Package-Manager: portage-2.1_pre7-r5
Diffstat (limited to 'dev-util/cppunit')
-rw-r--r--dev-util/cppunit/ChangeLog6
-rw-r--r--dev-util/cppunit/Manifest25
-rw-r--r--dev-util/cppunit/cppunit-1.10.2.ebuild9
-rw-r--r--dev-util/cppunit/files/cppunit-1.10.2-asneeded.patch10
4 files changed, 41 insertions, 9 deletions
diff --git a/dev-util/cppunit/ChangeLog b/dev-util/cppunit/ChangeLog
index e0e156e65ba2..77f8e2c5dabb 100644
--- a/dev-util/cppunit/ChangeLog
+++ b/dev-util/cppunit/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for dev-util/cppunit
# Copyright 2002-2006 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-util/cppunit/ChangeLog,v 1.15 2006/04/02 13:24:25 george Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-util/cppunit/ChangeLog,v 1.16 2006/04/21 17:00:33 flameeyes Exp $
+
+ 21 Apr 2006; Diego Pettenò <flameeyes@gentoo.org>
+ +files/cppunit-1.10.2-asneeded.patch, cppunit-1.10.2.ebuild:
+ Add patch to allow linking with --as-needed. Bug #130199.
02 Apr 2006; George Shapovalov <george@gentoo.org> cppunit-1.10.2.ebuild:
fixed dependencies - graphviz is only needed for docs(#125723). Thanks to
diff --git a/dev-util/cppunit/Manifest b/dev-util/cppunit/Manifest
index 7acbcd554cb1..e5c80a11c331 100644
--- a/dev-util/cppunit/Manifest
+++ b/dev-util/cppunit/Manifest
@@ -1,12 +1,18 @@
-MD5 8d629ed83c3b4f0f259cf325dd23174d ChangeLog 1803
-RMD160 050c9170e66424d17fdeea643edcb7fa53ec6e76 ChangeLog 1803
-SHA256 8bcd16788a6801b2730f6ec296304aa674756ebdd43ee00a4a43b52d8b972b36 ChangeLog 1803
-MD5 510dbd3391ed4e66a31542b475fccb0f cppunit-1.10.2.ebuild 1055
-RMD160 014365140ffb65d912231ac0cbd08dfe3e7f6b7c cppunit-1.10.2.ebuild 1055
-SHA256 afd62325cc02cea99f7d2ce91d7cd15d56310328aba3ec0c7d5a81a2989cdf36 cppunit-1.10.2.ebuild 1055
+-----BEGIN PGP SIGNED MESSAGE-----
+Hash: SHA1
+
+MD5 d150eaff4f6e7f123d2d9a5f0fda3197 ChangeLog 1983
+RMD160 e23b99e159e7db673a6777eb9371829b9df1fd39 ChangeLog 1983
+SHA256 a4a7d529f2224c2f3a209c8f179398ec0ed47869c51363a8bfa1cdfafede26d7 ChangeLog 1983
+MD5 550ecf4b6ff04ee2f392639a60abc78f cppunit-1.10.2.ebuild 1169
+RMD160 c29b4a1d017e26889a0951128975a61841c395c9 cppunit-1.10.2.ebuild 1169
+SHA256 b39827a2ffdb41973a89e5cde8d03e915db91fc8e6da926f8ebd4ff609271b7a cppunit-1.10.2.ebuild 1169
MD5 2088e693ce5dc24d9d17c07ab0abe304 cppunit-1.8.0.ebuild 915
RMD160 83c8c6d612951391a797442c308620cfadd2a755 cppunit-1.8.0.ebuild 915
SHA256 acc27555c6904fe33b42727789eefe180fa5fb5d970e365139fd0d46f98e169f cppunit-1.8.0.ebuild 915
+MD5 7cdb8653792f50918dbc7abf14e4eccb files/cppunit-1.10.2-asneeded.patch 396
+RMD160 7bdcc185b259259e5bb0030bdd62d71ba42525be files/cppunit-1.10.2-asneeded.patch 396
+SHA256 024975af5f8917ba6c0f23fb94e14d3b8ec5a24fb6c4b334b67a1a50c26a3a64 files/cppunit-1.10.2-asneeded.patch 396
MD5 5a6b916219a39b44961b68d66037912c files/cppunit-1.10.2-m4.patch 304
RMD160 72b990bc57fd6a5a5e935a4e3f609774766d351e files/cppunit-1.10.2-m4.patch 304
SHA256 04501c0cb5bda58216ae697441cbfe1cb2ecb17358536445a46d907f5004bb2f files/cppunit-1.10.2-m4.patch 304
@@ -19,3 +25,10 @@ SHA256 48a73ea32e146672f3392fda07f095bafd5c1780fb8859e8dfdfd25e65f6727f files/di
MD5 c4c708e3dc384f836a21bfea63ae3288 metadata.xml 162
RMD160 359e0d4ecc394cc3fb84227087c1a518d9e6c347 metadata.xml 162
SHA256 444ece0c3cb4908c78c6588147078383d3636d1b3da9a20111ec03c5640eefdb metadata.xml 162
+-----BEGIN PGP SIGNATURE-----
+Version: GnuPG v1.4.2.2 (GNU/Linux)
+
+iD8DBQFESQ8DAiZjviIA2XgRApc7AKCp+TVWgKHjmTMPuLPlwgWx+EeOvgCgvJHQ
+18OX+I+MhrgWQ7HQquhxPQw=
+=UQDD
+-----END PGP SIGNATURE-----
diff --git a/dev-util/cppunit/cppunit-1.10.2.ebuild b/dev-util/cppunit/cppunit-1.10.2.ebuild
index 0de6d8365fd6..297b60e2e872 100644
--- a/dev-util/cppunit/cppunit-1.10.2.ebuild
+++ b/dev-util/cppunit/cppunit-1.10.2.ebuild
@@ -1,8 +1,8 @@
# Copyright 1999-2006 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-util/cppunit/cppunit-1.10.2.ebuild,v 1.12 2006/04/02 13:24:25 george Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-util/cppunit/cppunit-1.10.2.ebuild,v 1.13 2006/04/21 17:00:33 flameeyes Exp $
-inherit eutils
+inherit eutils autotools
DESCRIPTION="C++ port of the famous JUnit framework for unit testing"
HOMEPAGE="http://cppunit.sourceforge.net/"
@@ -16,11 +16,16 @@ RESTRICT="test"
DEPEND="doc? ( app-doc/doxygen
media-gfx/graphviz )"
+RDEPEND=""
src_unpack() {
unpack ${A}
cd "${S}"
epatch "${FILESDIR}"/${P}-m4.patch
+ epatch "${FILESDIR}/${P}-asneeded.patch"
+ AT_M4DIR="${S}/config" eautomake
+
+ elibtoolize
}
src_compile() {
diff --git a/dev-util/cppunit/files/cppunit-1.10.2-asneeded.patch b/dev-util/cppunit/files/cppunit-1.10.2-asneeded.patch
new file mode 100644
index 000000000000..068414f33580
--- /dev/null
+++ b/dev-util/cppunit/files/cppunit-1.10.2-asneeded.patch
@@ -0,0 +1,10 @@
+Index: cppunit-1.10.2/src/cppunit/Makefile.am
+===================================================================
+--- cppunit-1.10.2.orig/src/cppunit/Makefile.am
++++ cppunit-1.10.2/src/cppunit/Makefile.am
+@@ -64,4 +64,5 @@ libcppunit_la_SOURCES = \
+ libcppunit_la_LDFLAGS= \
+ -version-info $(LT_CURRENT):$(LT_REVISION):$(LT_AGE) \
+ -release $(LT_RELEASE)
++libcppunit_la_LIBADD = $(LIBADD_DL)
+