add a NOCRYPT check alongside the NO_OPENSSL check.
Approved by: re (scottl)
This commit is contained in:
parent
7691f66abf
commit
54126046fd
@ -5,7 +5,7 @@ PROG= factor
|
||||
SRCS= factor.c pr_tbl.c
|
||||
CFLAGS+=-I${.CURDIR}/../primes
|
||||
|
||||
.if exists(${.CURDIR}/../../crypto) && !defined(NO_OPENSSL)
|
||||
.if exists(${.CURDIR}/../../crypto) && !defined(NOCRYPT) && !defined(NO_OPENSSL)
|
||||
CFLAGS+=-DHAVE_OPENSSL
|
||||
LDADD+= -lcrypto
|
||||
DPADD+= ${LIBCRYPTO}
|
||||
|
Loading…
Reference in New Issue
Block a user