Subject: Re: buildlink problems
To: None <tech-pkg@netbsd.org>
From: Jonathan Perkin <sketch@rd.bbc.co.uk>
List: tech-pkg
Date: 11/13/2002 18:38:12
On Wed, Nov 13, 2002 at 03:57:33PM +0000, Jonathan Perkin wrote:

> I'm sure buildlink wouldn't remove standard library paths from the
> linker, would it?

No, but it *does* do the following: (from my generated .logic-trans)

# $NetBSD: pre-cache,v 1.5 2002/10/31 22:14:09 jlam Exp $

case $arg in
-[IL]/cache/pkgsrc/devel/gtexinfo/work*|-[IL]/cache/pkgsrc/devel/gtexinfo/work/.buildlink*|-[IL]/cache/pkgsrc/devel/gtexinfo/work/.buildlink-x11*)
        ;;
-[IL].|-[IL]./..*|-[IL]..*)
        ;;
-lc) arg="" ;; #4
# $NetBSD: post-cache,v 1.7 2002/10/30 00:23:00 jlam Exp $

No prizes for spotting the mistake.

I've been trying to further diagnose this, but having never looked at
bsd.buildlink2.mk before it's taking a while to grok :)  Looks like
the problem snuck in when moving to a single _BLNK_TRANSFORM_SED.

-- 
Jonathan Perkin - Internet Operations Engineer - BBC Internet Services
24x7 Hotline: +44 (0)1628 407 777 (x37777) - http://support.bbc.co.uk/