Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 3440

Summary: add USE switch for ORACLE support
Product: Gentoo Linux Reporter: Roman Majer <roman.majer>
Component: [OLD] UnspecifiedAssignee: Ryan Phillips (RETIRED) <rphillips>
Status: RESOLVED FIXED    
Severity: normal    
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: my idea for new ebuild
sorry, this is that,,,

Description Roman Majer 2002-06-06 02:14:19 UTC
Hallo,

We are using the oracle 8.1.7 on our server (now on gentoo).

We are using apache+php combination.
It would be nice to have USE option, for example Oci8, so
the php ebuild will know, that on the system is oracle installed.

The ebuild can do after some logic:

if USE = oci8 and env. variable ORACLE_HOME exists, so add
--with-oci8 flag to ./configure

This time I must patch ebuild of php for every upgrade...

This switch can be also used in other packages like
tomcat -> for adding the oracle JDBC driver
jboss
and so on...
Comment 1 Seemant Kulleen (RETIRED) gentoo-dev 2002-06-06 02:24:49 UTC
Ryan, what's the effect of just putting that configure flag in by default?
Comment 2 Ryan Phillips (RETIRED) gentoo-dev 2002-06-06 02:35:44 UTC
can do...  Roman, can you submit a patch?
Comment 3 Roman Majer 2002-06-06 02:42:45 UTC
I will try, but it will be my first patch in my live, so
be prepared for "not nice"...
Comment 4 Roman Majer 2002-06-06 03:21:49 UTC
Created attachment 1362 [details]
my idea for new ebuild
Comment 5 Roman Majer 2002-06-06 03:36:59 UTC
Created attachment 1363 [details]
sorry, this is that,,,
Comment 6 Ryan Phillips (RETIRED) gentoo-dev 2002-06-14 15:44:00 UTC
Roman:  What are the patches compressed as?
Comment 7 Roman Majer 2002-06-17 02:21:22 UTC
gzip
Comment 8 Ryan Phillips (RETIRED) gentoo-dev 2002-06-17 03:01:30 UTC
committed