[packages/php/PHP_5_6] - added systemtap/dtrace support (on bcond)

qboosh qboosh at pld-linux.org
Sun Oct 26 21:17:42 CET 2014


commit e2bde909e6b59c66f3cd26572d73b390c47d5343
Author: Jakub Bogusz <qboosh at pld-linux.org>
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



More information about the pld-cvs-commit mailing list