summaryrefslogtreecommitdiffstats
path: root/games/factor/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'games/factor/Makefile')
-rw-r--r--games/factor/Makefile4
1 files changed, 3 insertions, 1 deletions
diff --git a/games/factor/Makefile b/games/factor/Makefile
index 62c6f60..da1737c 100644
--- a/games/factor/Makefile
+++ b/games/factor/Makefile
@@ -1,11 +1,13 @@
# @(#)Makefile 8.1 (Berkeley) 5/31/93
# $FreeBSD$
+.include <bsd.own.mk>
+
PROG= factor
SRCS= factor.c pr_tbl.c
CFLAGS+=-I${.CURDIR}/../primes
-.if !defined(NO_CRYPT) && !defined(NO_OPENSSL)
+.if ${MK_OPENSSL} != "no"
CFLAGS+=-DHAVE_OPENSSL
DPADD= ${LIBCRYPTO}
LDADD= -lcrypto
OpenPOWER on IntegriCloud