> -----Original Message-----
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] Behalf Of Brian Candler
> Sent: Thursday, February 03, 2005 11:42 AM
> To: [email protected]
> Subject: Re: 0.9.7e with "./config shared" won't build under 
> FreeBSD 5.3
> 
> 
> On Thu, Feb 03, 2005 at 03:17:49PM +0000, Johnny C. Lam wrote:
> > Try the attached patch taken from the NetBSD Packages 
> Collection.  From
> > what I understand, this is already part of the openssl-0.9.7-stable
> > branch.
> > 
> >     Cheers,
> > 
> >     -- Johnny Lam <[EMAIL PROTECTED]>
> 
> > --- Configure.orig  2004-10-01 07:34:28.000000000 -0400
> > +++ Configure       2005-02-03 10:06:37.000000000 -0500
> > @@ -1167,8 +1167,8 @@
> >     }
> >  $des_obj=$des_enc  unless (!$fips && $des_obj =~ /\.o$/);
> >  my $fips_des_obj='asm/fips-dx86-elf.o';
> > -$fips_des_obj=$fips_des_enc unless $processor eq '386';
> > -my $fips_sha1_obj='asm/sx86-elf.o' if $processor eq '386';
> > +$fips_des_obj=$fips_des_enc unless ($fips && $processor eq '386');
> > +my $fips_sha1_obj='asm/sx86-elf.o' if ($fips && $processor 
> eq '386');
> >  $bf_obj=$bf_enc            unless ($bf_obj =~ /\.o$/);
> >  $cast_obj=$cast_enc        unless ($cast_obj =~ /\.o$/);
> >  $rc4_obj=$rc4_enc  unless ($rc4_obj =~ /\.o$/);
> 
> Thank you! That patch did the trick.
> 
> You prodded me into looking into the FreeBSD ports collection 
> and how they
> deal with it. Their solution appears to be a bit more brutal:
> 
> --- Makefile.org.orig   Tue Sep 28 22:52:14 2004
> +++ Makefile.org        Fri Nov  5 18:21:09 2004
> @@ -175,8 +175,8 @@
>  # we might set SHLIB_MARK to '$(SHARED_LIBS)'.
>  SHLIB_MARK=
>  
> -DIRS=   crypto fips ssl $(SHLIB_MARK) sigs apps test tools
> -SHLIBDIRS= fips crypto ssl
> +DIRS=   crypto ssl $(SHLIB_MARK) sigs apps test tools
> +SHLIBDIRS= crypto ssl
>  
>  # dirs in crypto to build
>  SDIRS=  objects \
> 

And it will go away once they switchover to the latest openssl that
has the patch that Johnny referenced.

Ted 
______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
Development Mailing List                       [email protected]
Automated List Manager                           [EMAIL PROTECTED]

Reply via email to