Package: emboss
Version: 6.4.0-2
Severity: normal
Tags: patch

emboss is built without PostgreSQL support.
(emboss build-depends on libpq-dev so I'm guessing this is not
by intention.)

> checking for pg_config... /usr/bin/pg_config
> checking for PostgreSQL libraries... no

The configure script doesn't add "-I/usr/include/postgresql" to the gcc
command line because of a typo in m4/postgresql.m4.

> conftest.c:40:68: fatal error: libpq-fe.h: No such file or directory

Attached is a patch that fixes the typo.
--- emboss-6.4.0.orig/m4/postgresql.m4
+++ emboss-6.4.0/m4/postgresql.m4
@@ -98,7 +98,7 @@
             EMBCPPFLAGS=$CPPFLAGS
 	    EMBLDFLAGS=$LDFLAGS
             
-            CPPFLAGS="$POSTGRESSQL_CPPFLAGS $EMBCPPFLAGS"
+            CPPFLAGS="$POSTGRESQL_CPPFLAGS $EMBCPPFLAGS"
 	    LDFLAGS="$POSTGRESQL_LDFLAGS $EMBLDFLAGS"
 
             AC_LINK_IFELSE([AC_LANG_PROGRAM([[#include <stdio.h>

Reply via email to