1 |
haubi 09/09/28 09:35:29 |
2 |
|
3 |
Modified: mico-2.3.13-r1.ebuild ChangeLog |
4 |
Log: |
5 |
incorporated prefix support and keywords |
6 |
(Portage version: 2.1.6.13/cvs/Linux x86_64) |
7 |
|
8 |
Revision Changes Path |
9 |
1.2 net-misc/mico/mico-2.3.13-r1.ebuild |
10 |
|
11 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-misc/mico/mico-2.3.13-r1.ebuild?rev=1.2&view=markup |
12 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-misc/mico/mico-2.3.13-r1.ebuild?rev=1.2&content-type=text/plain |
13 |
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-misc/mico/mico-2.3.13-r1.ebuild?r1=1.1&r2=1.2 |
14 |
|
15 |
Index: mico-2.3.13-r1.ebuild |
16 |
=================================================================== |
17 |
RCS file: /var/cvsroot/gentoo-x86/net-misc/mico/mico-2.3.13-r1.ebuild,v |
18 |
retrieving revision 1.1 |
19 |
retrieving revision 1.2 |
20 |
diff -u -r1.1 -r1.2 |
21 |
--- mico-2.3.13-r1.ebuild 9 Sep 2009 06:34:16 -0000 1.1 |
22 |
+++ mico-2.3.13-r1.ebuild 28 Sep 2009 09:35:28 -0000 1.2 |
23 |
@@ -1,6 +1,6 @@ |
24 |
# Copyright 1999-2009 Gentoo Foundation |
25 |
# Distributed under the terms of the GNU General Public License v2 |
26 |
-# $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 $ |
27 |
+# $Header: /var/cvsroot/gentoo-x86/net-misc/mico/mico-2.3.13-r1.ebuild,v 1.2 2009/09/28 09:35:28 haubi Exp $ |
28 |
|
29 |
inherit eutils flag-o-matic toolchain-funcs |
30 |
|
31 |
@@ -10,7 +10,7 @@ |
32 |
|
33 |
LICENSE="GPL-2 LGPL-2" |
34 |
SLOT="0" |
35 |
-KEYWORDS="~alpha ~amd64 ~ppc ~sparc ~x86" |
36 |
+KEYWORDS="~alpha ~amd64 ~ppc ~sparc ~x86 ~ppc-aix ~ia64-hpux ~amd64-linux ~x86-linux ~x86-winnt" |
37 |
IUSE="gtk postgres qt3 ssl tcl threads X" |
38 |
|
39 |
# doesn't compile: |
40 |
@@ -42,6 +42,8 @@ |
41 |
epatch "${FILESDIR}"/${P}-hpux.patch |
42 |
epatch "${FILESDIR}"/${P}-as-needed.patch #280678 |
43 |
|
44 |
+ [[ ${CHOST} == *-winnt* ]] && epatch "${FILESDIR}"/${P}-winnt.patch.bz2 |
45 |
+ |
46 |
# cannot use big TOC (AIX only), gdb doesn't like it. |
47 |
# This assumes that the compiler (or -wrapper) uses |
48 |
# gcc flag '-mminimal-toc' for compilation. |
49 |
@@ -75,6 +77,14 @@ |
50 |
# moc is searched within PATH, not within QTDIR. |
51 |
use qt3 && export MOC="${QTDIR}"/bin/moc |
52 |
|
53 |
+ local winopts= |
54 |
+ if [[ ${CHOST} == *-winnt* ]]; then |
55 |
+ # disabling static libs, since ar on interix takes nearly |
56 |
+ # one hour per library, thanks to mico's monster objects. |
57 |
+ winopts="${winopts} --disable-threads --disable-static --enable-final" |
58 |
+ append-flags -D__STDC__ |
59 |
+ fi |
60 |
+ |
61 |
# http://www.mico.org/pipermail/mico-devel/2009-April/010285.html |
62 |
[[ ${CHOST} == *-hpux* ]] && append-cppflags -D_XOPEN_SOURCE_EXTENDED |
63 |
|
64 |
@@ -88,18 +98,19 @@ |
65 |
--with-tcl=$(use tcl && echo /usr) \ |
66 |
$(use_with X x /usr) \ |
67 |
--with-bluetooth='' \ |
68 |
- --disable-wireless |
69 |
+ --disable-wireless \ |
70 |
+ ${winopts} |
71 |
|
72 |
emake || die "make failed" |
73 |
} |
74 |
|
75 |
src_install() { |
76 |
- emake INSTDIR="${D}"/usr SHARED_INSTDIR="${D}"/usr install LDCONFIG=: || die "install failed" |
77 |
+ emake INSTDIR="${D}${EPREFIX}"/usr SHARED_INSTDIR="${D}${EPREFIX}"/usr install LDCONFIG=: || die "install failed" |
78 |
|
79 |
dodir /usr/share || die |
80 |
- mv "${D}"/usr/man "${D}"/usr/share || die |
81 |
+ mv "${D}${EPREFIX}"/usr/man "${D}${EPREFIX}"/usr/share || die |
82 |
dodir /usr/share/doc/${PF} || die |
83 |
- mv "${D}"/usr/doc "${D}"/usr/share/doc/${PF} || die |
84 |
+ mv "${D}${EPREFIX}"/usr/doc "${D}${EPREFIX}"/usr/share/doc/${PF} || die |
85 |
|
86 |
dodoc BUGS CHANGES* CONVERT FAQ README* ROADMAP TODO VERSION WTODO || die |
87 |
} |
88 |
|
89 |
|
90 |
|
91 |
1.23 net-misc/mico/ChangeLog |
92 |
|
93 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-misc/mico/ChangeLog?rev=1.23&view=markup |
94 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-misc/mico/ChangeLog?rev=1.23&content-type=text/plain |
95 |
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-misc/mico/ChangeLog?r1=1.22&r2=1.23 |
96 |
|
97 |
Index: ChangeLog |
98 |
=================================================================== |
99 |
RCS file: /var/cvsroot/gentoo-x86/net-misc/mico/ChangeLog,v |
100 |
retrieving revision 1.22 |
101 |
retrieving revision 1.23 |
102 |
diff -u -r1.22 -r1.23 |
103 |
--- ChangeLog 9 Sep 2009 06:34:16 -0000 1.22 |
104 |
+++ ChangeLog 28 Sep 2009 09:35:28 -0000 1.23 |
105 |
@@ -1,6 +1,10 @@ |
106 |
# ChangeLog for net-misc/mico |
107 |
# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2 |
108 |
-# $Header: /var/cvsroot/gentoo-x86/net-misc/mico/ChangeLog,v 1.22 2009/09/09 06:34:16 haubi Exp $ |
109 |
+# $Header: /var/cvsroot/gentoo-x86/net-misc/mico/ChangeLog,v 1.23 2009/09/28 09:35:28 haubi Exp $ |
110 |
+ |
111 |
+ 28 Sep 2009; Michael Haubenwallner <haubi@g.o> |
112 |
+ mico-2.3.13-r1.ebuild, +files/mico-2.3.13-winnt.patch.bz2: |
113 |
+ incorporated prefix support and keywords |
114 |
|
115 |
*mico-2.3.13-r1 (09 Sep 2009) |