svn commit: r349997 - head/usr.sbin/ngctl
Warner Losh
imp at FreeBSD.org
Mon Jul 15 14:23:52 UTC 2019
Author: imp
Date: Mon Jul 15 14:23:51 2019
New Revision: 349997
URL: https://svnweb.freebsd.org/changeset/base/349997
Log:
Replace complicated expression to disable libedit when no libthr is being built
with a simpler one.
Modified:
head/usr.sbin/ngctl/Makefile
Modified: head/usr.sbin/ngctl/Makefile
==============================================================================
--- head/usr.sbin/ngctl/Makefile Mon Jul 15 14:19:39 2019 (r349996)
+++ head/usr.sbin/ngctl/Makefile Mon Jul 15 14:23:51 2019 (r349997)
@@ -9,17 +9,9 @@ SRCS= main.c mkpeer.c config.c connect.c dot.c name.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
More information about the svn-src-all
mailing list