summaryrefslogtreecommitdiffstats
path: root/games/factor/Makefile
diff options
context:
space:
mode:
authordes <des@FreeBSD.org>2003-05-19 15:52:50 +0000
committerdes <des@FreeBSD.org>2003-05-19 15:52:50 +0000
commit5aabe4b4db405f15bd068035f121bbf8dbe38d85 (patch)
treedc5abe9f2ab00ff578dc086129f565233bacc272 /games/factor/Makefile
parente5d2d778eb86b85f35d40aef94a1f354ae0a5ef2 (diff)
downloadFreeBSD-src-5aabe4b4db405f15bd068035f121bbf8dbe38d85.zip
FreeBSD-src-5aabe4b4db405f15bd068035f121bbf8dbe38d85.tar.gz
add a NOCRYPT check alongside the NO_OPENSSL check.
Approved by: re (scottl)
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 8f68b92..ffeae9c 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}
OpenPOWER on IntegriCloud