Subject: Re: Debugging a buildlink wrapper problem?
To: walt <wa1ter@myrealbox.com>
From: Juan RP <juan@xtrarom.org>
List: tech-pkg
Date: 08/07/2005 22:51:53
On Sun, 07 Aug 2005 13:45:34 -0700
walt <wa1ter@myrealbox.com> wrote:

> Yes!  That was the problem.
> 
> This is exactly what I did to fix it:
> 
> # cd /usr/pkgsrc/wip/jdk14/work/.buildlind/include
> # mkdir mozilla
> # cd mozilla
> # ln -s /usr/pkg/include/mozilla/nspr nspr
> 
> Given the information above, can you suggest what changes should
> be made to the jdk14 package?  (Is it really as simple as including
> the buildlink file from mozilla?  I can't see how it would help, but
> please 'splain it to me :o)

You have two options:

* Add the correct buildlink (mozilla in this case)

or

* BUILDLINK_PASSTHRU_DIRS+= ${LOCALBASE}/include/mozilla/nspr

Cheers.