Date: Sun, 27 Feb 2000 13:27:00 -0800 (PST) From: Kris Kennaway <kris@FreeBSD.org> To: Bill Fenner <fenner@research.att.com> Cc: obrien@freebsd.org, markm@freebsd.org, cvs@freebsd.org, cvs-committers@freebsd.org, cvs-all@freebsd.org Subject: Re: cvs commit: src/contrib/tcpdump print-esp.c Message-ID: <Pine.BSF.4.21.0002271319230.48133-100000@freefall.freebsd.org> In-Reply-To: <200002271740.JAA00685@windsor.research.att.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On Sun, 27 Feb 2000, Bill Fenner wrote: > > Wouldn't it be easier to just add the following to the Makefile? > > # if not NO_CRYPTO > DPADD+= ${LIBCRYPTO} ${LIBRSAGLUE} > LDADD+= -lcrypto -lRSAglue > CFLAGS+= -I/usr/include/openssl -DCRYPTO -DHAVE_LIBCRYPTO > # endif This should probably be something like (untested): .if exists(../../crypto) && !defined(NOSECURE) && !defined(NO_OPENSSL) DPADD+= ${LIBCRYPTO} ${LIBRSAGLUE} LDADD+= -lcrypto CFLAGS+= -I${DESTDIR}/usr/include/openssl -DCRYPTO -DHAVE_LIBCRYPTO SRCS+= print-esp.c .endif The reason for the SRCS+= is that if someone is compiling NOSECURE or NO_OPENSSL then they won't be getting libdes compatability either, and so I don't think this will compile. Kris ---- "How many roads must a man walk down, before you call him a man?" "Eight!" "That was a rhetorical question!" "Oh..then, seven!" -- Homer Simpson 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?Pine.BSF.4.21.0002271319230.48133-100000>