Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 02 Jun 1998 04:15:42 +0800
From:      Peter Wemm <peter@netplex.com.au>
To:        Mark Murray <mark@grondar.za>
Cc:        cvs-committers@FreeBSD.ORG, cvs-all@FreeBSD.ORG, cvs-share@FreeBSD.ORG
Subject:   Re: cvs commit: src/share/mk bsd.libnames.mk 
Message-ID:  <199806012015.EAA11054@spinner.netplex.com.au>
In-Reply-To: Your message of "Mon, 01 Jun 1998 21:53:20 %2B0200." <199806011953.VAA27255@greenpeace.grondar.za> 

next in thread | previous in thread | raw e-mail | index | archive | help
Mark Murray wrote:
> Peter Wemm wrote:
> > peter       1998/06/01 12:38:21 PDT
> > 
> >   Modified files:
> >     share/mk             bsd.libnames.mk 
> >   Log:
> >   add libcipher, and update comments about libdes, libkdb, libkrb etc
> >   which do exist but are in the secure dist rather than the base.
> >   
> >   Revision  Changes    Path
> >   1.15      +5 -4      src/share/mk/bsd.libnames.mk
> 
> Another problem: The kerberised apps (rlogin, etc) all have
> 
> .if exists(${DESTDIR}/usr/lib/libkrb.a) && defined(MAKE_KERBEROS4)
> :
> .endif
> 
> in their Makefiles. Spot the problem? The /usr/lib/<libname> test will 
> fail in the Transitional Period (tm). Any clever ideas other than the 
> thoroughly horrible
> 
> .if (exists(${DESTDIR}/usr/lib/libkrb.a) || exists(${DESTDIR}/usr/lib/aout/li
    bkrb.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...

Cheers,
-Peter
--
Peter Wemm <peter@netplex.com.au>   Netplex Consulting



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?199806012015.EAA11054>