From a1dc1c896f0b54678e654944dde9afd8cb5c0343 Mon Sep 17 00:00:00 2001 From: jlam Date: Sat, 18 Dec 2004 15:59:55 +0000 Subject: Patch Makefile.shlib so that when creating shared libraries, we don't only pass only the -L* LDFLAGS to the linker. This is correct for pkgsrc since the wrapper scripts take care of correctly passing the rpath info to the linker, so we don't need to filter those out. This allows plpgsql.so to find libintl.so if we are using the pkgsrc version of it. Bump the PKGREVISION of postgresql*-lib to 7.3.8nb1 and 7.4.6nb2. Link the postgres binary with the necessary flags to allow it to dlopen() modules that use pthreads[*]. This should allow postgres to open a plperl.so module built on a system with perl+threads. Bump the PKGREVISION of postgresql*-server to 7.3.8nb2 and 7.4.6nb2. [*] Note that this behavior can be tweaked globally by setting DLOPEN_REQUIRE_PTHREADS to "yes" or "no" in /etc/mk.conf. --- databases/postgresql73-lib/Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'databases/postgresql73-lib') diff --git a/databases/postgresql73-lib/Makefile b/databases/postgresql73-lib/Makefile index 24778e6c275..004f7be389b 100644 --- a/databases/postgresql73-lib/Makefile +++ b/databases/postgresql73-lib/Makefile @@ -1,7 +1,7 @@ -# $NetBSD: Makefile,v 1.4 2004/11/28 19:19:51 jlam Exp $ +# $NetBSD: Makefile,v 1.5 2004/12/18 15:59:55 jlam Exp $ PKGNAME= postgresql73-lib-${BASE_VERS} -PKGREVISION= # empty +PKGREVISION= 1 SVR4_PKGNAME= pstgl COMMENT= PostgreSQL database headers and libraries -- cgit v1.2.3