diff options
author | 2007-04-29 19:02:17 +0000 | |
---|---|---|
committer | 2007-04-29 19:02:17 +0000 | |
commit | 4f18541e1cc7e3b3e0d01294b596e56b4072b919 (patch) | |
tree | 2c5a8e3091d3ac697356f9b622b995afe50aafed | |
parent | dev-db/postgresql-client: added independent from -libs LINGUAS set handling. (diff) | |
download | experimental-4f18541e1cc7e3b3e0d01294b596e56b4072b919.tar.gz experimental-4f18541e1cc7e3b3e0d01294b596e56b4072b919.tar.bz2 experimental-4f18541e1cc7e3b3e0d01294b596e56b4072b919.zip |
dev-db/postgresql-server: added independent from -libs LINGUAS set handling.
svn path=/experimental/; revision=262
6 files changed, 93 insertions, 30 deletions
diff --git a/dev-db/postgresql-server/Manifest b/dev-db/postgresql-server/Manifest index 2c75234..f1fd0fa 100644 --- a/dev-db/postgresql-server/Manifest +++ b/dev-db/postgresql-server/Manifest @@ -133,26 +133,26 @@ DIST postgresql-test-7.4.17.tar.bz2 902524 RMD160 5d2580ac74e01a65d9c00bc7a29006 DIST postgresql-test-8.0.13.tar.bz2 932945 RMD160 d1a1c5e05337d82fb1fc2a7249e98ce8df375978 SHA1 07924ea198ce2654b65ecce6cd05025f24b62b86 SHA256 ea7e45aa8d9d8f127704e659575a0e860fd53abdaefa7c0f256f246c283ff1cf DIST postgresql-test-8.1.9.tar.bz2 948085 RMD160 80f20a3353ee437efc78390d8d2d0d12c5cb519f SHA1 5a37496ab4bcb1a991674ae1b7ecdcc52f988abc SHA256 2dd60f661df70d43b261af0722e768f6ec4dc856c765c3dd9cd24042089323ba DIST postgresql-test-8.2.4.tar.bz2 985819 RMD160 c5fcbef081565f7ba02fc4ac96ce8e1f4141c3ae SHA1 60be22d85c37d1ea461401b8e7c10472a3458913 SHA256 fc4471ecece04251289cfe7feb0acbafa3a18cf8f35c2d61ce3f68bd4394e504 -EBUILD postgresql-server-7.3.19.ebuild 7692 RMD160 75c349fa7f310be5bc8b3f2f5a3af7f26c2d4630 SHA1 7826237361798b540b9a79ca7ff5ec6a9983eb8c SHA256 05419e26100d507046e176148c5030026bfe666b7a495668e6e3cf65da7cb74c -MD5 795e14ebab13b38885a25f9bb0a77a4b postgresql-server-7.3.19.ebuild 7692 -RMD160 75c349fa7f310be5bc8b3f2f5a3af7f26c2d4630 postgresql-server-7.3.19.ebuild 7692 -SHA256 05419e26100d507046e176148c5030026bfe666b7a495668e6e3cf65da7cb74c postgresql-server-7.3.19.ebuild 7692 -EBUILD postgresql-server-7.4.17.ebuild 7637 RMD160 0131d67425a3ad401f67a97f931971be2cd9e934 SHA1 95c0bdf93aee909ea8518a1486d17a38908d2c73 SHA256 a3a96ad8b9de304a7671a6f703bd8919c62d461eb085c1e42e8f40489d11fe76 -MD5 6b07aaec1cf367f2bdada290fef45ebe postgresql-server-7.4.17.ebuild 7637 -RMD160 0131d67425a3ad401f67a97f931971be2cd9e934 postgresql-server-7.4.17.ebuild 7637 -SHA256 a3a96ad8b9de304a7671a6f703bd8919c62d461eb085c1e42e8f40489d11fe76 postgresql-server-7.4.17.ebuild 7637 -EBUILD postgresql-server-8.0.13.ebuild 7592 RMD160 12fccf653d1987d2ffbcaf874c64f6d5a8f34552 SHA1 0e0d720935aeea5638540e4887610f1383f5b978 SHA256 b22014f62a3ca7683c4a094243cfd76450e3337ccb850b9fababbf3bcaedd419 -MD5 e90b31b6fa2c5e19f3f17c6b62a2b211 postgresql-server-8.0.13.ebuild 7592 -RMD160 12fccf653d1987d2ffbcaf874c64f6d5a8f34552 postgresql-server-8.0.13.ebuild 7592 -SHA256 b22014f62a3ca7683c4a094243cfd76450e3337ccb850b9fababbf3bcaedd419 postgresql-server-8.0.13.ebuild 7592 -EBUILD postgresql-server-8.1.9.ebuild 7809 RMD160 1fea1f341e8477552866523962ea6dbf35c8c0c0 SHA1 b1d2468ea11ad5ede95f9cd9125830ac195846c6 SHA256 04ea2785daf78f20b0998faff88a15031405288766436ed098f8cf69d3ab76fe -MD5 c9760b8b4fd396582496a204ee062a58 postgresql-server-8.1.9.ebuild 7809 -RMD160 1fea1f341e8477552866523962ea6dbf35c8c0c0 postgresql-server-8.1.9.ebuild 7809 -SHA256 04ea2785daf78f20b0998faff88a15031405288766436ed098f8cf69d3ab76fe postgresql-server-8.1.9.ebuild 7809 -EBUILD postgresql-server-8.2.4.ebuild 8135 RMD160 dc11c39d5308e78cd36b1d4014229807ca3bfded SHA1 ec6ed70d625ba53756c22b382ce3776f92c8fce8 SHA256 0dfc493a873c2f80e0d560c058d2fb33d95f636815ef70d6e335114aee7a24ea -MD5 bf033a4401b84fdb39f31038b1e87a12 postgresql-server-8.2.4.ebuild 8135 -RMD160 dc11c39d5308e78cd36b1d4014229807ca3bfded postgresql-server-8.2.4.ebuild 8135 -SHA256 0dfc493a873c2f80e0d560c058d2fb33d95f636815ef70d6e335114aee7a24ea postgresql-server-8.2.4.ebuild 8135 +EBUILD postgresql-server-7.3.19.ebuild 8151 RMD160 4510a2b99b1d440b5132f171c2a789db735bf9f4 SHA1 8f914d8d8eed9a791fe90e299853894ae9d6956b SHA256 259b88f37582b7f4e663d70ab344f557f8f5a8e0ac9ff386a2dec5e800d198e4 +MD5 b2090d0e8e58d02971776df5c5b8e341 postgresql-server-7.3.19.ebuild 8151 +RMD160 4510a2b99b1d440b5132f171c2a789db735bf9f4 postgresql-server-7.3.19.ebuild 8151 +SHA256 259b88f37582b7f4e663d70ab344f557f8f5a8e0ac9ff386a2dec5e800d198e4 postgresql-server-7.3.19.ebuild 8151 +EBUILD postgresql-server-7.4.17.ebuild 8129 RMD160 62053f62622f5a0c6a54798e01d5ea51ed36ff35 SHA1 245c8fc5368297775e65474a9682ae2107997c75 SHA256 eb977472f053c4c8c0575372b92677e2918abc117f046e0dab4f38cbdaa4de7a +MD5 7583addc0e15eaa09a85144ce8ae5528 postgresql-server-7.4.17.ebuild 8129 +RMD160 62053f62622f5a0c6a54798e01d5ea51ed36ff35 postgresql-server-7.4.17.ebuild 8129 +SHA256 eb977472f053c4c8c0575372b92677e2918abc117f046e0dab4f38cbdaa4de7a postgresql-server-7.4.17.ebuild 8129 +EBUILD postgresql-server-8.0.13.ebuild 8151 RMD160 4b8859c59fc7d04f99f2c399a5c12611b0770d9f SHA1 ef596c5d5dcea072ce12c4575ff0f1c87fa440fc SHA256 095021b5e121ff168acb566ffaa673cb5d96a8cd0b4aead7a86a42902b360983 +MD5 25e9d967b0cb2dd5a483fdd5597afdb9 postgresql-server-8.0.13.ebuild 8151 +RMD160 4b8859c59fc7d04f99f2c399a5c12611b0770d9f postgresql-server-8.0.13.ebuild 8151 +SHA256 095021b5e121ff168acb566ffaa673cb5d96a8cd0b4aead7a86a42902b360983 postgresql-server-8.0.13.ebuild 8151 +EBUILD postgresql-server-8.1.9.ebuild 8368 RMD160 51800678eca1248b47e6c5ad4ff83ac4e02632ba SHA1 37f3945a96511785754e00b32476bc507b9d0f82 SHA256 a2770eec9669406fa3afa305289da6870eb1f359f42eaa0285ffa6bd4ba1e840 +MD5 46faf4c14faf3641d02e511489f9fe58 postgresql-server-8.1.9.ebuild 8368 +RMD160 51800678eca1248b47e6c5ad4ff83ac4e02632ba postgresql-server-8.1.9.ebuild 8368 +SHA256 a2770eec9669406fa3afa305289da6870eb1f359f42eaa0285ffa6bd4ba1e840 postgresql-server-8.1.9.ebuild 8368 +EBUILD postgresql-server-8.2.4.ebuild 8694 RMD160 71f9a4c34c2907f76e25f3249b6176dbf33aa6e7 SHA1 bf42dcd438cb99373238d965254509dec64b0fea SHA256 8ab231092634b506ff623c0a1da9ec5a78791edc987a5a304f5358e18cd62e3c +MD5 2cc0dc5b63375e52fef8415fd7dd99cb postgresql-server-8.2.4.ebuild 8694 +RMD160 71f9a4c34c2907f76e25f3249b6176dbf33aa6e7 postgresql-server-8.2.4.ebuild 8694 +SHA256 8ab231092634b506ff623c0a1da9ec5a78791edc987a5a304f5358e18cd62e3c postgresql-server-8.2.4.ebuild 8694 MISC ChangeLog 412 RMD160 b99776c6be65236f0156bd78bf2fcaeba2b1550f SHA1 e9c8045024dd160b67736cc1283d49aa113ca7d7 SHA256 a6571ecd9b91edf7ce97759df9c320417b1e67ee7538163cffdfca05b6d167ff MD5 47127296a7cfb06f8b9c5768748a6c5e ChangeLog 412 RMD160 b99776c6be65236f0156bd78bf2fcaeba2b1550f ChangeLog 412 diff --git a/dev-db/postgresql-server/postgresql-server-7.3.19.ebuild b/dev-db/postgresql-server/postgresql-server-7.3.19.ebuild index d62d39b..9f10251 100644 --- a/dev-db/postgresql-server/postgresql-server-7.3.19.ebuild +++ b/dev-db/postgresql-server/postgresql-server-7.3.19.ebuild @@ -15,7 +15,18 @@ SRC_URI="mirror://postgresql/source/v${PV}/postgresql-base-${PV}.tar.bz2 test? ( mirror://postgresql/source/v${PV}/postgresql-test-${PV}.tar.bz2 )" LICENSE="POSTGRESQL" SLOT="$(get_version_component_range 1-2)" -IUSE="doc perl python selinux tcl test xml eselect" +# 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 perl python selinux tcl test xml eselect ${IUSE_LINGUAS}" + +wanted_languages() { + for u in ${IUSE_LINGUAS} ; do + use $u && echo ${u#linguas_} + done +} RDEPEND="~dev-db/postgresql-libs-${PV} perl? ( >=dev-lang/perl-5.6.1-r2 ) @@ -70,13 +81,14 @@ 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)" \ $(use_with perl) \ $(use_with python) \ $(use_with tcl) \ --with-includes="/usr/include/postgresql-${SLOT}/" \ --with-libs="/usr/lib/postgresql-${SLOT}/lib/" \ + "$(built_with_use ~dev-db/postgresql-libs-${PV} nls && use_enable nls nls "$(wanted_languages)")" \ "CFLAGS='${CFLAGS} $(use xml && pkg-config --cflags libxml-2.0)'" \ "LIBS='${LIBS} $(use xml && pkg-config --libs libxml-2.0) -L/usr/lib/postgresql-${SLOT}/lib'" \ || die "configure failed" diff --git a/dev-db/postgresql-server/postgresql-server-7.4.17.ebuild b/dev-db/postgresql-server/postgresql-server-7.4.17.ebuild index 8b3288a..86bb2d1 100644 --- a/dev-db/postgresql-server/postgresql-server-7.4.17.ebuild +++ b/dev-db/postgresql-server/postgresql-server-7.4.17.ebuild @@ -15,7 +15,18 @@ SRC_URI="mirror://postgresql/source/v${PV}/postgresql-base-${PV}.tar.bz2 test? ( mirror://postgresql/source/v${PV}/postgresql-test-${PV}.tar.bz2 )" LICENSE="POSTGRESQL" SLOT="$(get_version_component_range 1-2)" -IUSE="doc perl python selinux tcl test xml eselect" +# 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 perl python selinux tcl test xml eselect ${IUSE_LINGUAS}" + +wanted_languages() { + for u in ${IUSE_LINGUAS} ; do + use $u && echo ${u#linguas_} + done +} RDEPEND="~dev-db/postgresql-libs-${PV} perl? ( >=dev-lang/perl-5.6.1-r2 ) @@ -69,13 +80,14 @@ 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)" \ $(use_with perl) \ $(use_with python) \ $(use_with tcl) \ --with-includes="/usr/include/postgresql-${SLOT}/" \ --with-libs="/usr/lib/postgresql-${SLOT}/lib/" \ + "$(built_with_use ~dev-db/postgresql-libs-${PV} nls && use_enable nls nls "$(wanted_languages)")" \ "CFLAGS='${CFLAGS} $(use xml && pkg-config --cflags libxml-2.0)'" \ "LIBS='${LIBS} $(use xml && pkg-config --libs libxml-2.0) -L/usr/lib/postgresql-${SLOT}/lib'" \ || die "configure failed" diff --git a/dev-db/postgresql-server/postgresql-server-8.0.13.ebuild b/dev-db/postgresql-server/postgresql-server-8.0.13.ebuild index 85a7527..b238511 100644 --- a/dev-db/postgresql-server/postgresql-server-8.0.13.ebuild +++ b/dev-db/postgresql-server/postgresql-server-8.0.13.ebuild @@ -15,7 +15,19 @@ SRC_URI="mirror://postgresql/source/v${PV}/postgresql-base-${PV}.tar.bz2 test? ( mirror://postgresql/source/v${PV}/postgresql-test-${PV}.tar.bz2 )" LICENSE="POSTGRESQL" SLOT="$(get_version_component_range 1-2)" -IUSE="doc perl python selinux tcl test xml eselect" +# 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 perl python selinux tcl test xml eselect ${IUSE_LINGUAS}" + +wanted_languages() { + for u in ${IUSE_LINGUAS} ; do + use $u && echo ${u#linguas_} + done +} RDEPEND="~dev-db/postgresql-libs-${PV} perl? ( >=dev-lang/perl-5.6.1-r2 ) @@ -69,12 +81,13 @@ 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)" \ $(use_with perl) \ $(use_with python) \ $(use_with tcl) \ --with-includes="/usr/include/postgresql-${SLOT}/" \ + "$(built_with_use ~dev-db/postgresql-libs-${PV} nls && use_enable nls nls "$(wanted_languages)")" \ || die "configure failed" for bd in . contrib $(use xml && echo contrib/xml2) ; do diff --git a/dev-db/postgresql-server/postgresql-server-8.1.9.ebuild b/dev-db/postgresql-server/postgresql-server-8.1.9.ebuild index 85133ad..117754f 100644 --- a/dev-db/postgresql-server/postgresql-server-8.1.9.ebuild +++ b/dev-db/postgresql-server/postgresql-server-8.1.9.ebuild @@ -15,7 +15,19 @@ SRC_URI="mirror://postgresql/source/v${PV}/postgresql-base-${PV}.tar.bz2 test? ( mirror://postgresql/source/v${PV}/postgresql-test-${PV}.tar.bz2 )" LICENSE="POSTGRESQL" SLOT="$(get_version_component_range 1-2)" -IUSE="doc perl python selinux tcl test xml eselect" +# 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 perl python selinux tcl test xml eselect ${IUSE_LINGUAS}" + +wanted_languages() { + for u in ${IUSE_LINGUAS} ; do + use $u && echo ${u#linguas_} + done +} RDEPEND="~dev-db/postgresql-libs-${PV} perl? ( >=dev-lang/perl-5.6.1-r2 ) @@ -69,12 +81,13 @@ 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)" \ $(use_with perl) \ $(use_with python) \ $(use_with tcl) \ --with-includes="/usr/include/postgresql-${SLOT}/" \ + "$(built_with_use ~dev-db/postgresql-libs-${PV} nls && use_enable nls nls "$(wanted_languages)")" \ || die "configure failed" for bd in . contrib $(use xml && echo contrib/xml2) ; do diff --git a/dev-db/postgresql-server/postgresql-server-8.2.4.ebuild b/dev-db/postgresql-server/postgresql-server-8.2.4.ebuild index 50ab286..cbe5b41 100644 --- a/dev-db/postgresql-server/postgresql-server-8.2.4.ebuild +++ b/dev-db/postgresql-server/postgresql-server-8.2.4.ebuild @@ -15,7 +15,19 @@ SRC_URI="mirror://postgresql/source/v${PV}/postgresql-base-${PV}.tar.bz2 test? ( mirror://postgresql/source/v${PV}/postgresql-test-${PV}.tar.bz2 )" LICENSE="POSTGRESQL" SLOT="$(get_version_component_range 1-2)" -IUSE="doc perl python selinux tcl test xml eselect" +# 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 perl python selinux tcl test xml eselect ${IUSE_LINGUAS}" + +wanted_languages() { + for u in ${IUSE_LINGUAS} ; do + use $u && echo ${u#linguas_} + done +} RDEPEND="~dev-db/postgresql-libs-${PV} perl? ( >=dev-lang/perl-5.6.1-r2 ) @@ -74,13 +86,14 @@ 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)" \ --disable-thread-safety \ $(use_with perl) \ $(use_with python) \ $(use_with tcl) \ --with-includes="/usr/include/postgresql-${SLOT}/" \ + "$(built_with_use ~dev-db/postgresql-libs-${PV} nls && use_enable nls nls "$(wanted_languages)")" \ || die "configure failed" for bd in . contrib $(use xml && echo contrib/xml2) ; do |