From f22a70f1a1ad69712063d9537568f1d3ea325d38 Mon Sep 17 00:00:00 2001 From: obache Date: Mon, 23 Sep 2013 13:55:50 +0000 Subject: [PATCH] TLS is not supported by NetBSD<6 --- devel/log4cplus/Makefile | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/devel/log4cplus/Makefile b/devel/log4cplus/Makefile index 3fb9c3438b938..f9f58a6460974 100644 --- a/devel/log4cplus/Makefile +++ b/devel/log4cplus/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.5 2013/07/02 18:21:13 sno Exp $ +# $NetBSD: Makefile,v 1.6 2013/09/23 13:55:50 obache Exp $ # DISTNAME= log4cplus-1.1.1 @@ -25,4 +25,10 @@ CHECK_BUILTIN.pthread:= yes .include "../../mk/pthread.builtin.mk" CHECK_BUILTIN.pthread:= no +# TLS is not supported by NetBSD<6 +.if !empty(MACHINE_PLATFORM:MNetBSD-[0-5].*-*) +CONFIGURE_ENV+= ac_cv_thread_local=no +CONFIGURE_ENV+= ac_cv__thread_keyword=no +.endif + .include "../../mk/bsd.pkg.mk"