]> git.pld-linux.org Git - packages/php.git/commitdiff
- preserve ORACLE_HOME env var if oci8 bcond is on
authorJan Rękorajski <baggins@pld-linux.org>
Thu, 12 Feb 2009 18:35:54 +0000 (18:35 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    php.spec -> 1.775

php.spec

index d637fa7e6a885774ef6d6697ea72f527e8154d33..bf8c27079871a0b9a5eb285def494b71dea53291 100644 (file)
--- a/php.spec
+++ b/php.spec
@@ -257,6 +257,11 @@ BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 %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
This page took 0.080607 seconds and 4 git commands to generate.