Please bump this. The 1.49 version in portage is 2-years old. I'm attaching an ebuild here, which I'm using on amd64 and works fine. Thanks!
Created attachment 148573 [details] DBD::Pg 2.5.0 ebuild
DBD-Pg 2.8.0 is the latest as of 01 June 2008...any reason Gentoo doesn't have it?
Created attachment 157417 [details] DBD::Pg 2.8.1 ebuild
Attached ebuild for version 2.8.1. It also fixes DEPEND in order to match new postgresql ebuild scheme.
Created attachment 157431 [details] DBD-Pg 2.8.1 Fix a bug in previously sumbitted ebuild.
Created attachment 161170 [details] DBD::Pg 2.8.6 ebuild Here's the new DBD::Pg bump. Since it doesn't seem it'll get into Portage anytime soon as this package looks pretty unmaintained to me, I just wanted to let you know that I'm maintaining it in the perl-experimental overlay. So, you just need to install layman and add that overlay to keep yourself up-to-date with this module, hoping the version in Portage will catch up soon or later..
(In reply to comment #6) > Created an attachment (id=161170) [edit] > DBD::Pg 2.8.6 ebuild > > Here's the new DBD::Pg bump. > > Since it doesn't seem it'll get into Portage anytime soon as this package looks > pretty unmaintained to me, I just wanted to let you know that I'm maintaining > it in the perl-experimental overlay. > So, you just need to install layman and add that overlay to keep yourself > up-to-date with this module, hoping the version in Portage will catch up soon > or later.. 1) Are these pathes correct? | # env variables for compilation: | export POSTGRES_INCLUDE=/usr/include/postgresql/ | export POSTGRES_LIB=/usr/lib/postgresql/ I guess you need at least: | inherit multilib | export POSTGRES_LIB=/usr/$(get_libdir)/postgresql/ but looking at postgresql-base it probably is not correct: it uses something like /usr/$(get_libdir)/postgresql-${SLOT}/$(get_libdir) 2) From Makefile.PL: | Note that if you have | compiled PostgreSQL with SSL support, you must define the POSTGRES_LIB | environment variable and add "-lssl" to it, like this: | | export POSTGRES_LIB="/usr/local/pgsql/lib -lssl" Is there anything to do?
Created attachment 162831 [details] DBD-Pg 2.9.0 I don't know that much about Postgres unfortunately, so someone else will need to step in to fix the ebuild as per Torsten Veller comments. In the meanwhile I'm attaching 2.9.0. I commented out the INCLUDE variable definition, it seems to pick up the latest version correctly (well, I just have one version installed anyhow).
@postgresql: Please help with these ebuilds.
(In reply to comment #7) > I guess you need at least: > | inherit multilib > | export POSTGRES_LIB=/usr/$(get_libdir)/postgresql/ > but looking at postgresql-base it probably is not correct: it uses > something like /usr/$(get_libdir)/postgresql-${SLOT}/$(get_libdir) Perhaps I'm wrong here, but I don't see anyway to determine the SLOT of another package (in this case, dev-db/postgresql-base) from an ebuild. Maybe one of the more experienced devs can comment on that? If we can't get the SLOT of dev-db/postgresql-base from this ebuild, then we can't determine the correct POSTGRES_LIB environment variable.
(In reply to comment #10) > Perhaps I'm wrong here, but I don't see anyway to determine the SLOT of another > package (in this case, dev-db/postgresql-base) from an ebuild. Maybe one of > the more experienced devs can comment on that? I am no experienced devver, nor do i know whether this is an allowed solution but i solved it locally by changing the SLOT definition to: SLOT=$(eselect postgresql show)
*DBD-Pg-2.11.8 (16 Jan 2009) 16 Jan 2009; Robin H. Johnson <robbat2@gentoo.org> +DBD-Pg-2.11.8.ebuild: Version bump, passes on 8.3 split and 8.2 non-split for me.