Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 21 Sep 1998 14:44:30 -0500 (CDT)
From:      Steve Price <sprice@hiwaay.net>
To:        Mark Murray <mark@grondar.za>
Cc:        ports@FreeBSD.ORG, current@FreeBSD.ORG
Subject:   Re: Patch to build XFree86 w/ Krb4 in an ELF world 
Message-ID:  <Pine.OSF.4.02.9809211437240.750-100000@fly.HiWAAY.net>
In-Reply-To: <199809211917.VAA00798@gratis.grondar.za>

next in thread | previous in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.OSF.4.02.9809211437240.750-100000>