Subject: CVS commit: pkgsrc/databases
To: None <pkgsrc-changes@NetBSD.org>
From: Johnny C. Lam <jlam@netbsd.org>
List: pkgsrc-changes
Date: 12/18/2004 16:36:30
Module Name:	pkgsrc
Committed By:	jlam
Date:		Sat Dec 18 16:36:30 UTC 2004

Modified Files:
	pkgsrc/databases/postgresql74: distinfo
	pkgsrc/databases/postgresql74-plperl: Makefile
	pkgsrc/databases/postgresql74/patches: patch-ac

Log Message:
Fix postgresql74-plperl so that it finds libperl.so at runtime.  The
PostgreSQL configure/build infrastructure tries very hard to separate
rpath flags from other LDFLAGS, which is completely unnecessary in
pkgsrc since the wrapper scripts are smart enough to deal with it on
their own.  In this case, the GNU configure script was stripping out
the rpath to libperl.so when setting perl_embed_ldflags, so modify
the configure script to not do this.

Also re-enable this package since it's possible to load the plperl.so
language module again.  I tested this with:

	createdb foo
	createlang -d foo plperl


To generate a diff of this commit:
cvs rdiff -r1.13 -r1.14 pkgsrc/databases/postgresql74/distinfo
cvs rdiff -r1.1.1.1 -r1.2 pkgsrc/databases/postgresql74-plperl/Makefile
cvs rdiff -r1.1 -r1.2 pkgsrc/databases/postgresql74/patches/patch-ac

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