Subject: pkg/24816: tcl-postgresql (current) doesn't build, tcl miss-fit (patch included)
To: None <gnats-bugs@gnats.NetBSD.org>
From: None <netbsd-install@home.nl>
List: netbsd-bugs
Date: 03/17/2004 13:23:41
>Number:         24816
>Category:       pkg
>Synopsis:       tcl-postgresql (current) doesn't build, tcl miss-fit (patch included)
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Wed Mar 17 13:24:00 UTC 2004
>Closed-Date:
>Last-Modified:
>Originator:     Noud de Brouwer
>Release:        1.6ZK
>Organization:
none
>Environment:
NetBSD 192.168.66.11 1.6ZK NetBSD 1.6ZK (ME_LAPTOP) #0: Thu Feb 26 21:32:27 CET 2004  root@192.168.66.11:/usr/src/sys/arch/i386/compile/ME_LAPTOP i386
>Description:
(after updating tcl&tk, guess it's still work-in-progress)

gcc -O2 -I/usr/pkg/include -Wall -Wmissing-prototypes -Wmissing-declarations pgtclAppInit.o -L../../../src/interfaces/libpgtcl -lpgtcl -lpq -Wl,-R/usr/pkg/lib -L/usr/pkg/lib -ltcl84 -lm -L/usr/pkg/lib -Wl,-R/usr/pkg/lib  -L/usr/lib -Wl,-R/usr/pkg/lib -lssl -lcrypto -lcrypt -lresolv -lcompat -lm -lutil  -o pgtclsh
ld: cannot find -ltcl84
gmake: *** [pgtclsh] Error 1
*** Error code 2

>How-To-Repeat:
clean install + current pkgsrc
cd /usr/pkgsrc/databases/tcl-postgresql; make
>Fix:
--- Makefile    2004-03-17 14:04:26.000000000 +0100
+++ Makefile.new        2004-03-17 14:04:23.000000000 +0100
@@ -23,6 +23,6 @@
                `${SED} -e "s|#.*||" ${FILESDIR}/man.tcl`
  
 .include "../postgresql-lib/buildlink2.mk"
-.include "../../lang/tcl83/buildlink2.mk"
+.include "../../lang/tcl/buildlink2.mk"
  
 .include "../../mk/bsd.pkg.mk"

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