Subject: pkg/27130: lang/tcl-expect doesn't build, trying to use @LD_FLAGS@
To: None <gnats-bugs@gnats.NetBSD.org>
From: Simon Burge <simonb@wasabisystems.com>
List: pkgsrc-bugs
Date: 10/04/2004 08:51:42
>Number:         27130
>Category:       pkg
>Synopsis:       lang/tcl-expect doesn't build, trying to use @LD_FLAGS@
>Confidential:   no
>Severity:       serious
>Priority:       low
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sun Oct 03 22:52:00 UTC 2004
>Closed-Date:
>Last-Modified:
>Originator:     
>Release:        NetBSD 2.0_BETA, pkgsrc from 4 Oct 2004.
>Organization:
Wasabi Systems
>Environment:
System: NetBSD thoreau 2.0_BETA NetBSD 2.0_BETA (THOREAU)
	#10: Sat Sep 18 17:38:45 EST 2004
	simonb@thoreau:/usr/obj/sys/arch/i386/compile/THOREAU i386
Architecture: i386
Machine: i386
>Description:
	lang/tcl-expect is trying to use @LD_FLAGS@ when linking the
	expect program:

...
ranlib libexpect538.a
libtool  --mode=link gcc -pipe -O2 -I/usr/pkg/include -O2 -DDFLT_STTY="\"sane\"" @LD_FLAGS@ -o expect exp_main_exp.o libexpect538.a -L/usr/obj/pkg/lang/tcl/work.thoreau/tcl8.4.7/unix -ltcl84 -L/usr/pkg/lib -Wl,-R/usr/pkg/lib   -lpthread -lm -lutil -Wl,-rpath,/usr/pkg/lib:/usr/pkg/lib
gcc -pipe -O2 -I/usr/obj/pkg/lang/tcl-expect/work.thoreau/.buildlink/include -O2 -DDFLT_STTY=\"sane\" @LD_FLAGS@ -o expect exp_main_exp.o -Wl,-R/usr/pkg/lib -Wl,-rpath -Wl,/usr/pkg/lib  libexpect538.a /usr/obj/pkg/lang/tcl-expect/work.thoreau/.buildlink/lib/libtcl84.so -L/usr/obj/pkg/lang/tcl-expect/work.thoreau/.buildlink/lib -lpthread -lm -lutil -Wl,--rpath -Wl,/usr/obj/pkg/lang/tcl-expect/work.thoreau/.buildlink/lib -Wl,--rpath -Wl,/usr/obj/pkg/lang/tcl-expect/work.thoreau/.buildlink/lib
gcc: @LD_FLAGS@: No such file or directory

>How-To-Repeat:
	cd pkgsrc/lang/tcl-expect
	make install

>Fix:
	None given.
>Release-Note:
>Audit-Trail:
>Unformatted: