summaryrefslogtreecommitdiffstats
path: root/usr.sbin
diff options
context:
space:
mode:
authorglebius <glebius@FreeBSD.org>2007-03-28 14:04:35 +0000
committerglebius <glebius@FreeBSD.org>2007-03-28 14:04:35 +0000
commit7c280152d9a548d1d8972aca148231c30a69e94e (patch)
tree31cce27d94e0240466a7cb26db132c0d0dc6523b /usr.sbin
parente0b48c67ff458843054aff871ed5ef1ad6626999 (diff)
downloadFreeBSD-src-7c280152d9a548d1d8972aca148231c30a69e94e.zip
FreeBSD-src-7c280152d9a548d1d8972aca148231c30a69e94e.tar.gz
Do not build the libedit support if NO_LIBPTHREAD is defined.
PR: bin/104478 Submitted by: Mike Durian <durian shadetreesoftware.com>
Diffstat (limited to 'usr.sbin')
-rw-r--r--usr.sbin/ngctl/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/usr.sbin/ngctl/Makefile b/usr.sbin/ngctl/Makefile
index bd93699..96bbcae 100644
--- a/usr.sbin/ngctl/Makefile
+++ b/usr.sbin/ngctl/Makefile
@@ -9,7 +9,7 @@ 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)
+.if defined(RELEASE_CRUNCH) || defined(NO_LIBPTHREAD)
NGCTL_NO_LIBEDIT=
.endif
OpenPOWER on IntegriCloud