summaryrefslogtreecommitdiffstats
path: root/usr.sbin/ntp/Makefile.inc
diff options
context:
space:
mode:
authorroberto <roberto@FreeBSD.org>2004-07-22 09:10:52 +0000
committerroberto <roberto@FreeBSD.org>2004-07-22 09:10:52 +0000
commite80d2e4a5eb4ac0ec5caaad9d858a9fd22f67a2e (patch)
treefa62f1aa1cb06535b0ecbf1a002f34c32fb35ec5 /usr.sbin/ntp/Makefile.inc
parent6b42bd1f49d5f20a3a8682a36de2625dd76e0aab (diff)
downloadFreeBSD-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/Makefile.inc')
-rw-r--r--usr.sbin/ntp/Makefile.inc5
1 files changed, 5 insertions, 0 deletions
diff --git a/usr.sbin/ntp/Makefile.inc b/usr.sbin/ntp/Makefile.inc
index 1f548ee..bd9b34e 100644
--- a/usr.sbin/ntp/Makefile.inc
+++ b/usr.sbin/ntp/Makefile.inc
@@ -8,6 +8,11 @@ NTPDEFS= -DSYS_FREEBSD
# -DMX4200 -DNMEA -DBOEDER
CFLAGS+= ${NTPDEFS} ${DEFS_LOCAL} ${CLOCKDEFS}
+.if !defined(NOCRYPT) && !defined(NO_OPENSSL) && !defined(RELEASE_CRUNCH)
+CFLAGS+= -DOPENSSL
+DISTRIBUTION= crypto
+.endif
+
.if exists(${.OBJDIR}/../libparse)
LIBPARSE= ${.OBJDIR}/../libparse/libparse.a
.else
OpenPOWER on IntegriCloud