summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorroberto <roberto@FreeBSD.org>2002-11-16 08:06:43 +0000
committerroberto <roberto@FreeBSD.org>2002-11-16 08:06:43 +0000
commitb77e865212a4898522f878c4a4ac249016e93e64 (patch)
tree01cf37f9525dcd7cbb6ecdadf13bf4546ed2db28
parent5e336b1d195ced5a31c4de04402a418b50116a15 (diff)
downloadFreeBSD-src-b77e865212a4898522f878c4a4ac249016e93e64.zip
FreeBSD-src-b77e865212a4898522f878c4a4ac249016e93e64.tar.gz
These two patches makes it easier to compile custom versions of
NTP on FreeBSD: The first one allows one to avoid installing the html files. The second one allows one to override the CLOCKDEFS on the make command line. Submitted by: phk
-rw-r--r--usr.sbin/ntp/Makefile6
-rw-r--r--usr.sbin/ntp/Makefile.inc2
2 files changed, 6 insertions, 2 deletions
diff --git a/usr.sbin/ntp/Makefile b/usr.sbin/ntp/Makefile
index 15fad6c..6605c6e 100644
--- a/usr.sbin/ntp/Makefile
+++ b/usr.sbin/ntp/Makefile
@@ -3,7 +3,11 @@
MAINTAINER= roberto
-SUBDIR= doc libntp libparse ntpd ntpdc ntpq ntpdate ntptrace \
+SUBDIR= libntp libparse ntpd ntpdc ntpq ntpdate ntptrace \
ntptimeset ntptime ntp-genkeys
+.if !defined(NOMAN)
+SUBDIR+= doc
+.endif
+
.include <bsd.subdir.mk>
diff --git a/usr.sbin/ntp/Makefile.inc b/usr.sbin/ntp/Makefile.inc
index 8b8a199..322a56d 100644
--- a/usr.sbin/ntp/Makefile.inc
+++ b/usr.sbin/ntp/Makefile.inc
@@ -4,7 +4,7 @@ MAINTAINER= roberto
DEFS_LOCAL= -DPARSE -DHAVE_CONFIG_H
NTPDEFS= -DSYS_FREEBSD
-CLOCKDEFS=
+# CLOCKDEFS=
# -DLOCAL_CLOCK -DPST -DWWVB -DAS2201 -DGOES -DGPSTM -DOMEGA \
# -DLEITCH -DTRAK -DACTS -DATOM -DDATUM -DHEATH -DMSFEES \
# -DMX4200 -DNMEA -DBOEDER
OpenPOWER on IntegriCloud