From: | "Patrick Lauer (patrick)" <patrick@g.o> |
---|---|
To: | gentoo-commits@l.g.o |
Subject: | [gentoo-commits] gentoo-x86 commit in dev-libs/ace: ace-5.7.2.ebuild ChangeLog |
Date: | Tue, 01 Sep 2009 04:27:18 |
Message-Id: | E1MiPmX-0002Vf-4m@stork.gentoo.org |
1 | patrick 09/09/01 09:36:05 |
2 | |
3 | Modified: ChangeLog |
4 | Added: ace-5.7.2.ebuild |
5 | Log: |
6 | Bump to 5.7.2, fixes #281651. Thanks to Priit Laes for the ebuild patch. |
7 | (Portage version: 2.2_rc40/cvs/Linux x86_64) |
8 | |
9 | Revision Changes Path |
10 | 1.58 dev-libs/ace/ChangeLog |
11 | |
12 | file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-libs/ace/ChangeLog?rev=1.58&view=markup |
13 | plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-libs/ace/ChangeLog?rev=1.58&content-type=text/plain |
14 | diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-libs/ace/ChangeLog?r1=1.57&r2=1.58 |
15 | |
16 | Index: ChangeLog |
17 | =================================================================== |
18 | RCS file: /var/cvsroot/gentoo-x86/dev-libs/ace/ChangeLog,v |
19 | retrieving revision 1.57 |
20 | retrieving revision 1.58 |
21 | diff -u -r1.57 -r1.58 |
22 | --- ChangeLog 14 Dec 2008 11:56:46 -0000 1.57 |
23 | +++ ChangeLog 1 Sep 2009 09:36:04 -0000 1.58 |
24 | @@ -1,6 +1,11 @@ |
25 | # ChangeLog for dev-libs/ace |
26 | -# Copyright 2002-2008 Gentoo Foundation; Distributed under the GPL v2 |
27 | -# $Header: /var/cvsroot/gentoo-x86/dev-libs/ace/ChangeLog,v 1.57 2008/12/14 11:56:46 mrness Exp $ |
28 | +# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2 |
29 | +# $Header: /var/cvsroot/gentoo-x86/dev-libs/ace/ChangeLog,v 1.58 2009/09/01 09:36:04 patrick Exp $ |
30 | + |
31 | +*ace-5.7.2 (01 Sep 2009) |
32 | + |
33 | + 01 Sep 2009; Patrick Lauer <patrick@g.o> +ace-5.7.2.ebuild: |
34 | + Bump to 5.7.2, fixes #281651. Thanks to Priit Laes for the ebuild patch. |
35 | |
36 | *ace-5.6.5-r2 (14 Dec 2008) |
37 | |
38 | |
39 | |
40 | |
41 | 1.1 dev-libs/ace/ace-5.7.2.ebuild |
42 | |
43 | file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-libs/ace/ace-5.7.2.ebuild?rev=1.1&view=markup |
44 | plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-libs/ace/ace-5.7.2.ebuild?rev=1.1&content-type=text/plain |
45 | |
46 | Index: ace-5.7.2.ebuild |
47 | =================================================================== |
48 | # Copyright 1999-2009 Gentoo Foundation |
49 | # Distributed under the terms of the GNU General Public License v2 |
50 | # $Header: /var/cvsroot/gentoo-x86/dev-libs/ace/ace-5.7.2.ebuild,v 1.1 2009/09/01 09:36:04 patrick Exp $ |
51 | |
52 | inherit toolchain-funcs eutils |
53 | |
54 | DESCRIPTION="The Adaptive Communications Environment" |
55 | HOMEPAGE="http://www.cs.wustl.edu/~schmidt/ACE.html" |
56 | SRC_URI="!tao? ( http://download.dre.vanderbilt.edu/previous_versions/ACE-${PV}.tar.bz2 ) |
57 | tao? ( |
58 | !ciao? ( http://download.dre.vanderbilt.edu/previous_versions/ACE+TAO-${PV}.tar.bz2 ) |
59 | ciao? ( http://download.dre.vanderbilt.edu/previous_versions/ACE+TAO+CIAO-${PV}.tar.bz2 ) |
60 | )" |
61 | LICENSE="BSD as-is" |
62 | SLOT="0" |
63 | KEYWORDS="~x86 ~sparc ~ppc ~alpha ~amd64" |
64 | IUSE="X ipv6 tao ciao" |
65 | |
66 | COMMON_DEPEND="dev-libs/openssl" |
67 | # TODO probably more |
68 | RDEPEND="${COMMON_DEPEND} |
69 | X? ( x11-libs/libXt x11-libs/libXaw )" |
70 | |
71 | DEPEND="${COMMON_DEPEND} |
72 | X? ( x11-proto/xproto )" |
73 | |
74 | S="${WORKDIR}/ACE_wrappers" |
75 | |
76 | src_compile() { |
77 | export ACE_ROOT="${S}" |
78 | mkdir build |
79 | cd build |
80 | |
81 | ECONF_SOURCE="${S}" |
82 | econf \ |
83 | --enable-lib-all \ |
84 | $(use_with X) \ |
85 | $(use_enable ipv6) \ |
86 | || die "econf died" |
87 | # --with-qos needs ACE_HAS_RAPI |
88 | emake static_libs=1 || die "emake failed" |
89 | } |
90 | |
91 | src_install() { |
92 | cd build |
93 | emake ACE_ROOT="${S}" DESTDIR="${D}" install || die "failed to install" |
94 | # punt gperf stuff |
95 | rm -rf "${D}/usr/bin" "${D}/usr/share" |
96 | # remove PACKAGE_* definitions from installed config.h (#192676) |
97 | sed -i -e "s:^[ \t]*#define[ \t]\+PACKAGE_.*$:/\* & \*/:g" "${D}/usr/include/ace/config.h" |
98 | |
99 | # Install some docs |
100 | cd "${S}" |
101 | dodoc README NEWS ChangeLog AUTHORS VERSION Release || die |
102 | } |
103 | |
104 | src_test() { |
105 | cd "${S}/build" |
106 | emake ACE_ROOT="${S}" check || die "self test failed" |
107 | } |
108 | |
109 | pkg_postinst() { |
110 | |
111 | local CC_MACHINE=$($(tc-getCC) -dumpmachine) |
112 | if [ -d "/usr/$(get_libdir)/gcc-lib/${CC_MACHINE}/$(gcc-fullversion)/include/ace" ]; then |
113 | ewarn "moving /usr/$(get_libdir)/gcc-lib/${CC_MACHINE}/$(gcc-fullversion)/include/ace to" |
114 | ewarn "ace.old" |
115 | ewarn "This is required, as anything trying to compile against ACE will" |
116 | ewarn "have problems with conflicting OS.h files if this is not done." |
117 | mv "/usr/$(get_libdir)/gcc-lib/${CC_MACHINE}/$(gcc-fullversion)/include/ace" \ |
118 | "/usr/$(get_libdir)/gcc-lib/${CC_MACHINE}/$(gcc-fullversion)/include/ace.old" |
119 | fi |
120 | } |