Date: Tue, 2 Jun 1998 06:36:17 +1000 From: Bruce Evans <bde@zeta.org.au> To: mark@grondar.za, peter@netplex.com.au Cc: cvs-all@FreeBSD.ORG, cvs-committers@FreeBSD.ORG, cvs-share@FreeBSD.ORG Subject: Re: cvs commit: src/share/mk bsd.libnames.mk Message-ID: <199806012036.GAA29857@godzilla.zeta.org.au>
next in thread | raw e-mail | index | archive | help
>> 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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199806012036.GAA29857>