Subject: Re: DragonFly and pkgsrc
To: Lars Nordlund <lars.nordlund@hem.utfors.se>
From: Merritt Draney <tmdraney@cox.net>
List: tech-pkg
Date: 10/13/2004 13:35:16
I grabbed the two configs placed them into libnbcompat and it got past
that. Then it just keeps going until it hits another app and I have to
do the same thing with it. This might take awhile but I am having fun.
Unless there is abetter way? Thanks for your help. Looks like the
DragonFly folks have had trouble with libtool and there are some
patches. Good luck.
Lars Nordlund wrote:
> On Sun, 2004-10-10 at 23:40 -0400, Merritt Draney wrote:
>
>>Well I downloaded pkgsrc onto a DragonFly system and did not get too
>>far. I think if I can trick it into thinking it is FreeBSD or at least
>>just BSD in general I could at least have a starting point. Here is the
>>output from bootstrap
>
>
> You can get past this by updating the config.sub and config.guess in
> pkgsrc/pkgtools/libnbcompat/files to the latest versions available (that
> has support for DragonFly).
>
> After that you need to create some files specifying the DragonFly
> platform in pkgsrc/mk. I started with the freebsd files and modified
> them for dragonfly. The biggest problem was to figure out that 'patch'
> on DragonFly seems to be the openbsd version with some flags changed. -b
> should be --suffix, I believe.
>
> Right now the simple stuff builds for me. I am currently struggling with
> libtool. I need to make some special patches, it seems. Not even the
> latest version of libtool seems to have support for DragonFly yet. Some
> patches are floating around though.
>
> I don't think faking FreeBSD is the way forward here. There will
> probably be too many differences between them anyway.
>
> I can probably make the pkgsrc fixes available next week or so. Need
> some more time on it.
>
>
> Best regards,
> Lars Nordlund
>
>