From c68cb3f674f69d18a09406c537077697dbb46278 Mon Sep 17 00:00:00 2001 From: Pawel Jakub Dawidek Date: Sun, 10 Jul 2005 15:16:49 +0000 Subject: [PATCH] Don't compile ggatec/ggated in NO_LIBPTHREAD case. Reported by: Andrea Campi Approved by: re (scottl) --- sbin/ggate/Makefile | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/sbin/ggate/Makefile b/sbin/ggate/Makefile index da5167224085..97094d6f9fb5 100644 --- a/sbin/ggate/Makefile +++ b/sbin/ggate/Makefile @@ -1,5 +1,12 @@ # $FreeBSD$ -SUBDIR= ggatel ggatec ggated +SUBDIR= ${_ggatec} \ + ${_ggated} \ + ggatel + +.if !defined(NO_LIBPTHREAD) +_ggatec= ggatec +_ggated= ggated +.endif .include