From 5547d875e5b512a459778294090414f581ae68ae Mon Sep 17 00:00:00 2001 From: Daniel Black Date: Fri, 20 Jun 2008 14:21:27 +0000 Subject: version bump inspired by bug #227533. removed old unstable version (Portage version: 2.1.4.4) --- dev-libs/ace/ChangeLog | 10 ++++-- dev-libs/ace/ace-5.5.9.ebuild | 73 ----------------------------------------- dev-libs/ace/ace-5.6.5.ebuild | 76 +++++++++++++++++++++++++++++++++++++++++++ 3 files changed, 84 insertions(+), 75 deletions(-) delete mode 100644 dev-libs/ace/ace-5.5.9.ebuild create mode 100644 dev-libs/ace/ace-5.6.5.ebuild (limited to 'dev-libs') diff --git a/dev-libs/ace/ChangeLog b/dev-libs/ace/ChangeLog index 7a6bbd3c8533..09d18419445c 100644 --- a/dev-libs/ace/ChangeLog +++ b/dev-libs/ace/ChangeLog @@ -1,6 +1,12 @@ # 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.52 2007/10/08 09:06:40 dragonheart Exp $ +# Copyright 2002-2008 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/dev-libs/ace/ChangeLog,v 1.53 2008/06/20 14:21:27 dragonheart Exp $ + +*ace-5.6.5 (20 Jun 2008) + + 20 Jun 2008; Daniel Black -ace-5.5.9.ebuild, + +ace-5.6.5.ebuild: + version bump inspired by bug #227533. removed old unstable version 08 Oct 2007; Daniel Black ace-5.5-r1.ebuild, -ace-5.5.8.ebuild, ace-5.6.1.ebuild: diff --git a/dev-libs/ace/ace-5.5.9.ebuild b/dev-libs/ace/ace-5.5.9.ebuild deleted file mode 100644 index 6ca840e58709..000000000000 --- a/dev-libs/ace/ace-5.5.9.ebuild +++ /dev/null @@ -1,73 +0,0 @@ -# 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.9.ebuild,v 1.2 2007/07/22 08:33:04 graaff 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/ace-5.6.5.ebuild b/dev-libs/ace/ace-5.6.5.ebuild new file mode 100644 index 000000000000..900b54ea60c5 --- /dev/null +++ b/dev-libs/ace/ace-5.6.5.ebuild @@ -0,0 +1,76 @@ +# Copyright 1999-2008 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-libs/ace/ace-5.6.5.ebuild,v 1.1 2008/06/20 14:21:27 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" + sed -i -e "^#define PACKAGE_.*//g" /usr/include/ace/config.h +} + +pkg_postinst() { + + local CC_MACHINE=$($(tc-getCC) -dumpmachine) + if [ -d "/usr/$(get_libdir)/gcc-lib/${CC_MACHINE}/$(gcc-fullversion)/include/ace" ]; then + ewarn "moving /usr/$(get_libdir)/gcc-lib/${CC_MACHINE}/$(gcc-fullversion)/include/ace to" + ewarn "ace.old" + ewarn "This is required, as anything trying to compile against ACE will" + ewarn "have problems with conflicting OS.h files if this is not done." + mv "/usr/$(get_libdir)/gcc-lib/${CC_MACHINE}/$(gcc-fullversion)/include/ace" \ + "/usr/$(get_libdir)/gcc-lib/${CC_MACHINE}/$(gcc-fullversion)/include/ace.old" + fi +} -- cgit v1.2.3-65-gdbad