summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Black <dragonheart@gentoo.org>2007-10-07 19:52:58 +0000
committerDaniel Black <dragonheart@gentoo.org>2007-10-07 19:52:58 +0000
commit97bd67920ef5cf54347a26fc20890928e2cd4780 (patch)
tree61020e111645ea40b42531c7d99ec12df0a26c27 /dev-libs/ace
parentVersion bump and fix libpng linkage #194958 by Leong Seh Hui. (diff)
downloadgentoo-2-97bd67920ef5cf54347a26fc20890928e2cd4780.tar.gz
gentoo-2-97bd67920ef5cf54347a26fc20890928e2cd4780.tar.bz2
gentoo-2-97bd67920ef5cf54347a26fc20890928e2cd4780.zip
version bump
(Portage version: 2.1.3.9)
Diffstat (limited to 'dev-libs/ace')
-rw-r--r--dev-libs/ace/ChangeLog7
-rw-r--r--dev-libs/ace/ace-5.6.1.ebuild73
-rw-r--r--dev-libs/ace/files/digest-ace-5.6.19
3 files changed, 88 insertions, 1 deletions
diff --git a/dev-libs/ace/ChangeLog b/dev-libs/ace/ChangeLog
index a55a30084e86..511a1979580e 100644
--- a/dev-libs/ace/ChangeLog
+++ b/dev-libs/ace/ChangeLog
@@ -1,6 +1,11 @@
# 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.50 2007/07/22 08:33:04 graaff Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-libs/ace/ChangeLog,v 1.51 2007/10/07 19:52:58 dragonheart Exp $
+
+*ace-5.6.1 (07 Oct 2007)
+
+ 07 Oct 2007; Daniel Black <dragonheart@gentoo.org> +ace-5.6.1.ebuild:
+ version bump
22 Jul 2007; Hans de Graaff <graaff@gentoo.org> ace-5.5-r1.ebuild,
ace-5.5.8.ebuild, ace-5.5.9.ebuild:
diff --git a/dev-libs/ace/ace-5.6.1.ebuild b/dev-libs/ace/ace-5.6.1.ebuild
new file mode 100644
index 000000000000..5855bdb108a9
--- /dev/null
+++ b/dev-libs/ace/ace-5.6.1.ebuild
@@ -0,0 +1,73 @@
+# 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.6.1.ebuild,v 1.1 2007/10/07 19:52:58 dragonheart Exp $
+
+inherit toolchain-funcs
+
+DESCRIPTION="The Adaptive Communications Environment"
+HOMEPAGE="http://www.cs.wustl.edu/~schmidt/ACE.html"
+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"
+
+COMMON_DEPEND="dev-libs/openssl"
+# TODO probably more
+RDEPEND="${COMMON_DEPEND}
+ X? ( x11-libs/libXt x11-libs/libXaw )"
+
+DEPEND="${COMMON_DEPEND}
+ X? ( x11-proto/xproto )"
+
+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"
+ # --with-qos needs ACE_HAS_RAPI
+ emake static_libs=1 || die "emake failed"
+}
+
+src_install() {
+ cd build
+ 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"
+ # punt gperf stuff
+ 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=$($(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
+}
diff --git a/dev-libs/ace/files/digest-ace-5.6.1 b/dev-libs/ace/files/digest-ace-5.6.1
new file mode 100644
index 000000000000..5e1c87ded29e
--- /dev/null
+++ b/dev-libs/ace/files/digest-ace-5.6.1
@@ -0,0 +1,9 @@
+MD5 c03f0eef1507f2d198a6b8846201fe53 ACE+TAO+CIAO-5.6.1.tar.bz2 24590534
+RMD160 2ab740d3efd3b0b804ccec9c5af4ac8762afc237 ACE+TAO+CIAO-5.6.1.tar.bz2 24590534
+SHA256 3c8b70de975189abbdd0f27dec98b14b11d972185763aa3720ef1fe444c437b5 ACE+TAO+CIAO-5.6.1.tar.bz2 24590534
+MD5 f6f967698ccf86e7bd43ec05acfa52be ACE+TAO-5.6.1.tar.bz2 20388344
+RMD160 ced8ec06cea29fe72bd386c8d302b8f0813bbebe ACE+TAO-5.6.1.tar.bz2 20388344
+SHA256 b64257b0478949065385943915e26a49641f1fb1ca9d8f5dbf823545a916d0b6 ACE+TAO-5.6.1.tar.bz2 20388344
+MD5 7c9322b8035130e3056c20f94d2a453b ACE-5.6.1.tar.bz2 7907583
+RMD160 644c6f58a33b9458b2eafe92578287a9d89cfc96 ACE-5.6.1.tar.bz2 7907583
+SHA256 211a2448de16b0425b2d53ab6609829976b9cd55406699e97f863b6e9ff1f345 ACE-5.6.1.tar.bz2 7907583