Subject: Re: how to link against libs from pkgsrc when also in base?
To: None <netbsd-help@netbsd.org>
From: Jukka Salmi <jukka-netbsd@2003.salmi.ch>
List: netbsd-help
Date: 02/24/2004 18:11:54
Hi,

Greg Troxel --> netbsd-help (2004-02-24 08:48:42 -0500):
> See mk/krb5.buildlink3.mk, included by security/cyrus-sasl2.  That is
> supposed to choose a krb5 implementation and buildlink it in.
> When building the package, look in work/.buildlink/lib to see where
> the libs are pointing to.

Thanks for the hint.


> It seems that there is not support in krb5.buildlink3.mk to use the
> in-tree heimdal code, but I'm not 100% sure that I'm reading this
> correctly.

I think there is: krb5.buildlink3.mk includes heimdals buildlink3.mk
where there are some tests to determine whether the systems heimdal
libs are sufficient or heimdal from pkgsrc is needed.

However, I found a solution to my problem: adding 'heimdal' to
PREFER_PKGSRC.

Thanks for pointing me in the right direction.

Jukka

-- 
bashian roulette:
$ ((RANDOM%6)) || rm -rf ~