pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/lang/php71 php71: add workaround requested in PR pkg/5...
details: https://anonhg.NetBSD.org/pkgsrc/rev/cdf0fb78bb17
branches: trunk
changeset: 357518:cdf0fb78bb17
user: maya <maya%pkgsrc.org@localhost>
date: Sun Jan 22 11:42:22 2017 +0000
description:
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:
lang/php71/Makefile | 9 ++++++++-
1 files changed, 8 insertions(+), 1 deletions(-)
diffs (23 lines):
diff -r cb665841ef1d -r cdf0fb78bb17 lang/php71/Makefile
--- a/lang/php71/Makefile Sun Jan 22 11:37:29 2017 +0000
+++ b/lang/php71/Makefile Sun Jan 22 11:42:22 2017 +0000
@@ -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 @@
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
Home |
Main Index |
Thread Index |
Old Index