From 0eb27cdf5ccf8bbe6ed1379ec3e0dc50b7287fc8 Mon Sep 17 00:00:00 2001 From: darcy Date: Fri, 25 Feb 2000 22:32:33 +0000 Subject: Seem that I was a bit hasty with the previous change. This backs out that change and makes the correct one which is to simply remove the -Wl flag as cc can handle -R by itself. --- databases/py-postgresql/Makefile | 10 +++------- databases/py-postgresql/files/Setup.in | 4 ++-- 2 files changed, 5 insertions(+), 9 deletions(-) (limited to 'databases/py-postgresql') diff --git a/databases/py-postgresql/Makefile b/databases/py-postgresql/Makefile index 7b30373b7b7..4719de98ab6 100644 --- a/databases/py-postgresql/Makefile +++ b/databases/py-postgresql/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.3 2000/02/24 22:41:01 darcy Exp $ +# $NetBSD: Makefile,v 1.4 2000/02/25 22:32:33 darcy Exp $ DISTNAME= PyGreSQL-2.4 PKGNAME= py-postgresql-2.4 @@ -24,12 +24,8 @@ PGUSER?= pgsql PGPREFIX= ${LOCALBASE}/${PGUSER} # PostgreSQL home directory do-configure: - if echo __ELF__ | ${CC} -E - | grep -q __ELF__; \ - then ${SED} -e "s+@PGPREFIX@+${PGPREFIX}+g;s+@WLFLAG@++g" \ - ${FILESDIR}/Setup.in > ${WRKSRC}/Setup.in; \ - else ${SED} -e "s+@PGPREFIX@+${PGPREFIX}+g;s+@WLFLAG@+-Wl,+" \ - ${FILESDIR}/Setup.in > ${WRKSRC}/Setup.in; \ - fi + ${SED} -e "s,@PGPREFIX@,${PGPREFIX},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 5567e12d283..e191d36d2a2 100644 --- a/databases/py-postgresql/files/Setup.in +++ b/databases/py-postgresql/files/Setup.in @@ -1,4 +1,4 @@ -# $NetBSD: Setup.in,v 1.3 2000/02/24 22:41:02 darcy Exp $ +# $NetBSD: Setup.in,v 1.4 2000/02/25 22:32:34 darcy Exp $ # *shared* -_pg pgmodule.c -I@PGPREFIX@/include @WLFLAG@-R@PGPREFIX@/lib -L@PGPREFIX@/lib -lpq -lcrypt -DNO_DIRECT +_pg pgmodule.c -I@PGPREFIX@/include -R@PGPREFIX@/lib -L@PGPREFIX@/lib -lpq -lcrypt -DNO_DIRECT -- cgit v1.2.3