summaryrefslogtreecommitdiff
path: root/databases/py-postgresql
diff options
context:
space:
mode:
authorjlam <jlam>2000-04-09 03:53:50 +0000
committerjlam <jlam>2000-04-09 03:53:50 +0000
commit492da2ca59d59ff04050ef3e1a655398a6d36c58 (patch)
tree05201b1af8d2cc6039a3a92efbec24e58b67ff9e /databases/py-postgresql
parent6ed23565492eb08cd00cfd9daa6542b704eef990 (diff)
downloadpkgsrc-492da2ca59d59ff04050ef3e1a655398a6d36c58.tar.gz
Adapt to new postgresql include/library locations.
Diffstat (limited to 'databases/py-postgresql')
-rw-r--r--databases/py-postgresql/Makefile7
-rw-r--r--databases/py-postgresql/files/Setup.in4
2 files changed, 4 insertions, 7 deletions
diff --git a/databases/py-postgresql/Makefile b/databases/py-postgresql/Makefile
index 4719de98ab6..da35947169f 100644
--- a/databases/py-postgresql/Makefile
+++ b/databases/py-postgresql/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.4 2000/02/25 22:32:33 darcy Exp $
+# $NetBSD: Makefile,v 1.5 2000/04/09 03:55:35 jlam Exp $
DISTNAME= PyGreSQL-2.4
PKGNAME= py-postgresql-2.4
@@ -20,11 +20,8 @@ PLIST_SUBST+= PYTHON_LIBDIR=lib/python1.5
.include "../../mk/bsd.prefs.mk"
-PGUSER?= pgsql
-PGPREFIX= ${LOCALBASE}/${PGUSER} # PostgreSQL home directory
-
do-configure:
- ${SED} -e "s,@PGPREFIX@,${PGPREFIX},g" \
+ ${SED} -e "s,@LOCALBASE@,${LOCALBASE},g" \
${FILESDIR}/Setup.in > ${WRKSRC}/Setup.in
${CP} ${PYTHON_LIBDIR}/config/Makefile.pre.in ${WRKSRC}
cd ${WRKSRC}; ${MAKE} -f Makefile.pre.in boot
diff --git a/databases/py-postgresql/files/Setup.in b/databases/py-postgresql/files/Setup.in
index e191d36d2a2..e81b6bf8199 100644
--- a/databases/py-postgresql/files/Setup.in
+++ b/databases/py-postgresql/files/Setup.in
@@ -1,4 +1,4 @@
-# $NetBSD: Setup.in,v 1.4 2000/02/25 22:32:34 darcy Exp $
+# $NetBSD: Setup.in,v 1.5 2000/04/09 03:55:36 jlam Exp $
#
*shared*
-_pg pgmodule.c -I@PGPREFIX@/include -R@PGPREFIX@/lib -L@PGPREFIX@/lib -lpq -lcrypt -DNO_DIRECT
+_pg pgmodule.c -I@LOCALBASE@/include/pgsql -R@LOCALBASE@/lib -L@LOCALBASE@/lib -lpq -lcrypt -DNO_DIRECT