summaryrefslogtreecommitdiffstats
path: root/usr.sbin/Makefile
diff options
context:
space:
mode:
authorsobomax <sobomax@FreeBSD.org>2001-08-02 15:47:03 +0000
committersobomax <sobomax@FreeBSD.org>2001-08-02 15:47:03 +0000
commitb4222d1bf255eb311660f6e06faa297585ee55a5 (patch)
treee57ef2cb189550dfc059623a6398225ee4260fe7 /usr.sbin/Makefile
parent2c666d5bfc7a548e04e062d32708b0f83011b5e0 (diff)
downloadFreeBSD-src-b4222d1bf255eb311660f6e06faa297585ee55a5.zip
FreeBSD-src-b4222d1bf255eb311660f6e06faa297585ee55a5.tar.gz
Fix a cryptoless world by disconnecting libmp from the build when there is no
crypto bits installed and/or NOCRYPTO/NO_OPENSSL is defined. This unfortunately meants that usr.bin/chkey, usr.bin/newkey and usr.sbin/keyserv have also to be disconnected. IMO it is merely a workaround, the proper solution is to move libmp to src/crypto where it belongs and use libgmp for the cryptoless builds instead. Missed by: dd
Diffstat (limited to 'usr.sbin/Makefile')
-rw-r--r--usr.sbin/Makefile5
1 files changed, 4 insertions, 1 deletions
diff --git a/usr.sbin/Makefile b/usr.sbin/Makefile
index eff6ad4..f4eea33 100644
--- a/usr.sbin/Makefile
+++ b/usr.sbin/Makefile
@@ -46,7 +46,6 @@ SUBDIR= IPXrouted \
kbdcontrol \
kbdmap \
kernbb \
- keyserv \
lastlogin \
manctl \
memcontrol \
@@ -185,4 +184,8 @@ SUBDIR+=boot0cfg
SUBDIR+=boot98cfg
.endif
+.if exists(${.CURDIR}/../../crypto) && !defined(NOCRYPT) && !defined(NO_OPENSSL)
+SUBDIR+=keyserv
+.endif
+
.include <bsd.subdir.mk>
OpenPOWER on IntegriCloud