On Wed, Oct 09, 2002 at 06:27:37PM +0100, Tony Finch wrote: > On Wed, Oct 09, 2002 at 10:08:24AM -0700, Kris Kennaway wrote: > > On Wed, Oct 09, 2002 at 05:00:21PM +0100, Tony Finch wrote: > > > > > +.if !defined(NO_OPENSSL) > > > +CFLAGS+=-DHAVE_OPENSSL > > > +LDADD+= -lcrypto > > > +DPADD+= ${LIBCRYPTO} > > > +.endif > > > > You also need to check that the crypto sources are installed. > > Would this be correct (based on stuff in src/etc)? > > .if exists(${.CURDIR}/../../crypto) && !defined(NO_OPENSSL)
I think that's correct. For crypto stuff you also need to check NOCRYPT, but I don't think factor falls in that category (unless factor works efficiently with products of large primes ;-) Kris
msg44401/pgp00000.pgp
Description: PGP signature