Skip to content

Commit

Permalink
TLS is not supported by NetBSD<6
Browse files Browse the repository at this point in the history
  • Loading branch information
obache committed Sep 23, 2013
1 parent e0e5e8d commit f22a70f
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion devel/log4cplus/Makefile
Original file line number Diff line number Diff line change
@@ -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
Expand All @@ -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"

0 comments on commit f22a70f

Please sign in to comment.