It also needs DISTRIBUTION=crypto inside that .if so that it will end up
in the crypto distribution. And maybe the exists(../../../crypto should
be exists(${.CURDIR}/../../secure) like the ppp/Makefile?

> 
> > Hmm. I didn't know that - probably it could. The question is then whether
> > make release correctly compiles everything without libcrypto (the original
> > poster suggests not).
> 
> Looks like it needs the following patch:
> 
> Index: usr.sbin/tcpdump//tcpdump/Makefile
> ===================================================================
> RCS file: /home/ncvs/src/usr.sbin/tcpdump/tcpdump/Makefile,v
> retrieving revision 1.25
> diff -u -r1.25 Makefile
> --- usr.sbin/tcpdump//tcpdump/Makefile        2000/03/02 13:27:25     1.25
> +++ usr.sbin/tcpdump//tcpdump/Makefile        2000/03/13 10:54:05
> @@ -21,7 +21,7 @@
>  CLEANFILES+= version.c
>  DPADD+=      ${LIBL} ${LIBPCAP}
>  LDADD+=      -ll -lpcap
> -.if exists(../../../crypto) && !defined(NOSECURE) && !defined(NO_OPENSSL)
> +.if exists(../../../crypto) && !defined(NOCRYPT) && !defined(NOSECURE) && 
>!defined(NO_OPENSSL) && !defined(RELEASE_CRUNCH)
>  DPADD+= ${LIBCRYPTO}
>  LDADD+= -lcrypto
>  CFLAGS+= -I${DESTDIR}/usr/include/openssl -DCRYPTO -DHAVE_LIBCRYPTO -DHAVE_RC5_H 
>-DHAVE_CAST_H
> 
> ----
> In God we Trust -- all others must submit an X.509 certificate.
>     -- Charles Forsythe <[EMAIL PROTECTED]>
> 

John
-- 
John Hay -- [EMAIL PROTECTED]


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message

Reply via email to