From: | "Tiziano Mueller (dev-zero)" <dev-zero@g.o> |
---|---|
To: | gentoo-commits@l.g.o |
Subject: | [gentoo-commits] gentoo-x86 commit in dev-libs/ace: ChangeLog ace-5.6.5-r1.ebuild |
Date: | Sun, 29 Jun 2008 13:08:22 |
Message-Id: | E1KCwdc-000878-Ew@stork.gentoo.org |
1 | dev-zero 08/06/29 13:08:16 |
2 | |
3 | Modified: ChangeLog |
4 | Added: ace-5.6.5-r1.ebuild |
5 | Log: |
6 | Fixed headers installation (bug #229013, thanks to Matt Michalowski) |
7 | (Portage version: 2.2_rc1/cvs/Linux 2.6.24-gentoo-r8 x86_64) |
8 | |
9 | Revision Changes Path |
10 | 1.54 dev-libs/ace/ChangeLog |
11 | |
12 | file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-libs/ace/ChangeLog?rev=1.54&view=markup |
13 | plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-libs/ace/ChangeLog?rev=1.54&content-type=text/plain |
14 | diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-libs/ace/ChangeLog?r1=1.53&r2=1.54 |
15 | |
16 | Index: ChangeLog |
17 | =================================================================== |
18 | RCS file: /var/cvsroot/gentoo-x86/dev-libs/ace/ChangeLog,v |
19 | retrieving revision 1.53 |
20 | retrieving revision 1.54 |
21 | diff -u -r1.53 -r1.54 |
22 | --- ChangeLog 20 Jun 2008 14:21:27 -0000 1.53 |
23 | +++ ChangeLog 29 Jun 2008 13:08:15 -0000 1.54 |
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.53 2008/06/20 14:21:27 dragonheart Exp $ |
28 | +# $Header: /var/cvsroot/gentoo-x86/dev-libs/ace/ChangeLog,v 1.54 2008/06/29 13:08:15 dev-zero Exp $ |
29 | + |
30 | +*ace-5.6.5-r1 (29 Jun 2008) |
31 | + |
32 | + 29 Jun 2008; Tiziano Müller <dev-zero@g.o> +ace-5.6.5-r1.ebuild: |
33 | + Fixed headers installation (bug #229013, thanks to Matt Michalowski) |
34 | |
35 | *ace-5.6.5 (20 Jun 2008) |
36 | |
37 | |
38 | |
39 | |
40 | 1.1 dev-libs/ace/ace-5.6.5-r1.ebuild |
41 | |
42 | file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-libs/ace/ace-5.6.5-r1.ebuild?rev=1.1&view=markup |
43 | plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-libs/ace/ace-5.6.5-r1.ebuild?rev=1.1&content-type=text/plain |
44 | |
45 | Index: ace-5.6.5-r1.ebuild |
46 | =================================================================== |
47 | # Copyright 1999-2008 Gentoo Foundation |
48 | # Distributed under the terms of the GNU General Public License v2 |
49 | # $Header: /var/cvsroot/gentoo-x86/dev-libs/ace/ace-5.6.5-r1.ebuild,v 1.1 2008/06/29 13:08:15 dev-zero Exp $ |
50 | |
51 | inherit toolchain-funcs |
52 | |
53 | DESCRIPTION="The Adaptive Communications Environment" |
54 | HOMEPAGE="http://www.cs.wustl.edu/~schmidt/ACE.html" |
55 | SRC_URI="!tao? ( http://download.dre.vanderbilt.edu/previous_versions/ACE-${PV}.tar.bz2 ) |
56 | tao? ( |
57 | !ciao? ( http://download.dre.vanderbilt.edu/previous_versions/ACE+TAO-${PV}.tar.bz2 ) |
58 | ciao? ( http://download.dre.vanderbilt.edu/previous_versions/ACE+TAO+CIAO-${PV}.tar.bz2 ) |
59 | )" |
60 | LICENSE="BSD as-is" |
61 | SLOT="0" |
62 | KEYWORDS="~x86 ~sparc ~ppc ~alpha ~amd64" |
63 | IUSE="X ipv6 tao ciao" |
64 | |
65 | COMMON_DEPEND="dev-libs/openssl" |
66 | # TODO probably more |
67 | RDEPEND="${COMMON_DEPEND} |
68 | X? ( x11-libs/libXt x11-libs/libXaw )" |
69 | |
70 | DEPEND="${COMMON_DEPEND} |
71 | X? ( x11-proto/xproto )" |
72 | |
73 | S="${WORKDIR}/ACE_wrappers" |
74 | |
75 | src_compile() { |
76 | export ACE_ROOT="${S}" |
77 | mkdir build |
78 | cd build |
79 | |
80 | ECONF_SOURCE="${S}" |
81 | econf \ |
82 | --enable-lib-all \ |
83 | $(use_with X) \ |
84 | $(use_enable ipv6) \ |
85 | || die "econf died" |
86 | # --with-qos needs ACE_HAS_RAPI |
87 | emake static_libs=1 || die "emake failed" |
88 | } |
89 | |
90 | src_install() { |
91 | cd build |
92 | emake ACE_ROOT="${S}" DESTDIR="${D}" install || die "failed to install" |
93 | insinto /usr/include/ace |
94 | doins \ |
95 | "${S}/ace/Svc_Conf_Token_Table.h" \ |
96 | "${S}/ace/Unbounded_Set_Ex.inl" \ |
97 | "${S}/ace/Unbounded_Set_Ex.h" \ |
98 | "${S}/ace/Unbounded_Set_Ex.cpp" |
99 | # punt gperf stuff |
100 | rm -rf "${D}/usr/bin" "${D}/usr/share" |
101 | } |
102 | |
103 | src_test() { |
104 | cd "${S}/build" |
105 | emake ACE_ROOT="${S}" check || die "self test failed" |
106 | sed -i -e "^#define PACKAGE_.*//g" /usr/include/ace/config.h |
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 | } |
121 | |
122 | |
123 | |
124 | -- |
125 | gentoo-commits@l.g.o mailing list |