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
This commit is contained in:
Maxim Sobolev
2001-08-02 15:47:03 +00:00
parent 0426db70c6
commit a8ec1b4851
3 changed files with 13 additions and 4 deletions
+5 -1
View File
@@ -23,7 +23,7 @@ SUBDIR= ${_csu} libcom_err libcrypt msun libmd \
${_compat} libalias libatm ${_libbind} libbz2 libc ${_libc_r} \
libcalendar libcam libcompat libdevinfo libdevstat libdisk \
libedit libfetch libform libftpio libgnumalloc ${_libio} libipsec \
libipx libisc libkvm libmenu libmp ${_libncp} \
libipx libisc libkvm libmenu ${_libmp} ${_libncp} \
libnetgraph libopie libpam libpanel libpcap \
libresolv librpcsvc libsmdb libsmutil libss \
libstand ${_libtelnet} libusb ${_libvgl} libwrap libxpg4 liby libz
@@ -61,4 +61,8 @@ _compat= compat
_libtelnet= libtelnet
.endif
.if exists(${.CURDIR}/../crypto) && !defined(NOCRYPT) && !defined(NO_OPENSSL)
_libmp= libmp
.endif
.include <bsd.subdir.mk>