From 6c9b10d0c38976d7a79c2d11f630da2d9c7dd5cf Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= Date: Fri, 19 Jan 2018 09:39:31 +0100 Subject: [PATCH] pcre: fix mips* builds With --disable-stack-for-recursion the mips* builds fail with some `branch out of range' generated assembler code. --- srcpkgs/pcre/template | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/srcpkgs/pcre/template b/srcpkgs/pcre/template index 7de26b68e0f..b80d1daff56 100644 --- a/srcpkgs/pcre/template +++ b/srcpkgs/pcre/template @@ -5,7 +5,7 @@ revision=2 build_style=gnu-configure configure_args="--enable-utf8 --enable-unicode-properties --with-pic --enable-pcregrep-libz --enable-pcregrep-libbz2 --enable-newline-is-anycrlf ---enable-pcretest-libedit --enable-jit --enable-static --disable-stack-for-recursion" +--enable-pcretest-libedit --enable-jit --enable-static" makedepends="zlib-devel bzip2-devel libedit-devel" short_desc="Perl Compatible Regular Expressions" maintainer="Juan RP " @@ -15,6 +15,10 @@ license="BSD" distfiles="ftp://ftp.csx.cam.ac.uk/pub/software/programming/pcre/pcre-${version}.tar.bz2" checksum=e62c7eac5ae7c0e7286db61ff82912e1c0b7a0c13706616e94a7dd729321b530 +case "$XBPS_TARGET_MACHINE" in + mips*) ;; # Without stack for recursion the mips builds fail + *) configure_args+=" --disable-stack-for-recursion" ;; +esac post_install() { vlicense LICENCE