|
|
@@ -42,8 +42,8 @@ Packager: The OpenPKG Project
|
|
|
Distribution: OpenPKG [BASE]
|
|
|
Group: Language
|
|
|
License: GPL/Artistic
|
|
|
-Version: 20030202
|
|
|
-Release: 20030202
|
|
|
+Version: 20030207
|
|
|
+Release: 20030207
|
|
|
|
|
|
# package options
|
|
|
%option with_dbd_mysql no
|
|
|
@@ -73,6 +73,10 @@ PreReq: MYSQL
|
|
|
BuildPreReq: postgresql
|
|
|
PreReq: postgresql
|
|
|
%endif
|
|
|
+%if "%{with_dbd_oracle}" == "yes"
|
|
|
+BuildPreReq: ORACLE
|
|
|
+PreReq: ORACLE
|
|
|
+%endif
|
|
|
AutoReq: no
|
|
|
AutoReqProv: no
|
|
|
|
|
|
@@ -134,7 +138,7 @@ AutoReqProv: no
|
|
|
%if "%{with_dbd_oracle}" == "yes"
|
|
|
# build DBD::oracle
|
|
|
( cd DBD-Oracle-%{V_dbd_oracle}
|
|
|
- ORACLE_HOME=${ORACLE_HOME-%{l_prefix}}
|
|
|
+ ORACLE_HOME="`%{l_prefix}/etc/rc --query oracle_home`"
|
|
|
export ORACLE_HOME
|
|
|
%{l_prefix}/bin/perl-openpkg install
|
|
|
)
|