From 6854402a108f2ce75aafcda28fd583bc33f515ee Mon Sep 17 00:00:00 2001 From: =?utf8?q?Mat=C3=ADas=20Fonzo?= Date: Mon, 14 Jan 2019 15:06:45 -0300 Subject: [PATCH] recipes: devel/perl: configure without threads support, this is causing troubles --- recipes/devel/perl/recipe | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/recipes/devel/perl/recipe b/recipes/devel/perl/recipe index 6def5a19..cbd0140f 100644 --- a/recipes/devel/perl/recipe +++ b/recipes/devel/perl/recipe @@ -1,6 +1,6 @@ # Build recipe for perl. # -# Copyright (c) 2016-2018 Matias Fonzo, . +# Copyright (c) 2016-2019 Matias Fonzo, . # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. @@ -16,7 +16,7 @@ program=perl version=5.28.1 -release=1 +release=2 # Set 'outdir' for a nice and well-organized output directory outdir="${outdir}/${arch}/devel" @@ -64,6 +64,12 @@ build() # Set sane permissions chmod -R u+w,go-w,a+rX-s . + # We are not configuring Perl to make use of threads. + # To do so, Configure can be run with -Dusethreads. + # Note that Perl built with threading support runs + # slightly slower and uses slightly more memory than + # plain Perl. + ./Configure -de \ -Dprefix=/usr \ -Dinstallprefix=/usr \ @@ -80,9 +86,9 @@ build() -Duseshrplib \ -Ubincompat5005 \ -Uversiononly \ + -Uusethreads \ -Duselargefiles \ -Dusemymalloc=n \ - -Dusethreads \ -Dldflags="$QILDFLAGS" \ -Doptimize="$QICFLAGS" \ -Dman1dir="${mandir}/man1" \ -- 2.11.4.GIT