SPECS: php4.spec - CFLAGS mungling unneccessary, all goes via apxs

glen glen at pld-linux.org
Wed Apr 5 11:05:35 CEST 2006


Author: glen                         Date: Wed Apr  5 09:05:35 2006 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- CFLAGS mungling unneccessary, all goes via apxs

---- Files affected:
SPECS:
   php4.spec (1.534 -> 1.535) 

---- Diffs:

================================================================
Index: SPECS/php4.spec
diff -u SPECS/php4.spec:1.534 SPECS/php4.spec:1.535
--- SPECS/php4.spec:1.534	Wed Apr  5 11:03:00 2006
+++ SPECS/php4.spec	Wed Apr  5 11:05:30 2006
@@ -1703,12 +1703,6 @@
 	exit 1
 fi
 
-CFLAGS="%{rpmcflags} -DEAPI=1 -I/usr/X11R6/include"
-%if %{with apache2}
-# Apache2 CFLAGS. harmless for other SAPIs.
-CFLAGS="$CFLAGS $(%{_bindir}/apr-1-config --cppflags --includes) $(%{_bindir}/apu-1-config --includes)"
-%endif
-
 EXTENSION_DIR="%{extensionsdir}"; export EXTENSION_DIR
 if [ ! -f _built-conf ]; then # configure once (for faster debugging purposes)
 	./buildconf --force
@@ -3226,6 +3220,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.535  2006/04/05 09:05:30  glen
+- CFLAGS mungling unneccessary, all goes via apxs
+
 Revision 1.534  2006/04/05 09:03:00  glen
 - renumber sources
 
================================================================

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



More information about the pld-cvs-commit mailing list