Date: Sun, 27 Feb 2000 16:39:25 -0500 From: Jim Bloom <bloom@acm.org> To: Kris Kennaway <kris@FreeBSD.ORG> Cc: Bill Fenner <fenner@research.att.com>, 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: <38B9998D.8842EB04@acm.org> References: <Pine.BSF.4.21.0002271319230.48133-100000@freefall.freebsd.org>
next in thread | previous in thread | raw e-mail | index | archive | help
How about trying the following which doesn't try to access files outside of the build areas: .if exists(../../crypto) && !defined(NOSECURE) && !defined(NO_OPENSSL) DPADD+= ${LIBCRYPTO} ${LIBRSAGLUE} LDADD+= -lcrypto CFLAGS+= -I${CURDIR}/../../../crypto/openssl/crypto/des -DCRYPTO -DHAVE_LIBCRYPTO SRCS+= print-esp.c .endif Kris Kennaway wrote: > > 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. 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?38B9998D.8842EB04>