From 0d9e60c85795fb2fdeae8edbbb08d6a5e82cded1 Mon Sep 17 00:00:00 2001 From: Bryan Drewery Date: Thu, 26 Nov 2015 01:54:09 +0000 Subject: [PATCH] Always build libevent, which fixes the build for usr.sbin/ypldap after r291230. The dependency for ypldap is only with WITH_NIS, but libevent is small enough to not warrant the extra logic and maintenance cost here so just always build it. Sponsored by: EMC / Isilon Storage Division --- lib/Makefile | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/lib/Makefile b/lib/Makefile index 38003b8fec67..4277d4e374d2 100644 --- a/lib/Makefile +++ b/lib/Makefile @@ -48,7 +48,7 @@ SUBDIR= ${SUBDIR_ORDERED} \ libdwarf \ libedit \ ${_libelftc} \ - ${_libevent} \ + libevent \ libexecinfo \ libexpat \ libfetch \ @@ -240,10 +240,6 @@ _libnetgraph= libnetgraph _libypclnt= libypclnt .endif -.if ${MK_PF} != "no" -_libevent= libevent -.endif - .if ${MACHINE_CPUARCH} == "i386" || ${MACHINE_CPUARCH} == "amd64" _libsmb= libsmb _libvgl= libvgl