pkgsrc-Bugs archive

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

Re: pkg/43774: update patchfile for openssl to support amd64 on Dragonfly BSD



Am 18.08.2010 um 01:55 schrieb Thomas Klausner:

> The following reply was made to PR pkg/43774; it has been noted by GNATS.
> 
> From: Thomas Klausner <wiz%NetBSD.org@localhost>
> To: dl%xiqit.de@localhost
> Cc: NetBSD bugtracking <gnats-bugs%NetBSD.org@localhost>
> Subject: Re: pkg/43774: update patchfile for openssl to support amd64 on
> Dragonfly BSD
> Date: Wed, 18 Aug 2010 01:52:42 +0200
> 
> On Tue, Aug 17, 2010 at 10:45:00PM +0000, dl%xiqit.de@localhost wrote:
>> The problem is easily fixed by changing line 56 of 
>> /usr/pkgsrc/security/openssl/patches/patch-aa
>> 
>> from 
>> amd64-*-*bsd*)       OUT="BSD-x86_64" ;;
>> 
>> to
>> amd64-*-*bsd*|*-dragonfly*)  OUT="BSD-x86_64" ;;
>> 
>> after that the compile flags are set correctly for 64 bit.
> 
> Won't this also change the compilation flags for 32 bit DragonFly to
> 64 bit and thus break 32 bit DragonFly systems?
>  Thomas
> 

Oh, you are right, it would. But when we change it to 

amd64-*-*bsd*|x86_64-*-dragonfly*)  OUT="BSD-x86_64" ;;

it should be ok then. I just tested it on i386 and x86_64.

The relevant output of configure is here:

Operating system: x86_64-whatever-dragonfly
Configuring for BSD-x86_64
Configuring for BSD-x86_64


Operating system: i386-whatever-dragonfly
Configuring for BSD-x86-elf
Configuring for BSD-x86-elf


Damian



Home | Main Index | Thread Index | Old Index