diff options
author | js <js@pkgsrc.org> | 2020-09-01 22:56:54 +0000 |
---|---|---|
committer | js <js@pkgsrc.org> | 2020-09-01 22:56:54 +0000 |
commit | 0c35b5c61e8d9c77ca9dc27adbd194656cccd348 (patch) | |
tree | 188eaa10c3befe98756f565fac64503a40f659e5 | |
parent | 2f821d39359a5e2bad2ae4c38b75f8525a4ffd1d (diff) | |
download | pkgsrc-0c35b5c61e8d9c77ca9dc27adbd194656cccd348.tar.gz |
Fix building lang/perl5 on QNX
-rw-r--r-- | lang/perl5/options.mk | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/lang/perl5/options.mk b/lang/perl5/options.mk index e799a1875a9..8c6bf39c9fc 100644 --- a/lang/perl5/options.mk +++ b/lang/perl5/options.mk @@ -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 |