Subject: CVS commit: pkgsrc/databases/postgresql
To: None <pkgsrc-changes@netbsd.org>
From: Johnny C. Lam <jlam@netbsd.org>
List: pkgsrc-changes
Date: 12/06/2001 05:46:22
Module Name:	pkgsrc
Committed By:	jlam
Date:		Thu Dec  6 03:46:22 UTC 2001

Modified Files:
	pkgsrc/databases/postgresql: distinfo
	pkgsrc/databases/postgresql/patches: patch-ah

Log Message:
Add -Wl flags from LDFLAGS to the EXTRA_LIBS.  This allows libpq.so to be
found at run-time, as before, the -Wl,-R options that set the run-time
library search path weren't being used.  Simply using LDFLAGS without
filtering doesn't work because the configure script appends CFLAGS to
LDFLAGS, and some commonly-used compiler options, e.g. -mcpu=..., which
causes python's makesetup to choke because the options aren't in the list
of recognized linker options.  Thanks to D'Arcy J.M. Cain <darcy@druid.net>
for pointing out the error and possible solution.


To generate a diff of this commit:
cvs rdiff -r1.8 -r1.9 pkgsrc/databases/postgresql/distinfo
cvs rdiff -r1.8 -r1.9 pkgsrc/databases/postgresql/patches/patch-ah

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