Subject: pkg/27236: There is no PL/TCL package for Postgresql74
To: None <gnats-bugs@gnats.NetBSD.org>
From: None <iharding@destinydata.com>
List: pkgsrc-bugs
Date: 10/12/2004 16:18:57
>Number:         27236
>Category:       pkg
>Synopsis:       There is no PL/TCL package for Postgresql74
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    pkg-manager
>State:          open
>Class:          change-request
>Submitter-Id:   net
>Arrival-Date:   Tue Oct 12 16:19:00 UTC 2004
>Closed-Date:
>Last-Modified:
>Originator:     Ian Harding
>Release:        NetBSD 2.0RC1
>Organization:
Destiny Data
>Environment:
NetBSD workstation.tpchd.org 2.0_RC1 NetBSD 2.0_RC1 (GENERIC.MP) #0: Sun Oct  3 07:15:30 UTC 2004  autobuild@tgm.netbsd.org:/autobuild/netbsd-2-0/i386/OBJ/autobuild/netbsd-2-0/src/sys/arch/i386/compile/GENERIC.MP i386

>Description:
There is not a package for PL/TCL in the PostgreSQL74 tree.  I tried to simply hack the postgreSQL73 package, but it does not build.  I can get it to build if I change the tcl buildlink reference from 

.include "../../lang/tcl/buildlink3.mk"

to 

.include "../../lang/libtcl-nothread/buildlink3.mk"

There has been some discussion about whether this is proper, but it works for me.  

Thanks!
>How-To-Repeat:
cd /usr/pkgsrc/databases
ls postgresql74-pltcl
>Fix:
cd /usr/pkgsrc/databases
mkdir postgresql74-pltcl
cp postgresql73-pltcl/* postgresql74-pltcl
cd postgresql74-pltcl
sed 's/73/74/g' Makefile > Makefile.new
sed 's/\/tcl\//\/libtcl-nothread\//g' Makefile.new > Makefile
rm Makefile.new

>Release-Note:
>Audit-Trail:
>Unformatted: