Fix building lang/perl5 on QNX

This commit is contained in:
js 2020-09-01 22:56:54 +00:00
parent ae740a49ff
commit 5852071921

View file

@ -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