summaryrefslogtreecommitdiffstats
path: root/usr.sbin/ngctl/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'usr.sbin/ngctl/Makefile')
-rw-r--r--usr.sbin/ngctl/Makefile6
1 files changed, 2 insertions, 4 deletions
diff --git a/usr.sbin/ngctl/Makefile b/usr.sbin/ngctl/Makefile
index 26f73d7..9f51407 100644
--- a/usr.sbin/ngctl/Makefile
+++ b/usr.sbin/ngctl/Makefile
@@ -5,10 +5,8 @@ PROG= ngctl
SRCS= main.c mkpeer.c connect.c name.c show.c list.c \
debug.c shutdown.c rmhook.c status.c types.c
MAN8= ngctl.8
-
+DPADD+= ${LIBNETGRAPH}
LDADD+= -lnetgraph
-DPADD+= /usr/lib/libnetgraph.a
-
-COPTS+= -O2 -g -Wall -Werror
+COPTS+= -Wall
.include <bsd.prog.mk>
OpenPOWER on IntegriCloud