pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: pkgsrc/lang/php71



Module Name:    pkgsrc
Committed By:   maya
Date:           Sun Jan 22 11:42:22 UTC 2017

Modified Files:
        pkgsrc/lang/php71: Makefile

Log Message:
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


To generate a diff of this commit:
cvs rdiff -u -r1.5 -r1.6 pkgsrc/lang/php71/Makefile

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/lang/php71/Makefile
diff -u pkgsrc/lang/php71/Makefile:1.5 pkgsrc/lang/php71/Makefile:1.6
--- pkgsrc/lang/php71/Makefile:1.5      Sat Dec 10 07:10:53 2016
+++ pkgsrc/lang/php71/Makefile  Sun Jan 22 11:42:22 2017
@@ -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
 
 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