SPECS (DEVEL): php4.spec - apxs2 CFLAGS copied only with apache2 b...

glen glen at pld-linux.org
Sat Jul 9 21:28:12 CEST 2005


Author: glen                         Date: Sat Jul  9 19:28:12 2005 GMT
Module: SPECS                         Tag: DEVEL
---- Log message:
- apxs2 CFLAGS copied only with apache2 bcond on

---- Files affected:
SPECS:
   php4.spec (1.421.2.3.2.32 -> 1.421.2.3.2.33) 

---- Diffs:

================================================================
Index: SPECS/php4.spec
diff -u SPECS/php4.spec:1.421.2.3.2.32 SPECS/php4.spec:1.421.2.3.2.33
--- SPECS/php4.spec:1.421.2.3.2.32	Sat Jul  9 21:25:30 2005
+++ SPECS/php4.spec	Sat Jul  9 21:28:07 2005
@@ -1661,8 +1661,10 @@
 apxs2
 %endif
 "
-# Apache2 CFLAGS. should be harmless for other SAPIs.
+%if %{with apache2}
+# Apache2 CFLAGS. harmless for other SAPIs.
 CFLAGS="$CFLAGS $(%{_bindir}/apr-1-config --cppflags --includes) $(%{_bindir}/apu-1-config --includes)"
+%endif
 
 for sapi in $sapis; do
 	[ -f Makefile.$sapi ] && continue
@@ -2916,6 +2918,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.421.2.3.2.33  2005/07/09 19:28:07  glen
+- apxs2 CFLAGS copied only with apache2 bcond on
+
 Revision 1.421.2.3.2.32  2005/07/09 19:25:30  glen
 - cleanup
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SPECS/php4.spec?r1=1.421.2.3.2.32&r2=1.421.2.3.2.33&f=u




More information about the pld-cvs-commit mailing list