[SR-Dev] git:janakj/postgres: Add $(LOCALBASE)/ include into headers search path and $(LOCALBASE)/lib into

Jan Janak jan at iptel.org
Sun Feb 15 18:55:25 CET 2009


Module: sip-router
Branch: janakj/postgres
Commit: 13f4e9799b7adadc90b9f33b69c5bceb70d550bd
URL:    http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=13f4e9799b7adadc90b9f33b69c5bceb70d550bd

Author: Maxim Sobolev <sobomax at sippysoft.com>
Committer: Maxim Sobolev <sobomax at 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




More information about the sr-dev mailing list