[packages/php] allow disabling opcache ext

glen glen at pld-linux.org
Sun May 24 20:51:29 CEST 2015


commit c4e1de8ba41d00082df1600ab49fc3c65bb06fae
Author: Elan Ruusamäe <glen at delfi.ee>
Date:   Sun May 24 21:41:19 2015 +0300

    allow disabling opcache ext

 php.spec | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/php.spec b/php.spec
index 13ab3df..30b925c 100644
--- a/php.spec
+++ b/php.spec
@@ -2399,7 +2399,7 @@ for sapi in $sapis; do
 	%{__with_without mysql mysql shared,%{!?with_mysqlnd:/usr}%{?with_mysqlnd:mysqlnd}} \
 	%{?with_mysqli:--with-mysqli=shared,%{!?with_mysqlnd:/usr/bin/mysql_config}%{?with_mysqlnd:mysqlnd}} \
 	%{?with_oci:--with-oci8=shared%{?with_instantclient:,instantclient,%{_libdir}}} \
-	%{?with_opcache:--enable-opcache=shared} \
+	%{__enable_disable opcache opcache shared} \
 	%{?with_openssl:--with-openssl=shared} \
 	%{?with_kerberos5:--with-kerberos} \
 	--with-tcadb=/usr \
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/php.git/commitdiff/c4e1de8ba41d00082df1600ab49fc3c65bb06fae



More information about the pld-cvs-commit mailing list