diff options
author | maya <maya@pkgsrc.org> | 2017-01-22 11:42:22 +0000 |
---|---|---|
committer | maya <maya@pkgsrc.org> | 2017-01-22 11:42:22 +0000 |
commit | 2c5adce17f162340c7b2de21409830b749394275 (patch) | |
tree | d8b4fa4e797d59c6793a3798376c25875fbcfdac /lang | |
parent | 2d3d5576092305cf51b3ad54599896decac8ab2d (diff) | |
download | pkgsrc-2c5adce17f162340c7b2de21409830b749394275.tar.gz |
php71: add workaround requested in PR pkg/51787, pcre-jit segfaults on
non-amd64 (i386, SPARC - at least). disable it until PHP, add note that
it's mostly relevant for PCRE1 8.38, so if PHP updates to PCRE2 as they
plan, it will be irrelevant.
From Joern Clausen / cmb@php
Diffstat (limited to 'lang')
-rw-r--r-- | lang/php71/Makefile | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/lang/php71/Makefile b/lang/php71/Makefile index 45db3c7a2fe..f70dcf57f21 100644 --- a/lang/php71/Makefile +++ b/lang/php71/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.5 2016/12/10 07:10:53 taca Exp $ +# $NetBSD: Makefile,v 1.6 2017/01/22 11:42:22 maya Exp $ # # We can't omit PKGNAME here to handle PKG_OPTIONS. @@ -41,6 +41,13 @@ SUBST_SED.path+= -e 's,@PREFIX@,${PREFIX},g' INSTALLATION_DIRS+= ${CGIDIR} ${PHP_EXTENSION_DIR} ${EGDIR} share/php +# segfault generating phar.phar for i386 & SPARC +# revisit this if builtin PCRE is updated beyond PCRE1 8.38 +# https://bugs.php.net/bug.php?id=73880 +#.if ${MACHINE_ARCH} != "x86_64" +CONFIGURE_ARGS+= --without-pcre-jit +#.endif + # Make sure modules can link correctly .if ${OPSYS} == "Darwin" INSTALL_UNSTRIPPED= yes |