diff options
author | obache <obache@pkgsrc.org> | 2014-06-04 09:19:56 +0000 |
---|---|---|
committer | obache <obache@pkgsrc.org> | 2014-06-04 09:19:56 +0000 |
commit | a892e103d8735c067de5d082894b2d41264f1c46 (patch) | |
tree | 9dc3bc607310ddbe5d00726343d46b115ada93ea /lang/perl5/options.mk | |
parent | 6ba96ac7a95f137bac643725067a5651a36ee1ca (diff) | |
download | pkgsrc-a892e103d8735c067de5d082894b2d41264f1c46.tar.gz |
Move Haiku pthread hack to options.mk.
"pthreads broken on vax" hack had been removed, but it is also used for Haiku.
Diffstat (limited to 'lang/perl5/options.mk')
-rw-r--r-- | lang/perl5/options.mk | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/lang/perl5/options.mk b/lang/perl5/options.mk index 7c34393fd7b..8e1f499e00c 100644 --- a/lang/perl5/options.mk +++ b/lang/perl5/options.mk @@ -1,4 +1,4 @@ -# $NetBSD: options.mk,v 1.7 2014/05/22 08:17:10 martin Exp $ +# $NetBSD: options.mk,v 1.8 2014/06/04 09:19:56 obache Exp $ PKG_OPTIONS_VAR= PKG_OPTIONS.perl PKG_OPTIONS_REQUIRED_GROUPS= perlbits @@ -16,6 +16,13 @@ PERL5_BUILD_THREADS_SUPPORT= yes PERL5_BUILD_THREADS_SUPPORT= ${DLOPEN_REQUIRE_PTHREADS} .endif +### from KNOWN PROBLEMS in README.haiku +### Perl cannot be compiled with threading support ATM. +### +.if !empty(MACHINE_PLATFORM:MHaiku-*-*) +PERL5_BUILD_THREADS_SUPPORT= no +.endif + .if !empty(PERL5_BUILD_THREADS_SUPPORT:M[yY][eE][sS]) PKG_SUGGESTED_OPTIONS= threads .endif |