From 3cb88013baf504e0296064e72572e7da9832a21f Mon Sep 17 00:00:00 2001 From: Gleb Smirnoff Date: Wed, 28 Mar 2007 14:04:35 +0000 Subject: [PATCH] Do not build the libedit support if NO_LIBPTHREAD is defined. PR: bin/104478 Submitted by: Mike Durian --- usr.sbin/ngctl/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/usr.sbin/ngctl/Makefile b/usr.sbin/ngctl/Makefile index bd936997e8af..96bbcae024c4 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