diff options
author | jlam <jlam@pkgsrc.org> | 2000-04-09 03:53:50 +0000 |
---|---|---|
committer | jlam <jlam@pkgsrc.org> | 2000-04-09 03:53:50 +0000 |
commit | e2104b8abbd824b77c27997e1b0e9d549be08d52 (patch) | |
tree | 05201b1af8d2cc6039a3a92efbec24e58b67ff9e /databases/py-postgresql | |
parent | 26b81e569891db09dd1ab4b46c2729ba3d5d1ac4 (diff) | |
download | pkgsrc-e2104b8abbd824b77c27997e1b0e9d549be08d52.tar.gz |
Adapt to new postgresql include/library locations.
Diffstat (limited to 'databases/py-postgresql')
-rw-r--r-- | databases/py-postgresql/Makefile | 7 | ||||
-rw-r--r-- | databases/py-postgresql/files/Setup.in | 4 |
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 |