diff options
author | roberto <roberto@FreeBSD.org> | 2004-07-22 09:10:52 +0000 |
---|---|---|
committer | roberto <roberto@FreeBSD.org> | 2004-07-22 09:10:52 +0000 |
commit | e80d2e4a5eb4ac0ec5caaad9d858a9fd22f67a2e (patch) | |
tree | fa62f1aa1cb06535b0ecbf1a002f34c32fb35ec5 /usr.sbin/ntp/ntpd | |
parent | 6b42bd1f49d5f20a3a8682a36de2625dd76e0aab (diff) | |
download | FreeBSD-src-e80d2e4a5eb4ac0ec5caaad9d858a9fd22f67a2e.zip FreeBSD-src-e80d2e4a5eb4ac0ec5caaad9d858a9fd22f67a2e.tar.gz |
Include support for NOCRYPT & NO_OPENSSL world.
It does survive « make release ».
Uses an upcoming patch from the vendor branch (ntp-stable) of ntp-keygen.
Submitted by: Marius Strobl <marius@alchemy.franken.de>
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 |