commit e2bde909e6b59c66f3cd26572d73b390c47d5343
Author: Jakub Bogusz <[email protected]>
Date:   Sun Oct 26 21:17:34 2014 +0100

    - added systemtap/dtrace support (on bcond)

 php.spec | 3 +++
 1 file changed, 3 insertions(+)
---
diff --git a/php.spec b/php.spec
index 001880f..265a009 100644
--- a/php.spec
+++ b/php.spec
@@ -47,6 +47,7 @@
 %bcond_with    system_gd       # with system gd (imageantialias function is 
missing then)
 %bcond_with    system_libzip   # with system libzip (reported broken currently)
 %bcond_with    default_php     # use this PHP as default PHP in distro
+%bcond_with    systemtap       # systemtap/DTrace support
 %bcond_without curl            # without CURL extension module
 %bcond_without enchant         # without Enchant extension module
 %bcond_without filter          # without filter extension module
@@ -277,6 +278,7 @@ BuildRequires:      readline-devel
 BuildRequires: rpm >= 4.4.9-56
 BuildRequires: rpm-build >= 4.4.0
 BuildRequires: rpmbuild(macros) >= 1.566
+%{?with_systemtap:BuildRequires:       systemtap-sdt-devel}
 BuildRequires: tar >= 1:1.22
 BuildRequires: xz
 %if %{with sqlite3} || %{with pdo_sqlite}
@@ -2324,6 +2326,7 @@ for sapi in $sapis; do
        --enable-ctype=shared \
        --enable-dba=shared \
        --enable-dom=shared \
+       %{?with_systemtap:--enable-dtrace} \
        --enable-exif=shared \
        --enable-fileinfo=shared \
        --enable-ftp=shared \
================================================================

---- gitweb:

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

_______________________________________________
pld-cvs-commit mailing list
[email protected]
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit

Reply via email to