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/Makefile7
1 files changed, 7 insertions, 0 deletions
diff --git a/usr.sbin/ngctl/Makefile b/usr.sbin/ngctl/Makefile
index 2d24341..bd93699 100644
--- a/usr.sbin/ngctl/Makefile
+++ b/usr.sbin/ngctl/Makefile
@@ -1,6 +1,8 @@
# $FreeBSD$
# $Whistle: Makefile,v 1.3 1999/01/16 00:10:11 archie Exp $
+.include <bsd.own.mk>
+
PROG= ngctl
MAN= ngctl.8
SRCS= main.c mkpeer.c config.c connect.c dot.c name.c show.c list.c \
@@ -11,6 +13,11 @@ WARNS?= 3
NGCTL_NO_LIBEDIT=
.endif
+.if ${MK_LIBTHR} == "no" && \
+ (${MACHINE_ARCH} == "sparc64" || ${MK_LIBPTHREAD} == "no")
+NGCTL_NO_LIBEDIT=
+.endif
+
DPADD= ${LIBNETGRAPH}
LDADD= -lnetgraph
OpenPOWER on IntegriCloud