SPECS: php.spec - remove sapi/cgi objects _before_ building

glen glen at pld-linux.org
Wed Oct 31 14:36:26 CET 2007


Author: glen                         Date: Wed Oct 31 13:36:26 2007 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- remove sapi/cgi objects _before_ building

---- Files affected:
SPECS:
   php.spec (1.690 -> 1.691) 

---- Diffs:

================================================================
Index: SPECS/php.spec
diff -u SPECS/php.spec:1.690 SPECS/php.spec:1.691
--- SPECS/php.spec:1.690	Wed Oct 31 14:27:20 2007
+++ SPECS/php.spec	Wed Oct 31 14:36:21 2007
@@ -13,7 +13,6 @@
 # - make additional headers and checking added by mail patch configurable
 # - apply -hardened patch by default ?
 # - modularize session, standard (output from pure php -m)?
-# - XXX php-fcgi thinks it is cgi api!!!!! XXXX
 #
 # Conditional build:
 %bcond_with	fdf		# with FDF (PDF forms) module		(BR: proprietary lib)
@@ -1819,13 +1818,14 @@
 # FCGI
 %if %{with fcgi}
 cp -af php_config.h.fcgi main/php_config.h
+rm -rf sapi/cgi/.libs sapi/cgi/*.lo
 %{__make} sapi/cgi/php-cgi -f Makefile.fcgi
 cp -r sapi/cgi sapi/fcgi
-rm -rf sapi/cgi/.libs sapi/cgi/*.lo
 %endif
 
 # CGI
 cp -af php_config.h.cgi main/php_config.h
+rm -rf sapi/cgi/.libs sapi/cgi/*.lo
 %{__make} sapi/cgi/php-cgi -f Makefile.cgi
 
 # CLI
@@ -2735,6 +2735,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.691  2007/10/31 13:36:21  glen
+- remove sapi/cgi objects _before_ building
+
 Revision 1.690  2007/10/31 13:27:20  glen
 - pthread hack not needed
 - catch errors from subshell
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SPECS/php.spec?r1=1.690&r2=1.691&f=u



More information about the pld-cvs-commit mailing list