On Mon, Aug 22, 2005 at 09:38:29PM +0200, Matthijs Mohlmann wrote:
> tag 323065 + patch
> thanks

> Here a patch that fixes the include part in debian/rules and changes the
> dependency from postgresql-dev to libpq-dev, that comes from the
> postgresql transition.

> diff -ruN bla/sqlxx-2.3.2/debian/control sqlxx-2.3.2/debian/control
> --- bla/sqlxx-2.3.2/debian/control    2005-08-22 21:30:03.844626456 +0200
> +++ sqlxx-2.3.2/debian/control        2005-08-22 21:23:28.268617824 +0200
> @@ -2,7 +2,7 @@
>  Section: libs
>  Priority: optional
>  Maintainer: Klaus Reimer <[EMAIL PROTECTED]>
> -Build-Depends: debhelper (>> 4.0.0), libtool, automake, autoconf, 
> libiodbc2-dev, libstrutilsxx-dev (>= 0.7.1-3), libmysqlclient12-dev, 
> postgresql-dev
> +Build-Depends: debhelper (>> 4.0.0), libtool, automake, autoconf, 
> libiodbc2-dev, libstrutilsxx-dev (>= 0.7.1-3), libmysqlclient12-dev, libpq-dev
>  Standards-Version: 3.6.1
>  
>  Package: libsqlxx-dev
> diff -ruN bla/sqlxx-2.3.2/debian/rules sqlxx-2.3.2/debian/rules
> --- bla/sqlxx-2.3.2/debian/rules      2005-08-22 21:30:03.845626304 +0200
> +++ sqlxx-2.3.2/debian/rules  2005-08-22 21:23:16.270441824 +0200
> @@ -46,7 +46,7 @@
>         --enable-odbc \
>         --enable-postgres \
>         --disable-debug \
> -       --with-extra-includes=/usr/include/mysql,/usr/include/postgresql
> +       --with-extra-includes=/usr/include/mysql,/usr/include/postgresql/8.0
>  
>  
>  build: build-stamp

Except that the postgresql client headers have just been moved *back*
from /usr/include/postgresql/8.0 to /usr/include/postgresql, so this
won't work so well.

The correct fix in any case is to use the output of pg_config to detect
header paths.

-- 
Steve Langasek                   Give me a lever long enough and a Free OS
Debian Developer                   to set it on, and I can move the world.
[EMAIL PROTECTED]                                   http://www.debian.org/

Attachment: signature.asc
Description: Digital signature

Reply via email to