summaryrefslogtreecommitdiff
path: root/devel/log4cplus
diff options
context:
space:
mode:
authorobache <obache@pkgsrc.org>2013-09-23 13:55:50 +0000
committerobache <obache@pkgsrc.org>2013-09-23 13:55:50 +0000
commitf373e3d587f080e98807f98fcb9f0e5e414bc4a7 (patch)
tree37114032d7e48f5f5d21bce3ac503cf47ecb78b7 /devel/log4cplus
parentb47b0268914c54f92ed4c85863323491a5bf12db (diff)
downloadpkgsrc-f373e3d587f080e98807f98fcb9f0e5e414bc4a7.tar.gz
TLS is not supported by NetBSD<6
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"