Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 21 Sep 1998 18:35:38 -0500 (EST)
From:      Alfred Perlstein <bright@hotjobs.com>
To:        ports@FreeBSD.ORG
Cc:        current@FreeBSD.ORG
Subject:   Re: Patch to build XFree86 w/ Krb4 in an ELF world 
Message-ID:  <Pine.BSF.4.02A.9809211834400.11447-100000@bright.fx.genx.net>
In-Reply-To: <Pine.OSF.4.02.9809211437240.750-100000@fly.HiWAAY.net>

next in thread | previous in thread | raw e-mail | index | archive | help
btw, it seems you can only build the SVGA server, others cause annoying
non-linking errors in the final link.

Alfred Perlstein - Programmer, HotJobs Inc. - www.hotjobs.com
-- There are operating systems, and then there's FreeBSD.
-- http://www.freebsd.org/                        3.0-current

On Mon, 21 Sep 1998, Steve Price wrote:

> On Mon, 21 Sep 1998, Mark Murray wrote:
> 
> [...]
> @@ -250,7 +258,11 @@
>  answ=NO
>  cpkb=NO
>  if [ $answ = YES ]; then
> -    LIBKRB=/usr/lib/libkrb.a
> +    if [ $ELF = yes ]; then
> +      LIBKRB=/usr/lib/libkrb.a
> +    else
> +      LIBKRB=/usr/lib/aout/libkrb.a
> +    fi
>      K4PATCH=$FILESDIR/kerberos4.diffs
>      K4XDM="$FILESDIR/krb4auth.c $FILESDIR/krb4auth.h"
>      XDMDIR=$WRKDIR/xc/programs/xdm/
> [...]
> 
> How about something along these lines:
> 
> if [ $ELF = yes ]; then
>   LIBKRB=/usr/lib/libkrb.a
> elif [ -d /usr/lib/aout ]; then
>   LIBKRB=/usr/lib/aout/libkrb.a
> else
>   LIBKRB=/usr/lib/libkrb.a
> fi
> 
> I don't know that this one matters, but it does catch the
> corner case where world is still a.out and /usr/lib/aout
> doesn't exist yet.
> 
> Steve
> 
> 
> To Unsubscribe: send mail to majordomo@FreeBSD.org
> with "unsubscribe freebsd-current" in the body of the message
> 


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports" in the body of the message



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.4.02A.9809211834400.11447-100000>