summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorheracles <heracles@localhost>2007-04-29 19:02:01 +0000
committerheracles <heracles@localhost>2007-04-29 19:02:01 +0000
commit0fbbfb12b53d86c61bfb7246bd82529807c99964 (patch)
treed548688f06891244033601aefd38af69fcc8f8c6
parentdev-db/postgresql: commented out PGOPTS in default conf.d file (I agree with ... (diff)
downloadexperimental-0fbbfb12b53d86c61bfb7246bd82529807c99964.tar.gz
experimental-0fbbfb12b53d86c61bfb7246bd82529807c99964.tar.bz2
experimental-0fbbfb12b53d86c61bfb7246bd82529807c99964.zip
dev-db/postgresql-client: added independent from -libs LINGUAS set handling.
svn path=/experimental/; revision=261
-rw-r--r--dev-db/postgresql-client/Manifest40
-rw-r--r--dev-db/postgresql-client/postgresql-client-7.3.19.ebuild16
-rw-r--r--dev-db/postgresql-client/postgresql-client-7.4.17.ebuild16
-rw-r--r--dev-db/postgresql-client/postgresql-client-8.0.13.ebuild17
-rw-r--r--dev-db/postgresql-client/postgresql-client-8.1.9.ebuild18
-rw-r--r--dev-db/postgresql-client/postgresql-client-8.2.4.ebuild17
6 files changed, 94 insertions, 30 deletions
diff --git a/dev-db/postgresql-client/Manifest b/dev-db/postgresql-client/Manifest
index f6599f0..cb7df5a 100644
--- a/dev-db/postgresql-client/Manifest
+++ b/dev-db/postgresql-client/Manifest
@@ -76,26 +76,26 @@ DIST postgresql-opt-7.4.17.tar.bz2 333513 RMD160 55b7d1c9900f590d778c915d586d8ca
DIST postgresql-opt-8.0.13.tar.bz2 134769 RMD160 f3fb741c5dcff23045a58baf57f4386099e3c563 SHA1 ccdc23eb12b19c6d88633125b9e0c2feeda5f93e SHA256 9f63fc12ede1a605934cdc462ff45c0e924288284f411ae38dec1c5b6e87ce25
DIST postgresql-opt-8.1.9.tar.bz2 144737 RMD160 3541c7c2d86e7a9d129d521c3a7bac189758d1a5 SHA1 d3b011edaa9b05295b15692bfe0932b1e37572d2 SHA256 b8c5c3098c53e8c8b722ba8928787eb7478beeb3c6b42adbaad1d8ca24d2e49f
DIST postgresql-opt-8.2.4.tar.bz2 167612 RMD160 aaacb743be86afbfe0f885b7994c15c94fef2413 SHA1 892112c6f348bccce534f87336ea073a0b8ca249 SHA256 5977ca1f0913aa98bc889e49b38768621865959b14e2674e7716d44b7fe9eb35
-EBUILD postgresql-client-7.3.19.ebuild 2288 RMD160 a4aec6926d9ebcf1df832f724d854976f8a38b54 SHA1 887447b14a08e87fcf9eb737d0ed31412659b0a2 SHA256 0f6f4edee5ffbf181748ab317ec96a8a484bf78f5e55fad7a51ee8c523eadba3
-MD5 5a72ffe504d1588e2fa5692a2db092f6 postgresql-client-7.3.19.ebuild 2288
-RMD160 a4aec6926d9ebcf1df832f724d854976f8a38b54 postgresql-client-7.3.19.ebuild 2288
-SHA256 0f6f4edee5ffbf181748ab317ec96a8a484bf78f5e55fad7a51ee8c523eadba3 postgresql-client-7.3.19.ebuild 2288
-EBUILD postgresql-client-7.4.17.ebuild 2601 RMD160 e68cbcf7e37af152d193321eb2ebcb4d425ce874 SHA1 e787b7513c36a38a21f232e2a3aff540f4507d71 SHA256 c62fd5a27f61d67d94a3dda3259eae99afc259c9c98914aa3706afbc221b14cb
-MD5 e6207a031a535c48a74e2841ee0812d2 postgresql-client-7.4.17.ebuild 2601
-RMD160 e68cbcf7e37af152d193321eb2ebcb4d425ce874 postgresql-client-7.4.17.ebuild 2601
-SHA256 c62fd5a27f61d67d94a3dda3259eae99afc259c9c98914aa3706afbc221b14cb postgresql-client-7.4.17.ebuild 2601
-EBUILD postgresql-client-8.0.13.ebuild 2884 RMD160 d2da06b69adfa332f70fec9b2c36f16ea85d52c5 SHA1 f0d86551d89b39cec788a24e8dad300308655222 SHA256 36f2932ef7ba0422f3ee76b515ffc050a1312662d0e5b0099d0766e983cc3214
-MD5 79fec50c4141229557d6a15338f8e305 postgresql-client-8.0.13.ebuild 2884
-RMD160 d2da06b69adfa332f70fec9b2c36f16ea85d52c5 postgresql-client-8.0.13.ebuild 2884
-SHA256 36f2932ef7ba0422f3ee76b515ffc050a1312662d0e5b0099d0766e983cc3214 postgresql-client-8.0.13.ebuild 2884
-EBUILD postgresql-client-8.1.9.ebuild 2569 RMD160 6b556a6c8d9fa46d5a92157ef57ffc163eb61cb8 SHA1 812d1ba2d90ce992004eb5fc4df4ae91791daff4 SHA256 cb044b3b06942f00073893e80a65ac58ae29fcf03da689d73804a1742f5dcb7a
-MD5 9b93533bea816717ddd7439db9b2db7c postgresql-client-8.1.9.ebuild 2569
-RMD160 6b556a6c8d9fa46d5a92157ef57ffc163eb61cb8 postgresql-client-8.1.9.ebuild 2569
-SHA256 cb044b3b06942f00073893e80a65ac58ae29fcf03da689d73804a1742f5dcb7a postgresql-client-8.1.9.ebuild 2569
-EBUILD postgresql-client-8.2.4.ebuild 2814 RMD160 a62c97c348982d9393eb41c2a4e70568612910ad SHA1 0695baed847e61a269f50806d51791abbbc7a46f SHA256 7286f6818db024a0a29d80b8441738749063e91ebc7e2d047ff2181d217deed2
-MD5 a61e6276775a3a464487ae9e0909d7b1 postgresql-client-8.2.4.ebuild 2814
-RMD160 a62c97c348982d9393eb41c2a4e70568612910ad postgresql-client-8.2.4.ebuild 2814
-SHA256 7286f6818db024a0a29d80b8441738749063e91ebc7e2d047ff2181d217deed2 postgresql-client-8.2.4.ebuild 2814
+EBUILD postgresql-client-7.3.19.ebuild 2747 RMD160 30ee7336e02aca44d8928db0ed7cbf85244a07b4 SHA1 d454f0c50248a836930a84dcd0dc6ebe87d16fbe SHA256 7c1b6c40474ef0abbe613ed5d567f5bdf6989faba41fb039db8c05a78ee18ff3
+MD5 2f6ee70384512e5b97f5d9e49992d41a postgresql-client-7.3.19.ebuild 2747
+RMD160 30ee7336e02aca44d8928db0ed7cbf85244a07b4 postgresql-client-7.3.19.ebuild 2747
+SHA256 7c1b6c40474ef0abbe613ed5d567f5bdf6989faba41fb039db8c05a78ee18ff3 postgresql-client-7.3.19.ebuild 2747
+EBUILD postgresql-client-7.4.17.ebuild 3093 RMD160 cf89f65742bc7f682189261f0e87364ca1db64c6 SHA1 0328d0f0e041df581813c051ac34c560a2b45787 SHA256 101e9738ff126a30e2af76dff321dd94dda10bfd75b4f9f0f1753314d747b749
+MD5 f4f185b2a82c07399a9ac75af2560e8b postgresql-client-7.4.17.ebuild 3093
+RMD160 cf89f65742bc7f682189261f0e87364ca1db64c6 postgresql-client-7.4.17.ebuild 3093
+SHA256 101e9738ff126a30e2af76dff321dd94dda10bfd75b4f9f0f1753314d747b749 postgresql-client-7.4.17.ebuild 3093
+EBUILD postgresql-client-8.0.13.ebuild 3443 RMD160 501e3093563036c0483b9378a872a4fe04b4278a SHA1 6184fa717b4258b17aa5f9204ee8556d3c988546 SHA256 ac0ab7f554f053f3a365eb8efbc256181a9a1029be0c06c86a8cdbd112a3c74b
+MD5 e2f61057398d122b3406f1976cf1f92b postgresql-client-8.0.13.ebuild 3443
+RMD160 501e3093563036c0483b9378a872a4fe04b4278a postgresql-client-8.0.13.ebuild 3443
+SHA256 ac0ab7f554f053f3a365eb8efbc256181a9a1029be0c06c86a8cdbd112a3c74b postgresql-client-8.0.13.ebuild 3443
+EBUILD postgresql-client-8.1.9.ebuild 3170 RMD160 b6611d7ef65ef9c49900a37c6a6f5b57631d107b SHA1 9d3c5e77d2b9b0ffa4a16965ed43153187014bef SHA256 93538604f883d55dd70fa380ab626f492740ebc1df32783390915e13a96e6f23
+MD5 e037bf744f1396d6627a282248c6a77b postgresql-client-8.1.9.ebuild 3170
+RMD160 b6611d7ef65ef9c49900a37c6a6f5b57631d107b postgresql-client-8.1.9.ebuild 3170
+SHA256 93538604f883d55dd70fa380ab626f492740ebc1df32783390915e13a96e6f23 postgresql-client-8.1.9.ebuild 3170
+EBUILD postgresql-client-8.2.4.ebuild 3373 RMD160 82a9857eba4b50af689d342d74d6bac69c037ddf SHA1 717118de4cd8d5e26654576ea58bbe0e75b32d07 SHA256 fa47324c6ea2c59f5c39419de402a03c5ec330ae1e3791491acd12d17b4ee37f
+MD5 c2d0bfc3d38f4ab2c2fc13e4f1dcc791 postgresql-client-8.2.4.ebuild 3373
+RMD160 82a9857eba4b50af689d342d74d6bac69c037ddf postgresql-client-8.2.4.ebuild 3373
+SHA256 fa47324c6ea2c59f5c39419de402a03c5ec330ae1e3791491acd12d17b4ee37f postgresql-client-8.2.4.ebuild 3373
MISC ChangeLog 400 RMD160 202fdecd325c69bd3e320935dd4a482004ab3230 SHA1 cde5fb2153e5d699a5b81832fa8982e975102f7a SHA256 33dfa19bf969f887c795d0a79da85fb66f089f721713ff453e8357468ab37ad9
MD5 f46c4d0bd3dd41451e001bf66e6ccc5b ChangeLog 400
RMD160 202fdecd325c69bd3e320935dd4a482004ab3230 ChangeLog 400
diff --git a/dev-db/postgresql-client/postgresql-client-7.3.19.ebuild b/dev-db/postgresql-client/postgresql-client-7.3.19.ebuild
index 3d6c94d..74bd777 100644
--- a/dev-db/postgresql-client/postgresql-client-7.3.19.ebuild
+++ b/dev-db/postgresql-client/postgresql-client-7.3.19.ebuild
@@ -15,7 +15,18 @@ SRC_URI="mirror://postgresql/source/v${PV}/postgresql-base-${PV}.tar.bz2
mirror://postgresql/source/v${PV}/postgresql-opt-${PV}.tar.bz2"
LICENSE="POSTGRESQL"
SLOT="$(get_version_component_range 1-2)"
-IUSE="doc"
+# find . -name \*.po | xargs -n 1 basename | cut -d. -f1|sort|uniq|sed 's/^/linguas_/'
+IUSE_LINGUAS="
+ linguas_cs linguas_de linguas_es linguas_fr linguas_hr linguas_hu
+ linguas_pt_BR linguas_ru linguas_sv linguas_tr linguas_zh_CN
+ linguas_zh_TW"
+IUSE="doc ${IUSE_LINGUAS}"
+
+wanted_languages() {
+ for u in ${IUSE_LINGUAS} ; do
+ use $u && echo ${u#linguas_}
+ done
+}
DEPEND="~dev-db/postgresql-libs-${PV}"
RDEPEND="${DEPEND}"
@@ -41,8 +52,9 @@ src_compile() {
# TODO: test if PPC really cannot work with other CFLAGS settings
# use ppc && CFLAGS="-pipe -fsigned-char"
- # eval is need to get along with pg_config quotation of space-rich entities.
+ # eval is needed to get along with pg_config quotation of space-rich entities.
eval ./configure "$(/usr/$(get_libdir)/postgresql-${SLOT}/bin/pg_config --configure)" \
+ "$(built_with_use ~dev-db/postgresql-libs-${PV} nls && use_enable nls nls "$(wanted_languages)")" \
|| die "configure failed"
for bd in . contrib ; do
diff --git a/dev-db/postgresql-client/postgresql-client-7.4.17.ebuild b/dev-db/postgresql-client/postgresql-client-7.4.17.ebuild
index f5e2d89..7444edf 100644
--- a/dev-db/postgresql-client/postgresql-client-7.4.17.ebuild
+++ b/dev-db/postgresql-client/postgresql-client-7.4.17.ebuild
@@ -15,7 +15,18 @@ SRC_URI="mirror://postgresql/source/v${PV}/postgresql-base-${PV}.tar.bz2
mirror://postgresql/source/v${PV}/postgresql-opt-${PV}.tar.bz2"
LICENSE="POSTGRESQL"
SLOT="$(get_version_component_range 1-2)"
-IUSE="doc"
+# find . -name \*.po | xargs -n 1 basename | cut -d. -f1|sort|uniq|sed 's/^/linguas_/'
+IUSE_LINGUAS="
+ linguas_cs linguas_de linguas_es linguas_fr linguas_hr linguas_hu
+ linguas_it linguas_nb linguas_pt_BR linguas_ru linguas_sl linguas_sv
+ linguas_tr linguas_zh_CN linguas_zh_TW"
+IUSE="doc ${IUSE_LINGUAS}"
+
+wanted_languages() {
+ for u in ${IUSE_LINGUAS} ; do
+ use $u && echo ${u#linguas_}
+ done
+}
DEPEND="~dev-db/postgresql-libs-${PV}"
RDEPEND="${DEPEND}"
@@ -41,8 +52,9 @@ src_compile() {
# TODO: test if PPC really cannot work with other CFLAGS settings
# use ppc && CFLAGS="-pipe -fsigned-char"
- # eval is need to get along with pg_config quotation of space-rich entities.
+ # eval is needed to get along with pg_config quotation of space-rich entities.
eval ./configure "$(/usr/$(get_libdir)/postgresql-${SLOT}/bin/pg_config --configure)" \
+ "$(built_with_use ~dev-db/postgresql-libs-${PV} nls && use_enable nls nls "$(wanted_languages)")" \
|| die "configure failed"
for bd in . contrib ; do
diff --git a/dev-db/postgresql-client/postgresql-client-8.0.13.ebuild b/dev-db/postgresql-client/postgresql-client-8.0.13.ebuild
index d787e0c..cbc3796 100644
--- a/dev-db/postgresql-client/postgresql-client-8.0.13.ebuild
+++ b/dev-db/postgresql-client/postgresql-client-8.0.13.ebuild
@@ -15,7 +15,19 @@ SRC_URI="mirror://postgresql/source/v${PV}/postgresql-base-${PV}.tar.bz2
mirror://postgresql/source/v${PV}/postgresql-opt-${PV}.tar.bz2"
LICENSE="POSTGRESQL"
SLOT="$(get_version_component_range 1-2)"
-IUSE="doc"
+# find . -name \*.po | xargs -n 1 basename | cut -d. -f1|sort|uniq|sed 's/^/linguas_/'
+IUSE_LINGUAS="
+ linguas_af linguas_cs linguas_de linguas_es linguas_fa linguas_fr
+ linguas_hr linguas_hu linguas_it linguas_ko linguas_nb linguas_pl
+ linguas_pt_BR linguas_ro linguas_ru linguas_sk linguas_sl linguas_sv
+ linguas_tr linguas_zh_CN linguas_zh_TW"
+IUSE="doc ${IUSE_LINGUAS}"
+
+wanted_languages() {
+ for u in ${IUSE_LINGUAS} ; do
+ use $u && echo ${u#linguas_}
+ done
+}
DEPEND="~dev-db/postgresql-libs-${PV}"
RDEPEND="${DEPEND}"
@@ -44,8 +56,9 @@ src_compile() {
# TODO: test if PPC really cannot work with other CFLAGS settings
# use ppc && CFLAGS="-pipe -fsigned-char"
- # eval is need to get along with pg_config quotation of space-rich entities.
+ # eval is needed to get along with pg_config quotation of space-rich entities.
eval econf "$(/usr/$(get_libdir)/postgresql-${SLOT}/bin/pg_config --configure)" \
+ "$(built_with_use ~dev-db/postgresql-libs-${PV} nls && use_enable nls nls "$(wanted_languages)")" \
|| die "configure failed"
for bd in . contrib ; do
diff --git a/dev-db/postgresql-client/postgresql-client-8.1.9.ebuild b/dev-db/postgresql-client/postgresql-client-8.1.9.ebuild
index 62115ac..d7d364b 100644
--- a/dev-db/postgresql-client/postgresql-client-8.1.9.ebuild
+++ b/dev-db/postgresql-client/postgresql-client-8.1.9.ebuild
@@ -15,7 +15,20 @@ SRC_URI="mirror://postgresql/source/v${PV}/postgresql-base-${PV}.tar.bz2
mirror://postgresql/source/v${PV}/postgresql-opt-${PV}.tar.bz2"
LICENSE="POSTGRESQL"
SLOT="$(get_version_component_range 1-2)"
-IUSE="doc"
+SLOT="$(get_version_component_range 1-2)"
+# find . -name \*.po | xargs -n 1 basename | cut -d. -f1|sort|uniq|sed 's/^/linguas_/'
+IUSE_LINGUAS="
+ linguas_af linguas_cs linguas_de linguas_es linguas_fa linguas_fr
+ linguas_hr linguas_hu linguas_it linguas_ko linguas_nb linguas_pl
+ linguas_pt_BR linguas_ro linguas_ru linguas_sk linguas_sl linguas_sv
+ linguas_tr linguas_zh_CN linguas_zh_TW"
+IUSE="doc ${IUSE_LINGUAS}"
+
+wanted_languages() {
+ for u in ${IUSE_LINGUAS} ; do
+ use $u && echo ${u#linguas_}
+ done
+}
DEPEND="~dev-db/postgresql-libs-${PV}"
RDEPEND="${DEPEND}"
@@ -44,8 +57,9 @@ src_compile() {
# TODO: test if PPC really cannot work with other CFLAGS settings
# use ppc && CFLAGS="-pipe -fsigned-char"
- # eval is need to get along with pg_config quotation of space-rich entities.
+ # eval is needed to get along with pg_config quotation of space-rich entities.
eval econf "$(/usr/$(get_libdir)/postgresql-${SLOT}/bin/pg_config --configure)" \
+ "$(built_with_use ~dev-db/postgresql-libs-${PV} nls && use_enable nls nls "$(wanted_languages)")" \
|| die "configure failed"
for bd in . contrib ; do
diff --git a/dev-db/postgresql-client/postgresql-client-8.2.4.ebuild b/dev-db/postgresql-client/postgresql-client-8.2.4.ebuild
index c0643fe..536fda1 100644
--- a/dev-db/postgresql-client/postgresql-client-8.2.4.ebuild
+++ b/dev-db/postgresql-client/postgresql-client-8.2.4.ebuild
@@ -15,7 +15,19 @@ SRC_URI="mirror://postgresql/source/v${PV}/postgresql-base-${PV}.tar.bz2
mirror://postgresql/source/v${PV}/postgresql-opt-${PV}.tar.bz2"
LICENSE="POSTGRESQL"
SLOT="$(get_version_component_range 1-2)"
-IUSE="doc"
+# find . -name \*.po | xargs -n 1 basename | cut -d. -f1|sort|uniq|sed 's/^/linguas_/'
+IUSE_LINGUAS="
+ linguas_af linguas_cs linguas_de linguas_es linguas_fa linguas_fr
+ linguas_hr linguas_hu linguas_it linguas_ko linguas_nb linguas_pl
+ linguas_pt_BR linguas_ro linguas_ru linguas_sk linguas_sl linguas_sv
+ linguas_tr linguas_zh_CN linguas_zh_TW"
+IUSE="doc ${IUSE_LINGUAS}"
+
+wanted_languages() {
+ for u in ${IUSE_LINGUAS} ; do
+ use $u && echo ${u#linguas_}
+ done
+}
DEPEND="~dev-db/postgresql-libs-${PV}"
RDEPEND="${DEPEND}"
@@ -47,9 +59,10 @@ src_compile() {
# 1. threadsafety is disabled to avoid pulling in test tarball in absense of
# which configure would fail. The configure output in the large part goes
# unnoticed as the installed pgxs stuff is used instead.
- # 2. eval is need to get along with pg_config quotation of space-rich
+ # 2. eval is needed to get along with pg_config quotation of space-rich
# entities.
eval econf "$(/usr/$(get_libdir)/postgresql-${SLOT}/bin/pg_config --configure)" \
+ "$(built_with_use ~dev-db/postgresql-libs-${PV} nls && use_enable nls nls "$(wanted_languages)")" \
--disable-thread-safety \
|| die "configure failed"