Package: courier
Version: 0.47-4
Severity: serious
Tags: patch

courier fails to build because it cannot find libpq-fe.h, which has
moved from /usr/include/postgresql to /usr/include/postgresql/8.0:

> Compiling authpgsql.c
> In file included from authpgsql.c:19:
> authpgsql.h:8:22: error: libpq-fe.h: No such file or directory

The attached patch makes it look in the new location, which fixes the
problem.

-- 
Matt
diff -u courier-0.47/debian/rules courier-0.47/debian/rules
--- courier-0.47/debian/rules
+++ courier-0.47/debian/rules
@@ -49,7 +49,7 @@
                --with-mysql-includes=/usr/include/mysql \
                --with-mysql-libs=/usr/lib \
                --with-authpgsql \
-               --with-pgsql-includes=/usr/include/postgresql \
+               --with-pgsql-includes=/usr/include/postgresql/8.0 \
                --with-pgsql-libs=/usr/lib \
                --without-authshadow \
                --without-authvchkpw \

Attachment: signature.asc
Description: Digital signature

Reply via email to