SPECS: php.spec - preserve ORACLE_HOME env var if oci8 bcond is on

baggins baggins at pld-linux.org
Thu Feb 12 19:35:59 CET 2009


Author: baggins                      Date: Thu Feb 12 18:35:59 2009 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- preserve ORACLE_HOME env var if oci8 bcond is on

---- Files affected:
SPECS:
   php.spec (1.774 -> 1.775) 

---- Diffs:

================================================================
Index: SPECS/php.spec
diff -u SPECS/php.spec:1.774 SPECS/php.spec:1.775
--- SPECS/php.spec:1.774	Thu Feb 12 16:14:58 2009
+++ SPECS/php.spec	Thu Feb 12 19:35:54 2009
@@ -258,6 +258,11 @@
 %define		zend_zts			%{!?with_zts:0}%{?with_zts:1}
 %define		php_debug			%{!?debug:0}%{?debug:1}
 
+%if %{with oci8}
+# ORACLE_HOME is required for oci8 ext to build
+%{expand:%%define _preserve_env %_preserve_env ORACLE_HOME}
+%endif
+
 %description
 PHP is an HTML-embedded scripting language. PHP attempts to make it
 easy for developers to write dynamically generated web pages. PHP also
@@ -2888,6 +2893,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.775  2009/02/12 18:35:54  baggins
+- preserve ORACLE_HOME env var if oci8 bcond is on
+
 Revision 1.774  2009/02/12 15:14:58  hawk
 - fix for bug #46889, memory leak in strtotime(), from PHP CVS,
   thx to Dariusz Parciak
================================================================

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



More information about the pld-cvs-commit mailing list