Module: sip-router Branch: janakj/postgres Commit: 13f4e9799b7adadc90b9f33b69c5bceb70d550bd URL: http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=13f4e979...
Author: Maxim Sobolev sobomax@sippysoft.com Committer: Maxim Sobolev sobomax@sippysoft.com Date: Tue Apr 13 09:05:16 2004 +0000
Add $(LOCALBASE)/include into headers search path and $(LOCALBASE)/lib into libs search path to make postgres compiling on FreeBSD.
---
modules/db_postgres/Makefile | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/modules/db_postgres/Makefile b/modules/db_postgres/Makefile index ce55adf..56bced5 100644 --- a/modules/db_postgres/Makefile +++ b/modules/db_postgres/Makefile @@ -7,8 +7,8 @@ auto_gen= NAME=postgres.so
# libpq-fe.h locations -DEFS +=-I/usr/local/pgsql/include -I/usr/include/postgresql -LIBS=-L$(LOCALBASE)/pgsql/lib -L$(LOCALBASE)/lib/pgsql -L/usr/pkg/lib \ +DEFS +=-I$(LOCALBASE)/include -I/usr/local/pgsql/include -I/usr/include/postgresql +LIBS=-L$(LOCALBASE)/lib -L$(LOCALBASE)/pgsql/lib -L$(LOCALBASE)/lib/pgsql -L/usr/pkg/lib \ -L/usr/pkg/lib/pgsql -lpq
include ../../Makefile.modules