summaryrefslogtreecommitdiff
path: root/net
diff options
context:
space:
mode:
Diffstat (limited to 'net')
-rw-r--r--net/ntp-devel/Makefile4
-rw-r--r--net/ntp/Makefile2
2 files changed, 2 insertions, 4 deletions
diff --git a/net/ntp-devel/Makefile b/net/ntp-devel/Makefile
index 6a90678a07e4..50d13e3ec134 100644
--- a/net/ntp-devel/Makefile
+++ b/net/ntp-devel/Makefile
@@ -68,9 +68,7 @@ IGNORE= detected LibreSSL (undefined references to MD5 symbols)
.endif
.for D in ${NTP_DRIVERS}
-.if ${PORT_OPTIONS:M${D}}
-CONFIGURE_ARGS+= --enable-${D}
-.endif
+${D}_CONFIGURE_ENABLE= ${D}
.endfor
# XXX Temporary hack. Remember to remove this next commit.
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>