pkgsrc-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: Strange errors while compiling security/p5-GSSAPI



Greg Troxel <gdt%ir.bbn.com@localhost> writes:

> Thomas Klausner <wiz%NetBSD.org@localhost> writes:
>
>> On Wed, Aug 03, 2016 at 03:22:39PM -0600, Swift Griggs wrote:
>>> On Wed, 3 Aug 2016, Greg Troxel wrote:
>>> > When building packages, the buildlink3 machinery arranges that only 
>>> > include/lib files in the buildlink3 shadow tree are visible. [...]
>>> 
>>> Thanks! Greg, I figured it out. This simple patch fixes it, and it's based 
>>> on your help. 
>>> 
>>> --- Makefile    2016-08-03 15:19:35.000000000 -0600
>>> +++ Makefile~   2016-08-03 15:21:13.000000000 -0600
>>> @@ -16,5 +16,4 @@
>>>  
>>>  .include "../../lang/perl5/module.mk"
>>>  .include "../../mk/krb5.buildlink3.mk"
>>> -.include "../mit-krb5/buildlink3.mk"
>>>  .include "../../mk/bsd.pkg.mk"
>
> Note that this patch is backwards!  You are adding a bl3 line....
>
>> This sounds like you should set
>>
>>      KRB5_DEFAULT=mit-krb5
>>
>> in your /etc/mk.conf instead.
>
> I don't follow.  Shouldn't including mk/krb5.buildink3.mk be sufficient
> to get the proper krb5 impl?  And if p5-GSSAPI is not ok with some
> variants, then perhaps it should do something about that.

FWIW, p5-GSSAPI builds fine on netbsd-6 and netbsd-7 with no
KRB5_DEFAULT setting.  Do you have anything in your mk.conf?  What
OS/version?  Do you have a krb5 package installed?

Attachment: signature.asc
Description: PGP signature



Home | Main Index | Thread Index | Old Index