aboutsummaryrefslogtreecommitdiffstats
path: root/lang
diff options
context:
space:
mode:
authormiwi <miwi@FreeBSD.org>2010-06-06 03:52:11 +0800
committermiwi <miwi@FreeBSD.org>2010-06-06 03:52:11 +0800
commitcf159f13c37e9c26850b7e585f9f11f3a01979e3 (patch)
tree86630b13beaf5d1c9b360d7399fe43c2ee20a832 /lang
parent98445dda6dc37da5108f16e2b222ed6213a07db7 (diff)
downloadfreebsd-ports-gnome-cf159f13c37e9c26850b7e585f9f11f3a01979e3.tar.gz
freebsd-ports-gnome-cf159f13c37e9c26850b7e585f9f11f3a01979e3.tar.zst
freebsd-ports-gnome-cf159f13c37e9c26850b7e585f9f11f3a01979e3.zip
- Disable ZTS for Apache MPM-ITK for Zend Optimizer
PR: 147075 Submitted by: Kuzma Bukin <kuzma.bukin@gmail.com> Approved by: maintainer
Diffstat (limited to 'lang')
-rw-r--r--lang/php52/Makefile2
-rw-r--r--lang/php52/files/patch-sapi-apache2handler_config.m415
2 files changed, 16 insertions, 1 deletions
diff --git a/lang/php52/Makefile b/lang/php52/Makefile
index 3139c3cc1137..1d5d249b157d 100644
--- a/lang/php52/Makefile
+++ b/lang/php52/Makefile
@@ -7,7 +7,7 @@
PORTNAME= php52
PORTVERSION= 5.2.13
-PORTREVISION= 1
+PORTREVISION= 2
CATEGORIES?= lang devel www
MASTER_SITES= ${MASTER_SITE_PHP}
MASTER_SITE_SUBDIR= distributions
diff --git a/lang/php52/files/patch-sapi-apache2handler_config.m4 b/lang/php52/files/patch-sapi-apache2handler_config.m4
new file mode 100644
index 000000000000..70d9c7b73149
--- /dev/null
+++ b/lang/php52/files/patch-sapi-apache2handler_config.m4
@@ -0,0 +1,15 @@
+
+--- sapi/apache2handler/config.m4.old 2010-03-18 14:52:27.000000000 +0000
++++ sapi/apache2handler/config.m4 2010-03-18 14:52:56.000000000 +0000
+@@ -117,7 +117,7 @@
+ ;;
+ esac
+
+- if test "$APXS_MPM" != "prefork"; then
++ if test "$APXS_MPM" != "itk" -a "$APXS_MPM" != "prefork"; then
+ PHP_BUILD_THREAD_SAFE
+ fi
+ AC_MSG_RESULT(yes)
+~
+
+