summaryrefslogtreecommitdiff
path: root/net/ntp
diff options
context:
space:
mode:
authorCy Schubert <cy@FreeBSD.org>2017-03-24 21:26:51 +0000
committerCy Schubert <cy@FreeBSD.org>2017-03-24 21:26:51 +0000
commit106806722b10800a882831ba0dba26e465d1203c (patch)
tree2174a98a58dfd9b9f20ba4af6bfe872ce839643d /net/ntp
parentUpdate 3.8.1 --> 3.9.1 (diff)
Use CONFIGURE_ENABLE instead of CONFIGURE_ON.
The current use of CONFIGURE_ON to handle refclock options allows adding a refclock that is off by default, but doesn't allow a user to eliminate refclocks that ntpd includes by default. Using CONFIGURE_ENABLE instead of CONFIGURE_ON will add the proper --disable-REFCLOCKNAME to the args when the user disables default-on options. PR: 218078 Submitted by: ian@
Diffstat (limited to 'net/ntp')
-rw-r--r--net/ntp/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/ntp/Makefile b/net/ntp/Makefile
index 5f58ed417d5a..583df2ea0109 100644
--- a/net/ntp/Makefile
+++ b/net/ntp/Makefile
@@ -64,7 +64,7 @@ THREADS_CONFIGURE_ENABLE= thread-support
THREADS_CONFIGURE_WITH= threads
.for D in ${NTP_DRIVERS}
-${D}_CONFIGURE_ON= --enable-${D}
+${D}_CONFIGURE_ENABLE= ${D}
.endfor
.include <bsd.port.pre.mk>