1 |
haubi 09/09/09 06:34:16 |
2 |
|
3 |
Modified: ChangeLog |
4 |
Added: mico-2.3.13-r1.ebuild |
5 |
Log: |
6 |
work with (forced) --as-needed linker flag (#280678) |
7 |
(Portage version: 2.1.6.13/cvs/Linux x86_64) |
8 |
|
9 |
Revision Changes Path |
10 |
1.22 net-misc/mico/ChangeLog |
11 |
|
12 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-misc/mico/ChangeLog?rev=1.22&view=markup |
13 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-misc/mico/ChangeLog?rev=1.22&content-type=text/plain |
14 |
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-misc/mico/ChangeLog?r1=1.21&r2=1.22 |
15 |
|
16 |
Index: ChangeLog |
17 |
=================================================================== |
18 |
RCS file: /var/cvsroot/gentoo-x86/net-misc/mico/ChangeLog,v |
19 |
retrieving revision 1.21 |
20 |
retrieving revision 1.22 |
21 |
diff -u -r1.21 -r1.22 |
22 |
--- ChangeLog 7 Jul 2009 08:00:06 -0000 1.21 |
23 |
+++ ChangeLog 9 Sep 2009 06:34:16 -0000 1.22 |
24 |
@@ -1,6 +1,12 @@ |
25 |
# ChangeLog for net-misc/mico |
26 |
# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2 |
27 |
-# $Header: /var/cvsroot/gentoo-x86/net-misc/mico/ChangeLog,v 1.21 2009/07/07 08:00:06 haubi Exp $ |
28 |
+# $Header: /var/cvsroot/gentoo-x86/net-misc/mico/ChangeLog,v 1.22 2009/09/09 06:34:16 haubi Exp $ |
29 |
+ |
30 |
+*mico-2.3.13-r1 (09 Sep 2009) |
31 |
+ |
32 |
+ 09 Sep 2009; Michael Haubenwallner <haubi@g.o> |
33 |
+ +mico-2.3.13-r1.ebuild, +files/mico-2.3.13-as-needed.patch: |
34 |
+ work with (forced) --as-needed linker flag (#280678) |
35 |
|
36 |
07 Jul 2009; Michael Haubenwallner <haubi@g.o> |
37 |
+files/mico-2.3.13-hpux.patch, mico-2.3.13.ebuild: |
38 |
|
39 |
|
40 |
|
41 |
1.1 net-misc/mico/mico-2.3.13-r1.ebuild |
42 |
|
43 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-misc/mico/mico-2.3.13-r1.ebuild?rev=1.1&view=markup |
44 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-misc/mico/mico-2.3.13-r1.ebuild?rev=1.1&content-type=text/plain |
45 |
|
46 |
Index: mico-2.3.13-r1.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/net-misc/mico/mico-2.3.13-r1.ebuild,v 1.1 2009/09/09 06:34:16 haubi Exp $ |
51 |
|
52 |
inherit eutils flag-o-matic toolchain-funcs |
53 |
|
54 |
DESCRIPTION="A freely available and fully compliant implementation of the CORBA standard" |
55 |
HOMEPAGE="http://www.mico.org/" |
56 |
SRC_URI="http://www.mico.org/${P}.tar.gz" |
57 |
|
58 |
LICENSE="GPL-2 LGPL-2" |
59 |
SLOT="0" |
60 |
KEYWORDS="~alpha ~amd64 ~ppc ~sparc ~x86" |
61 |
IUSE="gtk postgres qt3 ssl tcl threads X" |
62 |
|
63 |
# doesn't compile: |
64 |
# bluetooth? ( net-wireless/bluez-libs ) |
65 |
|
66 |
RDEPEND=" |
67 |
gtk? ( >=x11-libs/gtk+-2 ) |
68 |
postgres? ( dev-db/postgresql ) |
69 |
qt3? ( =x11-libs/qt-3* ) |
70 |
ssl? ( dev-libs/openssl ) |
71 |
tcl? ( dev-lang/tcl ) |
72 |
X? ( x11-libs/libXt ) |
73 |
" |
74 |
DEPEND="${RDEPEND} |
75 |
>=sys-devel/flex-2.5.2 |
76 |
>=sys-devel/bison-1.22 |
77 |
" |
78 |
|
79 |
S=${WORKDIR}/${PN} |
80 |
|
81 |
src_unpack() { |
82 |
unpack ${A} |
83 |
cd "${S}" || die "failed to cd to '${S}'" |
84 |
|
85 |
epatch "${FILESDIR}"/${P}-nolibcheck.patch |
86 |
epatch "${FILESDIR}"/${P}-gcc43.patch |
87 |
epatch "${FILESDIR}"/${P}-pthread.patch |
88 |
epatch "${FILESDIR}"/${P}-aix.patch |
89 |
epatch "${FILESDIR}"/${P}-hpux.patch |
90 |
epatch "${FILESDIR}"/${P}-as-needed.patch #280678 |
91 |
|
92 |
# cannot use big TOC (AIX only), gdb doesn't like it. |
93 |
# This assumes that the compiler (or -wrapper) uses |
94 |
# gcc flag '-mminimal-toc' for compilation. |
95 |
sed -i -e 's/,-bbigtoc//' "${S}"/configure |
96 |
} |
97 |
|
98 |
src_compile() { |
99 |
tc-export CC CXX |
100 |
|
101 |
if use gtk; then |
102 |
# set up gtk-1 wrapper for gtk-2 |
103 |
mkdir "${T}"/path || die "failed to create temporary path" |
104 |
cp "${FILESDIR}"/gtk-config "${T}"/path || die "failed to dupe gtk-config" |
105 |
chmod +x "${T}"/path/gtk-config || die "failed to arm gtk-config" |
106 |
export PATH="${T}"/path:${PATH} |
107 |
fi |
108 |
|
109 |
# Don't know which version of JavaCUP would suffice, but there is no |
110 |
# configure argument to disable checking for JavaCUP. |
111 |
# So we override the configure check to not find 'javac'. |
112 |
export ac_cv_path_JAVAC=no |
113 |
|
114 |
# '--without-ssl' just does not add another search path - the only way |
115 |
# to disable openssl utilization seems to override the configure check. |
116 |
use ssl || export ac_cv_lib_ssl_open=no |
117 |
|
118 |
# '--without-*' or '--with-*=no' does not disable some features, the value |
119 |
# needs to be empty instead. This applies to: bluetooth, gtk, pgsql, qt, tcl. |
120 |
# But --without-x works. |
121 |
|
122 |
# moc is searched within PATH, not within QTDIR. |
123 |
use qt3 && export MOC="${QTDIR}"/bin/moc |
124 |
|
125 |
# http://www.mico.org/pipermail/mico-devel/2009-April/010285.html |
126 |
[[ ${CHOST} == *-hpux* ]] && append-cppflags -D_XOPEN_SOURCE_EXTENDED |
127 |
|
128 |
# bluetooth and wireless both don't compile cleanly |
129 |
econf \ |
130 |
--disable-mini-stl \ |
131 |
$(use_enable threads) \ |
132 |
--with-gtk=$(use gtk && echo /usr) \ |
133 |
--with-pgsql=$(use postgres && echo /usr) \ |
134 |
--with-qt=$(use qt3 && echo "${QTDIR}") \ |
135 |
--with-tcl=$(use tcl && echo /usr) \ |
136 |
$(use_with X x /usr) \ |
137 |
--with-bluetooth='' \ |
138 |
--disable-wireless |
139 |
|
140 |
emake || die "make failed" |
141 |
} |
142 |
|
143 |
src_install() { |
144 |
emake INSTDIR="${D}"/usr SHARED_INSTDIR="${D}"/usr install LDCONFIG=: || die "install failed" |
145 |
|
146 |
dodir /usr/share || die |
147 |
mv "${D}"/usr/man "${D}"/usr/share || die |
148 |
dodir /usr/share/doc/${PF} || die |
149 |
mv "${D}"/usr/doc "${D}"/usr/share/doc/${PF} || die |
150 |
|
151 |
dodoc BUGS CHANGES* CONVERT FAQ README* ROADMAP TODO VERSION WTODO || die |
152 |
} |