aboutsummaryrefslogtreecommitdiff
path: root/usr.sbin/ngctl/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'usr.sbin/ngctl/Makefile')
-rw-r--r--usr.sbin/ngctl/Makefile5
1 files changed, 5 insertions, 0 deletions
diff --git a/usr.sbin/ngctl/Makefile b/usr.sbin/ngctl/Makefile
index 72a5ccaa96d7..997841272376 100644
--- a/usr.sbin/ngctl/Makefile
+++ b/usr.sbin/ngctl/Makefile
@@ -13,4 +13,9 @@ LIBADD= netgraph
CFLAGS+= -DEDITLINE
LIBADD+= edit pthread
+.if ${MK_JAIL} != "no"
+CFLAGS+= -DJAIL
+LIBADD+= jail
+.endif
+
.include <bsd.prog.mk>