summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTiziano Müller <dev-zero@gentoo.org>2007-07-12 22:00:32 +0000
committerTiziano Müller <dev-zero@gentoo.org>2007-07-12 22:00:32 +0000
commitc3750342559b8ffbe2e650569b32d919c5b0cb9c (patch)
treea1a2a27ed7fefbec796c1029a24075566b143ad3 /dev-libs/ace
parentVerbump fixes #171884 and #180510 (diff)
downloadhistorical-c3750342559b8ffbe2e650569b32d919c5b0cb9c.tar.gz
historical-c3750342559b8ffbe2e650569b32d919c5b0cb9c.tar.bz2
historical-c3750342559b8ffbe2e650569b32d919c5b0cb9c.zip
Cosmetic cleanup, fixed bug #169647
Package-Manager: portage-2.1.3_rc8
Diffstat (limited to 'dev-libs/ace')
-rw-r--r--dev-libs/ace/ChangeLog5
-rw-r--r--dev-libs/ace/Manifest16
-rw-r--r--dev-libs/ace/ace-5.5.8.ebuild66
3 files changed, 48 insertions, 39 deletions
diff --git a/dev-libs/ace/ChangeLog b/dev-libs/ace/ChangeLog
index ab0c0371b5af..74ab32c453df 100644
--- a/dev-libs/ace/ChangeLog
+++ b/dev-libs/ace/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for dev-libs/ace
# Copyright 2002-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-libs/ace/ChangeLog,v 1.47 2007/06/22 22:24:51 dragonheart Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-libs/ace/ChangeLog,v 1.48 2007/07/12 22:00:32 dev-zero Exp $
+
+ 12 Jul 2007; Tiziano Müller <dev-zero@gentoo.org> ace-5.5.8.ebuild:
+ Cosmetic cleanup, fixed bug #169647
*ace-5.5.8 (22 Jun 2007)
diff --git a/dev-libs/ace/Manifest b/dev-libs/ace/Manifest
index 567a86f48eb1..78ebf3cd4ae9 100644
--- a/dev-libs/ace/Manifest
+++ b/dev-libs/ace/Manifest
@@ -12,14 +12,14 @@ EBUILD ace-5.5.3-r2.ebuild 2248 RMD160 8907c085dfafeaf2de68bc5d1113fae1c5f1a549
MD5 3786326976f13e100cb19eb32ec4b89a ace-5.5.3-r2.ebuild 2248
RMD160 8907c085dfafeaf2de68bc5d1113fae1c5f1a549 ace-5.5.3-r2.ebuild 2248
SHA256 5d99eb074cf8145436f65e0f516d0c489284151990e0836249ff546671414c9f ace-5.5.3-r2.ebuild 2248
-EBUILD ace-5.5.8.ebuild 1973 RMD160 44a94251fb281c925c9c45dd3885f70166790d0b SHA1 6e9d293ab87dd4c3f70c1c9818986dfa87d8af6b SHA256 72aeb250f37b65c850308863b63e856063910dd4290af5f69223b26362e41016
-MD5 83ebd16d94602d184897370dcd218cbd ace-5.5.8.ebuild 1973
-RMD160 44a94251fb281c925c9c45dd3885f70166790d0b ace-5.5.8.ebuild 1973
-SHA256 72aeb250f37b65c850308863b63e856063910dd4290af5f69223b26362e41016 ace-5.5.8.ebuild 1973
-MISC ChangeLog 5781 RMD160 dd33230e75f30fc80fe76bf1e9cb3369e3c50f8e SHA1 58ceaed9756f0e929de4c2795cd33466a86a2364 SHA256 6028298ed6e501e009ce23946261b60d07c5dc42817e15dfae1cfa8d0d23ad76
-MD5 c85071f2bf81ab33b77f6ef89669687b ChangeLog 5781
-RMD160 dd33230e75f30fc80fe76bf1e9cb3369e3c50f8e ChangeLog 5781
-SHA256 6028298ed6e501e009ce23946261b60d07c5dc42817e15dfae1cfa8d0d23ad76 ChangeLog 5781
+EBUILD ace-5.5.8.ebuild 2185 RMD160 bf8194ba4d908bac34c619466393c899e208abbd SHA1 4cc20cdd845869599f1b5100d3f258e5dd76d02c SHA256 64bf4cd06e67280537dc2de81850a05759a7916a9bd9222af9729eadca295f18
+MD5 aa84be0ae953e9b3820b46a7c701795f ace-5.5.8.ebuild 2185
+RMD160 bf8194ba4d908bac34c619466393c899e208abbd ace-5.5.8.ebuild 2185
+SHA256 64bf4cd06e67280537dc2de81850a05759a7916a9bd9222af9729eadca295f18 ace-5.5.8.ebuild 2185
+MISC ChangeLog 5888 RMD160 96b957250d483dc7cf0d1fc3bb8ccc331fa1a3c9 SHA1 89340b3dbe25d484c55777889416cb12cd19b5c2 SHA256 8eadf9559400fd2008f23543ef00e19c4a4255d663ec8e6c5e7a4777f83b7dca
+MD5 7e53577f093f3ba919cb155402a6170e ChangeLog 5888
+RMD160 96b957250d483dc7cf0d1fc3bb8ccc331fa1a3c9 ChangeLog 5888
+SHA256 8eadf9559400fd2008f23543ef00e19c4a4255d663ec8e6c5e7a4777f83b7dca ChangeLog 5888
MISC metadata.xml 498 RMD160 9fa238ee9626dc5367cfea540e09ddab03e28987 SHA1 6624d6c6dceaee1f8ee7b43379201bd979fbd2e4 SHA256 328dbc3435f54440a3e41f68f89abbda2b6f819b06d6b6fe7cad4a79d1d513d6
MD5 217e2c83ae11650476c0e06e4d4b9abc metadata.xml 498
RMD160 9fa238ee9626dc5367cfea540e09ddab03e28987 metadata.xml 498
diff --git a/dev-libs/ace/ace-5.5.8.ebuild b/dev-libs/ace/ace-5.5.8.ebuild
index c4b36137f688..5124a6d43599 100644
--- a/dev-libs/ace/ace-5.5.8.ebuild
+++ b/dev-libs/ace/ace-5.5.8.ebuild
@@ -1,22 +1,18 @@
# Copyright 1999-2007 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-libs/ace/ace-5.5.8.ebuild,v 1.3 2007/07/12 02:25:34 mr_bones_ Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-libs/ace/ace-5.5.8.ebuild,v 1.4 2007/07/12 22:00:32 dev-zero Exp $
-S="${WORKDIR}/ACE_wrappers"
-DESCRIPTION="The Adaptive Communications Environment"
-SRC_URI="!tao? (
- http://download.dre.vanderbilt.edu/previous_versions/ACE-${PV}.tar.bz2 )
- tao? ( !ciao? (
- http://download.dre.vanderbilt.edu/previous_versions/ACE+TAO-${PV}.tar.bz2 )
- ciao? (
- http://download.dre.vanderbilt.edu/previous_versions/ACE+TAO+CIAO-${PV}.tar.bz2
- )
- )"
+inherit toolchain-funcs
+DESCRIPTION="The Adaptive Communications Environment"
HOMEPAGE="http://www.cs.wustl.edu/~schmidt/ACE.html"
-
-SLOT="0"
+SRC_URI="!tao? ( http://download.dre.vanderbilt.edu/previous_versions/ACE-${PV}.tar.bz2 )
+ tao? (
+ !ciao? ( http://download.dre.vanderbilt.edu/previous_versions/ACE+TAO-${PV}.tar.bz2 )
+ ciao? ( http://download.dre.vanderbilt.edu/previous_versions/ACE+TAO+CIAO-${PV}.tar.bz2 )
+ )"
LICENSE="BSD as-is"
+SLOT="0"
KEYWORDS="~x86 ~sparc ~ppc ~alpha ~amd64"
IUSE="X ipv6 tao ciao"
@@ -35,40 +31,50 @@ DEPEND="${COMMON_DEPEND}
virtual/x11 )
)"
+S="${WORKDIR}/ACE_wrappers"
+
src_compile() {
export ACE_ROOT="${S}"
mkdir build
cd build
+
+ # This disables a silly test which fills the memory
+ # waiting for a bad_alloc exception and happily
+ # leaking memory (bug #169647)
+ export ace_cv_new_throws_bad_alloc_exception="yes"
+
ECONF_SOURCE="${S}"
- econf --enable-lib-all $(use_with X) $(use_enable ipv6) || \
- die "econf died"
+ econf \
+ --enable-lib-all \
+ $(use_with X) \
+ $(use_enable ipv6) \
+ || die "econf died"
# --with-qos needs ACE_HAS_RAPI
- emake static_libs=1 || die
-}
-
-src_test() {
- cd "${S}"/build
- make ACE_ROOT=${S} check || die "self test failed"
+ emake static_libs=1 || die "emake failed"
}
src_install() {
cd build
- make ACE_ROOT="${S}" DESTDIR="${D}" install || die "failed to install"
+ emake ACE_ROOT="${S}" DESTDIR="${D}" install || die "failed to install"
insinto /usr/include/ace
- doins "${S}"/ace/OS.inl
- doins "${S}"/ace/Select_Reactor.h
+ doins "${S}/ace/OS.inl"
+ doins "${S}/ace/Select_Reactor.h"
# punt gperf stuff
- rm -rf "${D}"/usr/bin "${D}"/usr/share
+ rm -rf "${D}/usr/bin" "${D}/usr/share"
+}
+
+src_test() {
+ cd "${S}/build"
+ emake ACE_ROOT="${S}" check || die "self test failed"
}
pkg_postinst() {
# This is required, as anything trying to compile against ACE will have
# problems with conflicting OS.h files if this is not done.
- local CC_MACHINE=`gcc -dumpmachine`
- local CC_VERSION=`gcc -dumpversion`
- if [ -d "/usr/lib/gcc-lib/${CC_MACHINE}/${CC_VERSION}/include/ace" ]; then
- mv "/usr/lib/gcc-lib/${CC_MACHINE}/${CC_VERSION}/include/ace" \
- "/usr/lib/gcc-lib/${CC_MACHINE}/${CC_VERSION}/include/ace.old"
+ local CC_MACHINE=$($(tc-getCC) -dumpmachine)
+ if [ -d "/usr/lib/gcc-lib/${CC_MACHINE}/$(gcc-fullversion)/include/ace" ]; then
+ mv "/usr/lib/gcc-lib/${CC_MACHINE}/$(gcc-fullversion)/include/ace" \
+ "/usr/lib/gcc-lib/${CC_MACHINE}/$(gcc-fullversion)/include/ace.old"
fi
}