mirror of
https://github.com/freebsd/freebsd-src
synced 2024-07-22 18:56:38 +00:00
[ntp] Don't compile in the ssl routines into libevent if MK_OPENSSL is no
Most of ntpd still handles MK_OPENSSL ok, but the libevent import brought in the SSL bufferevent routines without checking MK_OPENSSL. This doesn't completely fix WITHOUT_CRYPTO=YES building, but hey, it's one less broken thing.
This commit is contained in:
parent
6966ac055c
commit
ab95087a0e
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=357068
|
@ -1,16 +1,22 @@
|
|||
# $FreeBSD$
|
||||
|
||||
.include <src.opts.mk>
|
||||
|
||||
.PATH: ${SRCTOP}/contrib/libevent
|
||||
|
||||
LIB= ntpevent
|
||||
INTERNALLIB=
|
||||
|
||||
SRCS= buffer.c bufferevent.c bufferevent_filter.c bufferevent_openssl.c \
|
||||
SRCS= buffer.c bufferevent.c bufferevent_filter.c \
|
||||
bufferevent_pair.c epoll.c evdns.c event.c event_tagging.c \
|
||||
evmap.c evport.c evrpc.c evthread.c evthread_pthread.c evutil.c \
|
||||
evutil_rand.c evutil_time.c http.c kqueue.c listener.c log.c poll.c \
|
||||
select.c signal.c strlcpy.c
|
||||
|
||||
.if ${MK_OPENSSL} != "no"
|
||||
SRCS+= bufferevent_openssl.c
|
||||
.endif
|
||||
|
||||
.if ${MACHINE_ARCH} == "i386"
|
||||
NTP_ATOMIC=x86_32
|
||||
.elif ${MACHINE_ARCH} == "amd64"
|
||||
|
|
Loading…
Reference in a new issue