summaryrefslogtreecommitdiff
path: root/lang
diff options
context:
space:
mode:
authortaca <taca>2016-04-02 13:02:36 +0000
committertaca <taca>2016-04-02 13:02:36 +0000
commit6bcc031f5ea58bb062ff004bbab6705a901a7dc0 (patch)
tree879c00add949a10c679521424c34a2d1b82f9eba /lang
parent794588963ea33410f35548795ac34e7c349e7713 (diff)
downloadpkgsrc-6bcc031f5ea58bb062ff004bbab6705a901a7dc0.tar.gz
Fix build problem of php-opcache with php70, avoid using "==" with test(1).
Diffstat (limited to 'lang')
-rw-r--r--lang/php70/distinfo3
-rw-r--r--lang/php70/patches/patch-ext_opcache_config.m415
2 files changed, 17 insertions, 1 deletions
diff --git a/lang/php70/distinfo b/lang/php70/distinfo
index 027e22b0710..05426f070ca 100644
--- a/lang/php70/distinfo
+++ b/lang/php70/distinfo
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.7 2016/04/02 09:02:11 taca Exp $
+$NetBSD: distinfo,v 1.8 2016/04/02 13:02:36 taca Exp $
SHA1 (php-7.0.5.tar.bz2) = e447f1a58b848bdbce7edad9b1607bf2e24edbe8
RMD160 (php-7.0.5.tar.bz2) = e36195d03b142a8b23a121842f456f4fd21279e7
@@ -8,6 +8,7 @@ SHA1 (patch-acinclude.m4) = b682280fd89950c082c2226bdb7364b0dc475bad
SHA1 (patch-configure) = 9097646e71cbfa21322ca2f01c8c256822b056ea
SHA1 (patch-ext_gd_config.m4) = a7ec1bd0d876657d4b5e597b9aa1e97c2d2801e3
SHA1 (patch-ext_imap_config.m4) = f4e10ab81697b72019313f63bc630627a08efd92
+SHA1 (patch-ext_opcache_config.m4) = 48e67c8b98be787c00b7ce20ee8dc231dffb36e1
SHA1 (patch-ext_pcre_pcrelib_config.h) = 0cb05c3b3bfafd8119cf43162c0f4db7f5b37ba8
SHA1 (patch-ext_pdo__mysql_config.m4) = b1ef91be5a729040197e9af50da0f5fd1f6c90a8
SHA1 (patch-ext_pdo_config.m4) = 522281775cc0e70a135b1f813158988ef1f3e244
diff --git a/lang/php70/patches/patch-ext_opcache_config.m4 b/lang/php70/patches/patch-ext_opcache_config.m4
new file mode 100644
index 00000000000..8e4f9463aff
--- /dev/null
+++ b/lang/php70/patches/patch-ext_opcache_config.m4
@@ -0,0 +1,15 @@
+$NetBSD: patch-ext_opcache_config.m4,v 1.3 2016/04/02 13:02:36 taca Exp $
+
+* Fix using of "==" for test(1).
+
+--- ext/opcache/config.m4.orig 2016-03-29 14:44:24.000000000 +0000
++++ ext/opcache/config.m4
+@@ -376,7 +376,7 @@ AC_TRY_RUN([
+ AC_MSG_RESULT("yes")
+ ], AC_MSG_RESULT("no") )
+
+-if test "$flock_type" == "unknown"; then
++if test "$flock_type" = "unknown"; then
+ AC_MSG_ERROR([Don't know how to define struct flock on this system[,] set --enable-opcache=no])
+ fi
+