diff options
Diffstat (limited to 'usr.sbin/ntp/ntpd')
-rw-r--r-- | usr.sbin/ntp/ntpd/Makefile | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/usr.sbin/ntp/ntpd/Makefile b/usr.sbin/ntp/ntpd/Makefile index 027b9b9..d16dcc1 100644 --- a/usr.sbin/ntp/ntpd/Makefile +++ b/usr.sbin/ntp/ntpd/Makefile @@ -28,8 +28,13 @@ SRCS= cmd_args.c map_vme.c ntp_config.c \ CFLAGS+= -I${.CURDIR}/../../../contrib/ntp/include -I${.CURDIR}/../ -DPADD= ${LIBPARSE} ${LIBNTP} ${LIBM} ${LIBCRYPTO} ${LIBMD} -LDADD= ${LIBPARSE} ${LIBNTP} -lm -lcrypto -lmd +DPADD= ${LIBPARSE} ${LIBNTP} ${LIBM} ${LIBMD} +LDADD= ${LIBPARSE} ${LIBNTP} -lm -lmd + +.if !defined(NOCRYPT) && !defined(NO_OPENSSL) && !defined(RELEASE_CRUNCH) +DPADD+= ${LIBCRYPTO} +LDADD+= -lcrypto +.endif CLEANFILES+= .version version.c |