1
0
mirror of https://git.FreeBSD.org/src.git synced 2025-01-03 12:35:02 +00:00

add a NOCRYPT check alongside the NO_OPENSSL check.

Approved by:	re (scottl)
This commit is contained in:
Dag-Erling Smørgrav 2003-05-19 15:52:50 +00:00
parent 7691f66abf
commit 54126046fd
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=115158

View File

@ -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}