From owner-cvs-all Mon Jun 1 13:36:36 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id NAA27543 for cvs-all-outgoing; Mon, 1 Jun 1998 13:36:36 -0700 (PDT) (envelope-from owner-cvs-all@FreeBSD.ORG) Received: from godzilla.zeta.org.au (godzilla.zeta.org.au [203.15.68.22]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id NAA27463; Mon, 1 Jun 1998 13:36:23 -0700 (PDT) (envelope-from bde@godzilla.zeta.org.au) Received: (from bde@localhost) by godzilla.zeta.org.au (8.8.7/8.8.7) id GAA29857; Tue, 2 Jun 1998 06:36:17 +1000 Date: Tue, 2 Jun 1998 06:36:17 +1000 From: Bruce Evans Message-Id: <199806012036.GAA29857@godzilla.zeta.org.au> To: mark@grondar.za, peter@netplex.com.au Subject: Re: cvs commit: src/share/mk bsd.libnames.mk Cc: cvs-all@FreeBSD.ORG, cvs-committers@FreeBSD.ORG, cvs-share@FreeBSD.ORG Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk >> Another problem: The kerberised apps (rlogin, etc) all have >> >> .if exists(${DESTDIR}/usr/lib/libkrb.a) && defined(MAKE_KERBEROS4) >> : >> .endif >... >How about something really silly like: > >.if exists(${LIBKRB}) && defined(MAKE_KERBEROS4) >: >.endif > >After all: >LIBKDB?= ${DESTDIR}${LIBDIR}/libkdb.a >LIBKRB?= ${DESTDIR}${LIBDIR}/libkrb.a > >LIBDIR varies depending on the build environment, so it should work >reasonably well... Except bsd.libnames.mk should go away. It was unused for a while before BINFORMAT appeared. You can just replace /usr/lib by ${LIBDIR}. OTOH perhaps a few special macros like LIBKDB should be defined centrally so that the complicated conditional for the relevance of ${LIBKDB} only appears once. Bruce To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message