Fix building lang/perl5 on QNX
This commit is contained in:
parent
ae740a49ff
commit
5852071921
1 changed files with 6 additions and 1 deletions
|
@ -1,4 +1,4 @@
|
|||
# $NetBSD: options.mk,v 1.14 2019/11/04 17:47:30 rillig Exp $
|
||||
# $NetBSD: options.mk,v 1.15 2020/09/01 22:56:54 js Exp $
|
||||
|
||||
PKG_OPTIONS_VAR= PKG_OPTIONS.perl
|
||||
PKG_OPTIONS_REQUIRED_GROUPS= perlbits
|
||||
|
@ -23,6 +23,11 @@ PERL5_BUILD_THREADS_SUPPORT= ${DLOPEN_REQUIRE_PTHREADS}
|
|||
PERL5_BUILD_THREADS_SUPPORT= no
|
||||
.endif
|
||||
|
||||
# miniperl fails with locking errors during build on QNX.
|
||||
.if ${OPSYS} == "QNX"
|
||||
PERL5_BUILD_THREADS_SUPPORT= no
|
||||
.endif
|
||||
|
||||
.if !empty(PERL5_BUILD_THREADS_SUPPORT:M[yY][eE][sS])
|
||||
PKG_SUGGESTED_OPTIONS= threads
|
||||
.endif
|
||||
|
|
Loading…
Reference in a new issue