summaryrefslogtreecommitdiff
path: root/devel/log4cplus
diff options
context:
space:
mode:
Diffstat (limited to 'devel/log4cplus')
-rw-r--r--devel/log4cplus/Makefile8
1 files changed, 7 insertions, 1 deletions
diff --git a/devel/log4cplus/Makefile b/devel/log4cplus/Makefile
index 3fb9c3438b9..f9f58a64609 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"