aboutsummaryrefslogtreecommitdiff
path: root/games/factor/Makefile
diff options
context:
space:
mode:
authorDag-Erling Smørgrav <des@FreeBSD.org>2003-05-19 15:52:50 +0000
committerDag-Erling Smørgrav <des@FreeBSD.org>2003-05-19 15:52:50 +0000
commit54126046fdcc85476492d8e3e4ab624b68d6053e (patch)
treedc5abe9f2ab00ff578dc086129f565233bacc272 /games/factor/Makefile
parent7691f66abfbcf43a14ca86b9875c01a31f101db3 (diff)
downloadsrc-54126046fdcc85476492d8e3e4ab624b68d6053e.tar.gz
src-54126046fdcc85476492d8e3e4ab624b68d6053e.zip
add a NOCRYPT check alongside the NO_OPENSSL check.
Approved by: re (scottl)
Notes
Notes: svn path=/head/; revision=115158
Diffstat (limited to 'games/factor/Makefile')
-rw-r--r--games/factor/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/games/factor/Makefile b/games/factor/Makefile
index 8f68b9294f77..ffeae9c5932d 100644
--- a/games/factor/Makefile
+++ b/games/factor/Makefile
@@ -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}