Steve Langasek wrote:
> On Mon, Aug 22, 2005 at 09:38:29PM +0200, Matthijs Mohlmann wrote:
> 

[..]

> 
> 
> 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.
> 

Shame on me, didn't thought about that one.

Here the patch that fixes it.

Regards,

Matthijs Mohlmann
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,`pg_config --includedir`
 
 
 build: build-stamp

Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to