diff --git a/usr.sbin/ngctl/Makefile b/usr.sbin/ngctl/Makefile index 71b5d2b9dfaf..519bf98c7813 100644 --- a/usr.sbin/ngctl/Makefile +++ b/usr.sbin/ngctl/Makefile @@ -9,17 +9,9 @@ SRCS= main.c mkpeer.c config.c connect.c dot.c name.c show.c list.c \ msg.c debug.c shutdown.c rmhook.c status.c types.c write.c WARNS?= 3 -.if defined(RELEASE_CRUNCH) -NGCTL_NO_LIBEDIT= -.endif - -.if ${MK_LIBTHR} == "no" -NGCTL_NO_LIBEDIT= -.endif - LIBADD= netgraph -.if !defined(NGCTL_NO_LIBEDIT) +.if ${MK_LIBTHR} != "no" CFLAGS+= -DEDITLINE LIBADD+= edit pthread .endif