From owner-freebsd-ports Mon Sep 21 15:35:55 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id PAA29739 for freebsd-ports-outgoing; Mon, 21 Sep 1998 15:35:55 -0700 (PDT) (envelope-from owner-freebsd-ports@FreeBSD.ORG) Received: from bright.fx.genx.net (bright.fx.genx.net [206.64.4.154]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id PAA29597; Mon, 21 Sep 1998 15:35:04 -0700 (PDT) (envelope-from bright@hotjobs.com) Received: from localhost (bright@localhost) by bright.fx.genx.net (8.9.1/8.9.1) with SMTP id SAA11452; Mon, 21 Sep 1998 18:35:38 -0500 (EST) (envelope-from bright@hotjobs.com) X-Authentication-Warning: bright.fx.genx.net: bright owned process doing -bs Date: Mon, 21 Sep 1998 18:35:38 -0500 (EST) From: Alfred Perlstein X-Sender: bright@bright.fx.genx.net To: ports@FreeBSD.ORG cc: current@FreeBSD.ORG Subject: Re: Patch to build XFree86 w/ Krb4 in an ELF world In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org 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