1 |
scarabeus 10/10/05 13:56:41 |
2 |
|
3 |
Modified: ChangeLog postgresql-server-9.0.0.ebuild |
4 |
Log: |
5 |
Tiny update for linguas and nls handling. |
6 |
|
7 |
(Portage version: 2.2_rc88/cvs/Linux x86_64) |
8 |
|
9 |
Revision Changes Path |
10 |
1.84 dev-db/postgresql-server/ChangeLog |
11 |
|
12 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-db/postgresql-server/ChangeLog?rev=1.84&view=markup |
13 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-db/postgresql-server/ChangeLog?rev=1.84&content-type=text/plain |
14 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-db/postgresql-server/ChangeLog?r1=1.83&r2=1.84 |
15 |
|
16 |
Index: ChangeLog |
17 |
=================================================================== |
18 |
RCS file: /var/cvsroot/gentoo-x86/dev-db/postgresql-server/ChangeLog,v |
19 |
retrieving revision 1.83 |
20 |
retrieving revision 1.84 |
21 |
diff -u -r1.83 -r1.84 |
22 |
--- ChangeLog 21 Sep 2010 16:17:55 -0000 1.83 |
23 |
+++ ChangeLog 5 Oct 2010 13:56:41 -0000 1.84 |
24 |
@@ -1,6 +1,10 @@ |
25 |
# ChangeLog for dev-db/postgresql-server |
26 |
# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 |
27 |
-# $Header: /var/cvsroot/gentoo-x86/dev-db/postgresql-server/ChangeLog,v 1.83 2010/09/21 16:17:55 patrick Exp $ |
28 |
+# $Header: /var/cvsroot/gentoo-x86/dev-db/postgresql-server/ChangeLog,v 1.84 2010/10/05 13:56:41 scarabeus Exp $ |
29 |
+ |
30 |
+ 05 Oct 2010; Tomáš Chvátal <scarabeus@g.o> |
31 |
+ postgresql-server-9.0.0.ebuild: |
32 |
+ Tiny update for linguas and nls handling. |
33 |
|
34 |
21 Sep 2010; Patrick Lauer <patrick@g.o> |
35 |
-postgresql-server-9.0_beta4.ebuild, -postgresql-server-9.0_rc1.ebuild: |
36 |
|
37 |
|
38 |
|
39 |
1.3 dev-db/postgresql-server/postgresql-server-9.0.0.ebuild |
40 |
|
41 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-db/postgresql-server/postgresql-server-9.0.0.ebuild?rev=1.3&view=markup |
42 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-db/postgresql-server/postgresql-server-9.0.0.ebuild?rev=1.3&content-type=text/plain |
43 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-db/postgresql-server/postgresql-server-9.0.0.ebuild?r1=1.2&r2=1.3 |
44 |
|
45 |
Index: postgresql-server-9.0.0.ebuild |
46 |
=================================================================== |
47 |
RCS file: /var/cvsroot/gentoo-x86/dev-db/postgresql-server/postgresql-server-9.0.0.ebuild,v |
48 |
retrieving revision 1.2 |
49 |
retrieving revision 1.3 |
50 |
diff -u -r1.2 -r1.3 |
51 |
--- postgresql-server-9.0.0.ebuild 20 Sep 2010 08:49:11 -0000 1.2 |
52 |
+++ postgresql-server-9.0.0.ebuild 5 Oct 2010 13:56:41 -0000 1.3 |
53 |
@@ -1,6 +1,6 @@ |
54 |
# Copyright 1999-2010 Gentoo Foundation |
55 |
# Distributed under the terms of the GNU General Public License v2 |
56 |
-# $Header: /var/cvsroot/gentoo-x86/dev-db/postgresql-server/postgresql-server-9.0.0.ebuild,v 1.2 2010/09/20 08:49:11 patrick Exp $ |
57 |
+# $Header: /var/cvsroot/gentoo-x86/dev-db/postgresql-server/postgresql-server-9.0.0.ebuild,v 1.3 2010/10/05 13:56:41 scarabeus Exp $ |
58 |
|
59 |
EAPI="2" |
60 |
PYTHON_DEPEND="python? 2" |
61 |
@@ -22,20 +22,24 @@ |
62 |
|
63 |
LICENSE="POSTGRESQL" |
64 |
SLOT="$(get_version_component_range 1-2)" |
65 |
-IUSE_LINGUAS=" |
66 |
- linguas_af linguas_cs linguas_de linguas_es linguas_fa linguas_fr |
67 |
- linguas_hr linguas_hu linguas_it linguas_ko linguas_nb linguas_pl |
68 |
- linguas_pt_BR linguas_ro linguas_ru linguas_sk linguas_sl linguas_sv |
69 |
- linguas_tr linguas_zh_CN linguas_zh_TW" |
70 |
-IUSE="pg_legacytimestamp doc perl python selinux tcl uuid xml nls kernel_linux ${IUSE_LINGUAS}" |
71 |
+LINGUAS="af cs de es fa fr hr hu it ko nb pl pt_BR ro ru sk sl sv tr zh_CN zh_TW" |
72 |
+IUSE="doc kernel_linux nls perl pg_legacytimestamp python selinux tcl uuid xml" |
73 |
+ |
74 |
+for lingua in ${LINGUAS}; do |
75 |
+ IUSE+=" linguas_${lingua}" |
76 |
+done |
77 |
|
78 |
wanted_languages() { |
79 |
- for u in ${IUSE_LINGUAS} ; do |
80 |
- use $u && echo -n "${u#linguas_} " |
81 |
+ local enable_langs |
82 |
+ |
83 |
+ for lingua in ${LINGUAS} ; do |
84 |
+ use linguas_${lingua} && enable_langs+="${lingua} " |
85 |
done |
86 |
+ |
87 |
+ echo -n ${enable_langs} |
88 |
} |
89 |
|
90 |
-RDEPEND="~dev-db/postgresql-base-${PV}:${SLOT}[pg_legacytimestamp=] |
91 |
+RDEPEND="~dev-db/postgresql-base-${PV}:${SLOT}[pg_legacytimestamp=,nls=] |
92 |
perl? ( >=dev-lang/perl-5.6.1-r2 ) |
93 |
python? ( dev-python/egenix-mx-base ) |
94 |
selinux? ( sec-policy/selinux-postgresql ) |
95 |
@@ -70,9 +74,6 @@ |
96 |
} |
97 |
|
98 |
src_configure() { |
99 |
- # TODO: test if PPC really cannot work with other CFLAGS settings |
100 |
- # use ppc && CFLAGS="-pipe -fsigned-char" |
101 |
- |
102 |
# eval is needed to get along with pg_config quotation of space-rich entities. |
103 |
eval econf "$(/usr/$(get_libdir)/postgresql-${SLOT}/bin/pg_config --configure)" \ |
104 |
--disable-thread-safety \ |
105 |
@@ -85,12 +86,12 @@ |
106 |
--with-system-tzdata="/usr/share/zoneinfo" \ |
107 |
--with-includes="/usr/include/postgresql-${SLOT}/" \ |
108 |
--with-libraries="/usr/$(get_libdir)/postgresql-${SLOT}/$(get_libdir)" \ |
109 |
- "$(has_version ~dev-db/postgresql-base-${PV}[nls] && use_enable nls nls "$(wanted_languages)")" |
110 |
+ "$(use_enable nls nls "$(wanted_languages)")" |
111 |
} |
112 |
|
113 |
src_compile() { |
114 |
local bd |
115 |
- for bd in . contrib $(use xml && echo contrib/xml2); do |
116 |
+ for bd in . contrib $(use xml && echo contrib/xml2); do |
117 |
PATH="/usr/$(get_libdir)/postgresql-${SLOT}/bin:${PATH}" \ |
118 |
emake -C $bd -j1 || die "emake in $bd failed" |
119 |
done |
120 |
@@ -114,7 +115,7 @@ |
121 |
dodoc README HISTORY doc/{README.*,TODO,bug.template} |
122 |
|
123 |
dodir /etc/eselect/postgresql/slots/${SLOT} |
124 |
- cat >"${D}/etc/eselect/postgresql/slots/${SLOT}/service" <<-__EOF__ |
125 |
+ cat > "${D}/etc/eselect/postgresql/slots/${SLOT}/service" <<-__EOF__ |
126 |
postgres_ebuilds="\${postgres_ebuilds} ${PF}" |
127 |
postgres_service="postgresql-${SLOT}" |
128 |
__EOF__ |