[SR-Dev] git:janakj/postgres: - makefiles cleanups (use $(LOCALBASE) everywhere) -- fixes some include

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


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

Author: Andrei Pelinescu-Onciul <andrei at iptel.org>
Committer: Andrei Pelinescu-Onciul <andrei at iptel.org>
Date:   Wed Jun  1 22:25:05 2005 +0000

- makefiles cleanups (use $(LOCALBASE) everywhere) -- fixes some include
path problems on netbsd

---

 modules/db_postgres/Makefile |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/modules/db_postgres/Makefile b/modules/db_postgres/Makefile
index 56bced5..f42049b 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$(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
+DEFS +=-I$(LOCALBASE)/include -I$(LOCALBASE)/pgsql/include \
+	-I/usr/include/postgresql
+LIBS=-L$(LOCALBASE)/lib -L$(LOCALBASE)/pgsql/lib -L$(LOCALBASE)/lib/pgsql -lpq
 
 include ../../Makefile.modules




More information about the sr-dev mailing list