ports@, The following patch against OPENBSD_4_9 helps databases/pgtcl fit in better with stu's changes to tcl.port.mk. This makes ``package require Pgtcl'' work without altering auto_path in every script that uses it.
Thanks, Andy p.s. I am not subscribed to this list. Index: Makefile =================================================================== RCS file: /home/cvs/ports/databases/pgtcl/Makefile,v retrieving revision 1.6 diff -u -r1.6 Makefile --- Makefile 15 Nov 2010 00:22:53 -0000 1.6 +++ Makefile 31 Jul 2011 05:40:20 -0000 @@ -36,7 +36,8 @@ --with-tcl=${MODTCL_LIBDIR} \ --with-tclinclude=${MODTCL_INCDIR} \ --with-postgres-include=${LOCALBASE}/include/postgresql \ - --with-postgres-lib=${LOCALBASE}/lib + --with-postgres-lib=${LOCALBASE}/lib \ + --libdir=${MODTCL_TCLDIR} MAKE_FLAGS= PKG_LIB_FILE=libpgtcl.so.${LIBpgtcl_VERSION} NO_REGRESS= Yes Index: pkg/PLIST =================================================================== RCS file: /home/cvs/ports/databases/pgtcl/pkg/PLIST,v retrieving revision 1.1.1.1 diff -u -r1.1.1.1 PLIST --- pkg/PLIST 13 Oct 2007 08:54:02 -0000 1.1.1.1 +++ pkg/PLIST 31 Jul 2011 05:40:20 -0000 @@ -1,9 +1,9 @@ @comment $OpenBSD: PLIST,v 1.1.1.1 2007/10/13 08:54:02 steven Exp $ include/libpgtcl.h -lib/pgtcl1.5/ -@lib lib/pgtcl1.5/libpgtcl.so.${LIBpgtcl_VERSION} -lib/pgtcl1.5/pgtcl.tcl -lib/pgtcl1.5/pkgIndex.tcl +lib/tcl/pgtcl1.5/ +@lib lib/tcl/pgtcl1.5/libpgtcl.so.${LIBpgtcl_VERSION} +lib/tcl/pgtcl1.5/pgtcl.tcl +lib/tcl/pgtcl1.5/pkgIndex.tcl share/doc/pgtcl/ share/doc/pgtcl/html/ share/doc/pgtcl/html/index.html