Subject: CVS commit: pkgsrc/databases
To: None <>
From: Johnny C. Lam <>
List: pkgsrc-changes
Date: 12/18/2004 15:59:55
Module Name:	pkgsrc
Committed By:	jlam
Date:		Sat Dec 18 15:59:55 UTC 2004

Modified Files:
	pkgsrc/databases/postgresql73: distinfo
	pkgsrc/databases/postgresql73-lib: Makefile
	pkgsrc/databases/postgresql73-server: Makefile
	pkgsrc/databases/postgresql74: distinfo
	pkgsrc/databases/postgresql74-lib: Makefile
	pkgsrc/databases/postgresql74-server: Makefile
	pkgsrc/databases/postgresql74/patches: patch-aa
Added Files:
	pkgsrc/databases/postgresql73/patches: patch-ab patch-ak
	pkgsrc/databases/postgresql74/patches: patch-ag

Log Message:
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 to find if we are using the pkgsrc version
of it.  Bump the PKGREVISION of postgresql*-lib to 7.3.8nb1 and

Link the postgres binary with the necessary flags to allow it to
dlopen() modules that use pthreads[*].  This should allow postgres to
open a 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.

To generate a diff of this commit:
cvs rdiff -r1.4 -r1.5 pkgsrc/databases/postgresql73/distinfo
cvs rdiff -r1.4 -r1.5 pkgsrc/databases/postgresql73-lib/Makefile
cvs rdiff -r1.4 -r1.5 pkgsrc/databases/postgresql73-server/Makefile
cvs rdiff -r0 -r1.1 pkgsrc/databases/postgresql73/patches/patch-ab \
cvs rdiff -r1.11 -r1.12 pkgsrc/databases/postgresql74/distinfo
cvs rdiff -r1.14 -r1.15 pkgsrc/databases/postgresql74-lib/Makefile
cvs rdiff -r1.6 -r1.7 pkgsrc/databases/postgresql74-server/Makefile
cvs rdiff -r1.1.1.1 -r1.2 pkgsrc/databases/postgresql74/patches/patch-aa
cvs rdiff -r0 -r1.1 pkgsrc/databases/postgresql74/patches/patch-ag

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.