commit def35a475a901a9cbfba8feb75a8308af105f912
Author: Elan Ruusamäe <[email protected]>
Date:   Fri May 2 17:27:08 2014 +0300

    fix with phpdbg build

 php.spec | 17 ++++++++++++++++-
 1 file changed, 16 insertions(+), 1 deletion(-)
---
diff --git a/php.spec b/php.spec
index b4616a9..12e18bb 100644
--- a/php.spec
+++ b/php.spec
@@ -2175,6 +2175,9 @@ embed
 %if %{with apache1}
 apxs1
 %endif
+%if %{with phpdbg}
+phpdbg
+%endif
 %if %{with apache2}
 apxs2
 %endif
@@ -2207,7 +2210,10 @@ for sapi in $sapis; do
                sapi_args="--disable-cli --disable-cgi --with-apxs2=%{apxs2} 
--with-apache-version=$ver"
        ;;
        litespeed)
-               sapi_args='--disable-cli --disable-cgi --with-litespeed '
+               sapi_args='--disable-cli --disable-cgi --with-litespeed'
+       ;;
+       phpdbg)
+               sapi_args='--disable-cli --disable-cgi --enable-phpdbg 
%{?debug:--enable-phpdbg-debug}'
        ;;
        esac
 
@@ -2355,6 +2361,10 @@ cp -af Makefile.cli Makefile
 %{__make} -f Makefile.embed libphp5.la
 %endif
 
+%if %{with phpdbg}
+%{__make} -f Makefile.phpdbg phpdbg
+%endif
+
 # CGI/FCGI
 %if %{with cgi}
 cp -pf php_config.h.cgi-fcgi main/php_config.h
@@ -2492,6 +2502,11 @@ ln -s libphp5-$v.so 
$RPM_BUILD_ROOT%{_libdir}/apache/libphp5.so
 libtool --mode=install install -p sapi/litespeed/php 
$RPM_BUILD_ROOT%{_sbindir}/%{name}.litespeed
 %endif
 
+%if %{with phpdbg}
+%{__make} -f Makefile.phpdbg install-phpdbg \
+       INSTALL_ROOT=$RPM_BUILD_ROOT
+%endif
+
 libtool --mode=install install -p libphp_common.la $RPM_BUILD_ROOT%{_libdir}
 
 # install CGI/FCGI
================================================================

---- gitweb:

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

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

Reply via email to